Hi,
I'm getting an error when cross compiling DUNE for BeagleBone Black. The error arises when i include "boost/numeric/odeint.hpp". On the contrary, I may include "boost/bind.hpp" and it will still cross compile. I have not tried cross compiling with other parts of boost. DUNE with boost can compile on local machine (not cross compiling).
This is the error report:
******************************************************************
In file included from /home/vegag/dune/glued/lctr-b2xx/toolchain/armv7-lsts-linux-gnueabi/sysroot/usr/include/boost/math/special_functions/gamma.hpp:32:0,
from /home/vegag/dune/glued/lctr-b2xx/toolchain/armv7-lsts-linux-gnueabi/sysroot/usr/include/boost/math/special_functions/factorials.hpp:13,
from /home/vegag/dune/glued/lctr-b2xx/toolchain/armv7-lsts-linux-gnueabi/sysroot/usr/include/boost/math/special_functions/binomial.hpp:13,
from /home/vegag/dune/glued/lctr-b2xx/toolchain/armv7-lsts-linux-gnueabi/sysroot/usr/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:30,
from /home/vegag/dune/glued/lctr-b2xx/toolchain/armv7-lsts-linux-gnueabi/sysroot/usr/include/boost/numeric/odeint.hpp:45,
from /home/vegag/dune/dune/user/src/PrecisionAirdrop/vegardTest/Task.cpp:31:
/home/vegag/dune/glued/lctr-b2xx/toolchain/armv7-lsts-linux-gnueabi/sysroot/usr/include/boost/math/policies/error_handling.hpp: In function 'void boost::math::policies::detail::raise_error(const char*, const char*)':
/home/vegag/dune/glued/lctr-b2xx/toolchain/armv7-lsts-linux-gnueabi/sysroot/usr/include/boost/math/policies/error_handling.hpp:90:45: error: cannot use typeid with -fno-rtti
msg += (boost::format(function) % typeid(T).name()).str();
^
/home/vegag/dune/glued/lctr-b2xx/toolchain/armv7-lsts-linux-gnueabi/sysroot/usr/include/boost/math/policies/error_handling.hpp: In function 'void boost::math::policies::detail::raise_error(const char*, const char*, const T&)':
/home/vegag/dune/glued/lctr-b2xx/toolchain/armv7-lsts-linux-gnueabi/sysroot/usr/include/boost/math/policies/error_handling.hpp:107:45: error: cannot use typeid with -fno-rtti
msg += (boost::format(function) % typeid(T).name()).str();
^
make[2]: *** [CMakeFiles/PrecisionAirdrop.vegardTest.dir/user/src/PrecisionAirdrop/vegardTest/Task.cpp.o] Error 1
make[1]: *** [CMakeFiles/PrecisionAirdrop.vegardTest.dir/all] Error 2
make: *** [all] Error 2
******************************************************************
Sincerely,
-Vegard Grindheim