Boost logo

Boost Interest :

Subject: Re: [Boost-cmake] Release 1.41.0.cmake0
From: troy d. straszheim (troy_at_[hidden])
Date: 2009-11-18 23:41:57


Surya Kiran Gullapalli wrote:
> Platform: Windows.
> Compiler: MSVC 8.0 SP1
>
> Boost.Cmake unable to configure iostreams with zlib (or bzip2). I've
> ZLIB_SOURCE env variable set to the location of zlib source code.
>
> I've also set ZLIB_INCLUDE_DIR and ZLIB_LIB_DIR in cmake-gui but it is
> not working. I'm getting the following errors. There are similar errors
> for Bzip2 as well.
>
>
> CMake Error at tools/build/CMake/BoostCore.cmake:1184 (parse_arguments):
>
> Syntax error in cmake code at
>
> C:/Documents and Settings/sgullapa/My
> Documents/Downloads/boost-1.41.0.cmake0/tools/build/CMake/BoostDocs.cmake:1187
>
> when parsing string
>
> file_descriptor.cpp;mapped_file.cpp;zlib.cpp;gzip.cpp;LINK_LIBS;E:\Software\zlib-1.2.3;SHARED_COMPILE_FLAGS;-DBOOST_IOSTREAMS_DYN_LINK=1
>
> Invalid escape sequence \S
>
> Call Stack (most recent call first):
>
> libs/iostreams/src/CMakeLists.txt:27 (boost_add_library)
>

I'll have a look. Meanwhile, could you try specifying the paths with
forwardslashes rather than backslashes?

-t


Boost-cmake list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk