-
Notifications
You must be signed in to change notification settings - Fork 0
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
Build Error #1
Comments
Ok, so you're going to be my guinea pig on Windows to avoid a bunch of unnecessary commits to get it to compile. The error is because Boost is not in your path. Can you try putting this in CMakeLists.txt? Put it at line 63, just after the NOVA_SIMD stuff:
If that doesn't work, try this variation in the same place:
|
Thanks for this. I am using this now: set(Boost_USE_STATIC_LIBS OFF) if(Boost_FOUND)
I also tried to add the Boost path with this way:
But same response. |
You're on Windows, correct? Just confirming since you have "usr/local/" in your directory and there are forward slashes, both of which indicate Unix. In any case, try setting BOOST_ROOT and BOOST_LIBRARYDIR instead:
You can also try setting BOOST_ROOT and BOOST_LIBRARYDIR as Windows Environment Variables:
The good news is the newer and better version I'm working on probably won't require Boost. At least it's looking that way. |
I am afraid neither has made the trick yet. But maybe is preferable to wait for the new version. |
Are you on Windows or a Unix system? |
I am on MacOS, I thought this justified it on my initial post, thus I didn't mention it explicitly
|
Ok, sorry, got it. For some reason I incorrectly thought you were on Windows. Getting my wires from the SC forum crossed. But good news! Another user managed to compile for OSX by adding a variation of the lines we were using above to CMakeLists.txt:
I'll send you the binaries they made. |
Would it be possible to obtain those Mac (M-1?) binaries? Asking for a friend ;) |
Step
(base) ~/dbap/build/ [master] cmake --build . --config Release
response
[ 25%] Building CXX object CMakeFiles/DBAP_supernova.dir/plugins/DBAP/DBAP.cpp.o
In file included from /Users/konstantinos/dbap/plugins/DBAP/DBAP.cpp:5:
/Users/konstantinos/dbap/plugins/DBAP/DBAP.hpp:7:10: fatal error: 'boost/geometry.hpp' file not found
#include <boost/geometry.hpp>
^~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/DBAP_supernova.dir/plugins/DBAP/DBAP.cpp.o] Error 1
make[1]: *** [CMakeFiles/DBAP_supernova.dir/all] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: