cofirank
cofirank copied to clipboard
'ext/numeric' file not found on MacOS
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.
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!!