Boost version: 1.54.0 Boost include path: /usr/include Could not find the following Boost libraries: boostalgorithm boostcore No Boost libraries were found. You may need to set BOOSTLIBRARYDIR to the directory containing Boost libraries or BOOSTROOT to the location of Boost. Aug 04, 2018 Unable to find the requested Boost libraries. Boost version: 1.67.0 Boost include path: /usr/local/include Could not find the following Boost libraries: boostpython No Boost libraries were found. You may need to set BOOSTLIBRARYDIR to the directory containing Boost libraries or BOOSTROOT to the location of Boost. Unable to find the requested Boost libraries. Unable to find the Boost header files. Please set BOOSTROOT to the root directory containing Boost or BOOSTINCLUDEDIR.

Unable to find the requested boost libraries macbook pro

Unable To Find The Requested Boost Libraries Mac Os

Dear cmake community
I can't make CMake find the built boost libraries on Windows. At this line:
find_package(Boost REQUIRED COMPONENTS thread)
I get this error message:
'Unable to find the requested Boost libraries.
Boost version: 1.67.0
Boost include path: C:/download/boost/boost_1_67_0
Could not find the following static Boost libraries:
boost_thread
Some (but not all) of the required Boost libraries were found. You may
need to install these additional Boost libraries. Alternatively, set
BOOST_LIBRARYDIR to the directory containing Boost libraries or
BOOST_ROOT
to the location of Boost.'
Other facts and observations:
* Error both observed with stand alone Cmake 3.12, and the version cmake
3.11 that ships with VS2017.
* VS2017 version 15.7.5 (currently the latest)
* The same error with older Boost versions 1.65.x or 1.66
* Building and linking the same program using VS2017 without cmake works
fine.
* It's not only threat that has the problem. Tested also date_time and
chrono with same errors.
* Building a program with cmake that only requires boost
headers-only-libs works fine.
* Building the same project on linux works fine.
Any ideas?
Thanks in advance
Soren
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake