Code: Select all
Linking CXX executable Xml2Volume
CMakeFiles/Xml2Volume.dir/source/ConverterVisitor.o: In function `ConverterVisitor::parseSubmeshOptions(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
ConverterVisitor.cpp:(.text+0x507): undefined reference to `boost::program_options::options_description::options_description(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)'
Code: Select all
collect2: ld returned 1 exit status
make[2]: *** [Xml2Volume/Xml2Volume] Error 1
make[1]: *** [Xml2Volume/CMakeFiles/Xml2Volume.dir/all] Error 2
make: *** [all] Error 2
The only reference I could find about this on the net was that the libraries have to be specified in the right order.
http://lists.boost.org/Archives/boost/2005/09/93492.php
http://cygwin.com/ml/cygwin/2005-11/msg00158.html
I don't know enough about cmake to figure out where this is specified, though.