Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'ext/numeric' file not found on MacOS #2

Open
shuosong opened this issue Nov 19, 2016 · 1 comment
Open

'ext/numeric' file not found on MacOS #2

shuosong opened this issue Nov 19, 2016 · 1 comment

Comments

@shuosong
Copy link

I got the 'ext/numeric' file not found error when building on my Mac.
After adding '-stdlib=libstdc++' to the CCFLAGS, the problem solves. However, I'm not sure if this is the correct fix.

@LishengSun
Copy link

Hello,

I am trying out the package, after adding CXXFLAGS=-stdlib=libstdc++, however I got another error:

src/cofi/problem.cpp:73:25: error: ordered comparison between pointer and zero ('cofi::Problem *' and 'int') assert(this-nMovies > 0); ~~~~~~~~~~~~ ^ ~ /usr/include/assert.h:93:25: note: expanded from macro 'assert' (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE... ^ 1 error generated. make[2]: *** [build/Deploy/GNU-MacOSX/src/cofi/problem.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [.build-conf] Error 2 make: *** [.build-impl] Error 2

I would like to know if you have got the same problem, and if you can get me some hint to fix it?

Thank you very much!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants