Closed mattandria closed 5 years ago
It looks like it's mixing and matching two different versions of the Boost libraries. It says it's found Boost 1.70 libraries but is using Boost 1.44 headers. And you mentioned installing Boost 1.58 packages.
I would suggest removing any unnecessary installations of the Boost libraries. Also, you can try to direct CMake toward the Boost libraries you prefer it to use using the BOOST_ROOT
variable. See the documentation at the top of the FindBoost.cmake
module for more information.
Thank you @godbyk !!! Effectively, the fact I installed Boost 1.70 and 1.58 caused conflict of version. So, I've uninstalled both by removing all corresponding headers and library files. Then, I re-installed Boost (1.61 this time ^^), and now it works.
Thanks again
Glad we got it sorted out!
Hello, I'm facing a problem while compiling OSVR on Ubuntu 16.04.11, with a 5.4.0 gcc version.
I think its from an undefined reference of Boost. Although, I already installed Boost with
sudo apt-get install libboost1.58-dev
. And by doing cmake, I have:So libboost is found by the program. Why isn't it still working?
Thank you for your help!