Comments (6)
Hey Ben, no problem, I am happy to see this package can be useful to others!
This thread made me think it could be an issue with clang and c++17 features, however I just tested it with clang++ 10.0.0 and everything was fine. What version are you using? Have you been able to use c++17 features before?
from samplableset.
hmm, no, not that I know of. As of your setup script, clang++ is tested for its c++17 features and doesn't raise an error. I'm using clang++ v10.0.1. I've just had my student try to install it on her machine and she got the same errors (with clang++ v11.0.0 on macOS 10.15.1). All of the errors above hint at constructors being private, maybe that's a new feature of the Apple compiler?
from samplableset.
ok, so I got it to compile by replacing every instance of iterator_(NULL)
with iterator_()
. These are all occurrences:
./SamplableSetCR.hpp:119: iterator_(NULL),
./SamplableSetCR.hpp:144: iterator_(NULL),
./SamplableSetCR.hpp:161: iterator_(NULL),
I have no idea what I did there and whether it was dangerous or correct to do so, though, haha.
I've followed this thread, basically: personalrobotics/appl#1 (cites this: personalrobotics/appl@e433ee6)
from samplableset.
Excellent! No I don't think this should be a problem. I'll run some test just to be sure, then push a an update.
from samplableset.
Alright, this should work now with #18. Thanks for raising the issue!
from samplableset.
awesome! thanks for the quick replies :)
from samplableset.
Related Issues (12)
- C++11 compatibility HOT 8
- Warnings when compiling HOT 1
- Rounding errors when sampling at multiple scales
- v2.0: error: 'seed' is a protected member of 'sset::BaseSamplableSet'
- No exception for weight out of bounds in c++ HOT 1
- Methods to set new values for minimal and maximal weights
- No empty() method HOT 1
- IndexError: vector HOT 5
- empty set raises problems HOT 2
- 'Cannot infer the type from the element' on integer element HOT 2
- Possible to fail less harshly? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from samplableset.