Trying to compile various version >= 3.1.8 on ubuntu, I keep hitting:
matiu@mycomputer:~/projects/witty/winst/wt-build$ make
[ 70%] Built target wt
[ 76%] Built target wtdbo
[ 76%] Built target wtdbosqlite3
Linking CXX executable test
../src/libwt.so.3.1.8: undefined reference to
`boost::system::system_category()'
../src/libwt.so.3.1.8: undefined reference to
`boost::filesystem2::detail::not_found_error()'
../src/libwt.so.3.1.8: undefined reference to
`boost::filesystem2::detail::dir_itr_increment(void*&, void*&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >&,
boost::filesystem2::file_status&, boost::filesystem2::file_status&)'
../src/libwt.so.3.1.8: undefined reference to
`boost::filesystem2::detail::status_api(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
boost::system::error_code&)'
../src/libwt.so.3.1.8: undefined reference to
`boost::filesystem2::detail::dir_itr_first(void*&, void*&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&, std::basic_string<char, std::char_traits<char>, std::allocator<char>
>&, boost::filesystem2::file_status&, boost::filesystem2::file_status&)'
../src/libwt.so.3.1.8: undefined reference to
`boost::filesystem2::detail::dir_itr_close(void*&, void*&)'
../src/libwt.so.3.1.8: undefined reference to
`boost::system::generic_category()'
collect2: ld returned 1 exit status
make[2]: *** [test/test] Error 1
make[1]: *** [test/CMakeFiles/test.dir/all] Error 2
make: *** [all] Error 2
I think it needs a -l boost_filesystem -l boost_system
on the end of the last link bit, but I don't know cmake and I can't figure
out the Makefiles it makes :(
Patches appreciated :)
Kind Regards,
Matthew Sherborne
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest