Hi, I'm quite a newbie, and trying to install a program called mgiza. It compiles with CMake and requires some boost libraries. I used the commands
cmake . make make install
When I run 'make' I get the following errors:
d4norm.cxx:(.text+0x95b): undefined reference to `boost::system::generic_category()'
and the likes. I inserted the following line in cmakelists.txt:
FIND_PACKAGE( Boost 1.41 COMPONENTS system)
it worked because more files could be compiled and the warning above disappeared, but I got another error:
main.cpp:(.text+0x7174): undefined reference to `boost::thread::hardware_concurrency()'
, although I already have the FIND_PACKAGE( Boost 1.41 COMPONENTS thread) in the cmakelists.
Any help would be appreciated.
Log in to post a comment.
Hi, I'm quite a newbie, and trying to install a program called mgiza. It compiles with CMake and requires some boost libraries.
I used the commands
When I run 'make' I get the following errors:
and the likes. I inserted the following line in cmakelists.txt:
it worked because more files could be compiled and the warning above disappeared, but I got another error:
, although I already have the FIND_PACKAGE( Boost 1.41 COMPONENTS thread) in the cmakelists.
Any help would be appreciated.