ethz-asl/aslam_optimizer

Compiler error (boost)

Closed this issue · 1 comments

I get some errors when trying to build aslam_optimizer using "catkin_make". Any ideas? See output below...
I'm using Ubuntu 13.04 on which boost 1.49.0.1 is installed by apt and boost 1.57.0 is installed to /usr/local/ from source, which is the one that catkin_make choses as far as I belive...? Packages like "Schweizer-Messer" compile without problems...

[ 43%] Built target sm_kinematics
[ 45%] Built target sm_python
[ 48%] Built target aslam_backend
[ 48%] Built target aslam_backend_tutorial
[ 48%] Linking CXX executable /home/g4lp/catkin_ws/devel/lib/aslam_backend_tutorial/example
Built target aslam_backend_tutorial_python
[ 50%] Built target aslam_backend_expressions
[ 52%] Built target aslam_backend_python
[ 76%] Built target numpy_eigen_test
/home/g4lp/catkin_ws/devel/lib/libaslam_backend.so: undefined reference to boost::thread::start_thread_noexcept()' /home/g4lp/catkin_ws/devel/lib/libsm_property_tree.so: undefined reference toboost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code_)'
/home/g4lp/catkin_ws/devel/lib/libaslam_backend.so: undefined reference to `boost::thread::join_noexcept()'
collect2: error: ld returned 1 exit status
make[2]: *_* [/home/g4lp/catkin_ws/devel/lib/aslam_backend_tutorial/example] Error 1
make[1]: *** [aslam_optimizer/aslam_backend_tutorial/CMakeFiles/example.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[100%] Built target numpy_eigen
[100%] Built target doc
make: *** [all] Error 2
Invoking "make" failed

Probably outdated. Please reopen if not.