Code Monkey home page Code Monkey logo

Comments (6)

gstonge avatar gstonge commented on June 16, 2024

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.

benmaier avatar benmaier commented on June 16, 2024

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.

benmaier avatar benmaier commented on June 16, 2024

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.

gstonge avatar gstonge commented on June 16, 2024

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.

gstonge avatar gstonge commented on June 16, 2024

Alright, this should work now with #18. Thanks for raising the issue!

from samplableset.

benmaier avatar benmaier commented on June 16, 2024

awesome! thanks for the quick replies :)

from samplableset.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.