-
Notifications
You must be signed in to change notification settings - Fork 46
Closed
Description
very likely I am doing something wrong in installing/linking the boost libraries. Is there a boost version that you recommend? I have installed Boost 1.65.0 and cmake from their git repo (which is compatible with Boost 1.65.0). I have also tried Boost 1.65.1 and 1.64.0. I am using the following command and am getting the following errors when I run make -j2
. I have LD_LIBRARY_PATH set to <PATH-TO-BOOST>/boost/lib
and path var includes the bin directories of the boost installation. What am I missing?
-DBOOST_INCLUDEDIR=<PATH-TO-BOOST>/boost/include \
-DBOOST_LIBRARYDIR=<PATH-TO-BOOST>/boost/lib \
-DBOOST_ROOT=<PATH-TO-BOOST>/boost \
-DEIGEN3_INCLUDE_DIR=<PATH-TO-EIGEN>/eigen-eigen-1f0f8337c029 -DBoost_NO_BOOST_CMAKE=True ..```
```[ 92%] Linking CXX executable nt-parser
CMakeFiles/nt-parser.dir/oracle.cc.o: In function `boost::iostreams::detail::bzip2_decompressor_impl<std::allocator<char> >::filter(char const*&, char const*, char*&, char*, bool)':
/home/sonalgupta/external/opt/boost/include/boost/iostreams/filter/bzip2.hpp:358: undefined reference to `boost::iostreams::detail::bzip2_base::before(char const*&, char const*, char*&, char*)'
CMakeFiles/nt-parser.dir/oracle.cc.o: In function `boost::iostreams::detail::bzip2_decompressor_impl<std::allocator<char> >::filter(char const*&, char const*, char*&, char*, bool) [clone .constprop.343]':
oracle.cc:(.text+0x567): undefined reference to `boost::iostreams::detail::bzip2_base::decompress()'
oracle.cc:(.text+0x56d): undefined reference to `boost::iostreams::bzip2::ok'
oracle.cc:(.text+0x57f): undefined reference to `boost::iostreams::detail::bzip2_base::after(char const*&, char*&)'
oracle.cc:(.text+0x586): undefined reference to `boost::iostreams::bzip2_error::check(int)'
oracle.cc:(.text+0x58c): undefined reference to `boost::iostreams::bzip2::stream_end'
oracle.cc:(.text+0x5b5): undefined reference to `boost::iostreams::detail::bzip2_base::do_init(bool, void* (*)(void*, int, int), void (*)(void*, void*), void*)'
oracle.cc:(.text+0x5cc): undefined reference to `boost::iostreams::detail::bzip2_base::check_end(char const*, char const*)'
CMakeFiles/nt-parser.dir/oracle.cc.o: In function `boost::detail::sp_counted_impl_p<boost::iostreams::symmetric_filter<boost::iostreams::detail::bzip2_decompressor_impl<std::allocator<char> >, std::allocator<char> >::impl>::dispose()':
oracle.cc:(.text._ZN5boost6detail17sp_counted_impl_pINS_9iostreams16symmetric_filterINS2_6detail23bzip2_decompressor_implISaIcEEES6_E4implEE7disposeEv[_ZN5boost6detail17sp_counted_impl_pINS_9iostreams16symmetric_filterINS2_6detail23bzip2_decompressor_implISaIcEEES6_E4implEE7disposeEv]+0x1c): undefined reference to `boost::iostreams::detail::bzip2_base::~bzip2_base()'
CMakeFiles/nt-parser.dir/oracle.cc.o: In function `boost::iostreams::detail::bzip2_decompressor_impl<std::allocator<char> >::close()':
oracle.cc:(.text._ZN5boost9iostreams6detail23bzip2_decompressor_implISaIcEE5closeEv[_ZN5boost9iostreams6detail23bzip2_decompressor_implISaIcEE5closeEv]+0x7): undefined reference to `boost::iostreams::detail::bzip2_base::end(bool)'
CMakeFiles/nt-parser.dir/oracle.cc.o: In function `long boost::iostreams::symmetric_filter<boost::iostreams::detail::bzip2_decompressor_impl<std::allocator<char> >, std::allocator<char> >::write<boost::iostreams::detail::linked_streambuf<char, std::char_traits<char> > >(boost::iostreams::detail::linked_streambuf<char, std::char_traits<char> >&, char const*, long)':```
Metadata
Metadata
Assignees
Labels
No labels