Hi everyone,
I was tried to install the superquadric model using the "make serial" command. The makefile has been modified to add the superquadric model. However, when compiling the executable file, it appeared the following error:
g++ -O2 -fPIC -DSUPERQUARDRIC_ACTIVE_FLAG -DNONSPHERICAL_ACTIVE_FLAG
-I../STUBS -IPath/to/your/Boost/include -c ../math_extra_liggghts_superquadric.cpp
../math_extra_liggghts_superquadric.cpp:58:53: fatal error: boost/math/special_functions/beta.hpp: No such file or directory
compilation terminated.
Makefile:113: recipe for target 'math_extra_liggghts_superquadric.o' failed
make[1]: *** [math_extra_liggghtst_superquadric.o] Error 1
Does anyone know how to solve this?
Thanks.
Shou
aaigner | Tue, 05/08/2018 - 09:37
Boost path?
Hi Shou,
if this is really the output of the make command -IPath/to/your/Boost/include, I assume you forgot to set the path to your boost include directory.
For instance, if I run
locate beta.hpp
on my Ubuntu system (with installed boost), I get following output/usr/include/boost/math/special_functions/beta.hpp
Search in your Makefile for the Path/to/your/Boost/include and replace it with the correct path.
Best wishes
Andreas
shou | Tue, 05/08/2018 - 10:47
Hi Andreas,
Hi Andreas,
Thanks for that. After changing the boost path, the software could be compiled now.
Shou