$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] cmake on windows
From: Markus Schwarzenberg (schwarzb_at_[hidden])
Date: 2008-10-29 03:25:00
On Wed, 22 Oct 2008 17:38:27 +0300 "Emre Turkay" <emreturkay_at_[hidden]> wrote:
> Hi folks,
> 
> I'm trying to compile boost with cmake and MS Visual Studio 2003 on Windows.
> However, when I run the cmake tool I get:
> 
> CMake Error at C:/Program Files/CMake
> 2.6/share/cmake-2.6/Modules/FindBoost.cmak
> e:620 (message):
>   Unable to find the requested Boost libraries.
> 
>   Boost version: 1.35.0
> 
>   Boost include path: C:/Program Files/boost/boost_1_35_0
> 
>   The following Boost libraries could not be found:
> 
>           boost_signals
> 
>   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
>   Boost.
> Call Stack (most recent call first):
>   CMakeLists.txt:27 (FIND_PACKAGE)
> 
> 
> -- Configuring incomplete, errors occurred!
You could try using
set(BOOST_ROOT "C:\\Program Files\\boost")
before
FIND_PACKAGE(Boost REQUIRED COMPONENTS signals)
-- Markus Schwarzenberg