Boost logo

Boost-Build :

Subject: [Boost-build] include path not recognized in Cygwin
From: Andrej van der Zee (mavdzee_at_[hidden])
Date: 2009-06-10 02:09:00


Hi, I am trying to port a simple project from Linux to Cygwin on Windows. I am using boost build from the Boost tree version 1_38. I configured Boost with toolset msvc and compiled/installed the Boost tree without any problems. But when I want to use Boost in my own project, it can't find the boost include directory somehow (but it does exist in the -I location). See below for output. Please help. Thank you! Andrej Andrej_at_inspiron ~/mbrace/trunk/parsers/cap2net $ bjam -d2 ...patience... ...found 1195 targets... ...updating 3 targets... file bin\msvc-9.0\debug\threading-multi\main.obj.rsp "main.cpp" -Fo"bin\msvc-9.0\debug\threading-multi\main.obj" -TP /Z7 /Od /Ob0 /W3 /GR /MDd /Zc:forScope /Zc:wchar_t /wd4675 /EHs -c -DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG -DBOOST_REGEX_RECURSIVE -DMYSQLPP_SSQLS_NO_STATICS "-IC:\cygwin\home\Andrej\mbrace\trunk" "-IC:\cygwin\usr\local\include" "-IC:\cygwin\usr\local\mysql\include\mysql" compile-c-c++ bin/msvc-9.0/debug/threading-multi/main.obj cmd.exe /S /C call "c:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86 ">nul" "&&" cl /Zm800 -nologo @"bin\msvc-9.0\debug\threading-multi\main.obj.rsp" main.cpp c:\cygwin\home\andrej\mbrace\trunk\parsers\cap2net\../core/net_bucket.h(5) : fatal error C1083: Cannot open include file: 'boost/serialization/map.hpp': No such file or directory ...failed compile-c-c++ bin/msvc-9.0/debug/threading-multi/main.obj... ...skipped <pbin/msvc-9.0/debug/threading-multi>cap2net.exe for lack of <pbin/msvc-9.0/debug/threading-multi>main.obj... ...skipped <p/mbrace/bin>cap2net.exe for lack of <pbin/msvc-9.0/debug/threading-multi>cap2net.exe... ...failed updating 1 target... ...skipped 2 targets... Andrej_at_inspiron ~/mbrace/trunk/parsers/cap2net $ ls /usr/local/include/boost/serialization/map.hpp /usr/local/include/boost/serialization/map.hpp


Boost-Build 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