Linker Error: Undefined Reference to Boost Program Options

Issue #141 new
Laura Wendlandt
created an issue

I am attempting to compile the objects_detection code, and I am running into the following linker error when I run 'make -j2':

libcpp_stuff_library.a(ObjectsDetectionApplication.cpp.o): In function `doppia::ObjectsDetectionApplication::get_options_description()':
/home/wenlaura/software/doppia/src/applications/objects_detection/ObjectsDetectionApplication.cpp:116: undefined reference to `boost::program_options::options_description::options_description(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int)'

I have attached the full compilation output (errors.txt).

I am using a locally installed version of Boost 1.54.0 on Ubuntu 16.04.3. Do you have any suggestions about what might be causing this error? Thank you.

Comments (2)

  1. Log in to comment