"#include <custom/ccdcustom/vec3.h>" instead of "#include <ccdcustom/vec3.h>"
Hello! I have been trying to compile ode 0.15.2.tar.gz and I got the following errors:
../../../libccd/src/ccd.c:21:10: fatal error: 'ccdcustom/vec3.h' file not found #include <ccdcustom/vec3.h>
../../../libccd/src/mpr.c:20:10: fatal error: 'ccdcustom/vec3.h' file not found #include <ccdcustom/vec3.h>
-
when I change "#include <ccdcustom/vec3.h>" to "#include <ccd/vec3.h>" It passes these places but at the end I still got linker errors.
-
when I change "#include <ccdcustom/vec3.h>" to "#include custom/ccdcustom/vec3.h" It compiles succefully
Here is my configure options --with-drawstuff=OSX --enable-libccd --enable-double-precision --enable-ou --enable-builtin-threading-imp
Do we need to change it dev branch also?
Comments (5)
-
Account Deactivated -
Account Deactivated The file path with three levels up ("../../../") at begin does not seem to originate from ODE directory structure. Are you using your custom makefile/project?
-
yes, that is right. I did mkdir blabla in ode dir then cd blabla and ../configure ...
In 0.13v that trick worked for me.
now, if I do ./configure in ode dir it works
-
Account Deactivated Allright. That seems to be a limitation of the relative include path in the makefiles. I'll have a look how to make it more universal. Thank you for letting know.
-
Account Deactivated - changed status to resolved
Fixed it
- Log in to comment
No. We need to set include search paths correctly.