I have been trying to compile ballview 1.4.2. My system is Ubuntu 12.04 gcc 4.8.1 g++ 4.8.1 and I have been using the dependencies provided in the contrib tarball. Everything configures fine when I do make BALLView I get the following compile error.
Code:
Linking CXX shared library ../../../lib/VIEW.so
[ 98%] Built target VIEWmodule
[ 98%] Built target compile_translations
Linking CXX executable ../../../bin/BALLView
../../../lib/libVIEW.so.1.4: undefined reference to `boost::iostreams::detail::gzip_footer::reset()'
../../../lib/libVIEW.so.1.4: undefined reference to `boost::iostreams::detail::gzip_header::process(char)'
../../../lib/libVIEW.so.1.4: undefined reference to `boost::iostreams::detail::gzip_header::reset()'
../../../lib/libVIEW.so.1.4: undefined reference to `boost::iostreams::detail::gzip_footer::process(char)'
../../../lib/libVIEW.so.1.4: undefined reference to `boost::iostreams::detail::zlib_base::before(char const*&, char const*, char*&, char*)'
../../../lib/libVIEW.so.1.4: undefined reference to `boost::iostreams::zlib_error::check(int)'
../../../lib/libVIEW.so.1.4: undefined reference to `boost::iostreams::zlib::default_compression'
../../../lib/libVIEW.so.1.4: undefined reference to `boost::iostreams::detail::zlib_base::do_init(boost::iostreams::zlib_params const&, bool, void* (*)(void*, unsigned int, unsigned int), void (*)(void*, void*), void*)'
../../../lib/libVIEW.so.1.4: undefined reference to `boost::iostreams::zlib::stream_end'
../../../lib/libVIEW.so.1.4: undefined reference to `boost::iostreams::detail::zlib_base::zlib_base()'
../../../lib/libVIEW.so.1.4: undefined reference to `boost::iostreams::detail::zlib_base::~zlib_base()'
../../../lib/libVIEW.so.1.4: undefined reference to `boost::iostreams::detail::zlib_base::after(char const*&, char*&, bool)'
../../../lib/libVIEW.so.1.4: undefined reference to `boost::iostreams::zlib::default_strategy'
../../../lib/libVIEW.so.1.4: undefined reference to `boost::iostreams::zlib::okay'
../../../lib/libVIEW.so.1.4: undefined reference to `boost::iostreams::detail::zlib_base::reset(bool, bool)'
../../../lib/libVIEW.so.1.4: undefined reference to `boost::iostreams::zlib::sync_flush'
../../../lib/libVIEW.so.1.4: undefined reference to `boost::iostreams::detail::zlib_base::xinflate(int)'
../../../lib/libVIEW.so.1.4: undefined reference to `boost::iostreams::zlib::deflated'
collect2: ld returned 1 exit status
make[2]: *** [bin/BALLView] Error 1
make[1]: *** [source/APPLICATIONS/BALLVIEW/CMakeFiles/BALLView.dir/all] Error 2
make: *** [all] Error 2
I think this is a problem with boost but I'm not sure how to solve it. Any thoughts?