[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mingw-cross-env-list] cmake unable to find boost_thread

From: Brad Pitcher
Subject: [Mingw-cross-env-list] cmake unable to find boost_thread
Date: Thu, 26 May 2011 17:26:22 -0700

I am trying to compile CGAL with mingw and it seems that cmake can't find boost.
I am running the following command:

cmake . -DWITH_examples=false -DWITH_demos=false -DCMAKE_INSTALL_PREFIX=/home/brad/Downloads/mingw-cross-env/usr/i686-pc-mingw32/ -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=/home/brad/Downloads/mingw-cross-env/usr/i686-pc-mingw32/share/cmake/mingw-cross-env-conf.cmake

and a lot of it actually works but here is the error with boost:

CMake Error at cmake/modules/FindBoost.cmake:917 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.46.1

  Boost include path:

  The following Boost libraries could not be found:


  No Boost libraries were found.  You may need to set Boost_LIBRARYDIR to the
  directory containing Boost libraries or BOOST_ROOT to the location of
Call Stack (most recent call first):
  cmake/modules/CGAL_SetupBoost.cmake:12 (find_package)
  cmake/modules/CGAL_SetupDependencies.cmake:18 (include)
  CMakeLists.txt:220 (include)

-- Boost include:     /home/brad/Downloads/mingw-cross-env/usr/i686-pc-mingw32/include
-- Boost libraries:   
-- Boost definitions: 

Anyone have any idea how to resolve this? I assume I need to take a look at this cmake/modules/FindBoost.cmake and figure out why it's not finding the libraries?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]