What's new

CMake and Boost Error

Jesper

Verified Member
15
2015
3
Location
United States
Hello, looking for some help on this issue with boost and cmake
I get the following error after configuring in cmake:

Code:
CMake Error at cmake/macros/FindBoost.cmake:1184 (message):
  Unable to find the requested Boost libraries.

  Unable to find the Boost header files.  Please set BOOST_ROOT to the root
  directory containing Boost or BOOST_INCLUDEDIR to the directory containing
  Boost's headers.
Call Stack (most recent call first):
  cmake/macros/ConfigureBoost.cmake:21 (find_package)
  CMakeLists.txt:63 (include)

I pointed the variables to it and no help, been trying for awhile with different versions:
BOOST_LIBRARYDIR -> C:\local\boost\lib64-msvc-14.0
BOOST_INCLUDEDIR -> C:\boost\spirit\include
BOOST_ROOT -> C:\boost
Thanks in advance.
 
Last edited:
Boost shall be added too ur hard drive root directory.

it is not finding the Libraries. And it cannot find the root folder from what it says here.
 
Back
Top