make install error

Issue #325 closed
Xiaoyun Zhan created an issue

I follow the quickstart . I meet an error when I run

 make install
It shows:
[  1%] Built target CppUnitLite
[  7%] Built target wrap_lib
[  9%] Built target wrap
[ 30%] Built target metis
[ 73%] Built target gtsam
Linking CXX executable CameraResectioning
../gtsam/libgtsam.so.4.0.0: undefined reference to `boost::archive::text_oarchive_impl<boost::archive::text_oarchive>::save(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [examples/CameraResectioning] Error 1
make[1]: *** [examples/CMakeFiles/CameraResectioning.dir/all] Error 2
make: *** [all] Error 2

cmake version 2.8.12.2 ,Boost version: 1.54.0 ,gcc version 5.4.0 ,ubuntu 14.04 LTS. Any ideas for me? Thank you in advance.

Comments (4)

  1. Sasha Lambert

    This seems to be a linking error to boost. I would recommend ensuring your library paths are set correctly.

  2. Log in to comment