Opened 16 years ago

Closed 16 years ago

Last modified 12 years ago

#832 closed Support Requests (None)

building boost with vc++ express

Reported by: toerkesch Owned by: t_schwinger
Milestone: Component: Building Boost
Version: None Severity:
Keywords: Cc:

Description

I followed the Getting Startet Instructions on the boost homepage http://www.boost.org/tools/build/v1/vc-8_0-tools.html.

I copied bjam.exe to the boost-root-dir.

when i type bjam "-sTOOLS=vc-8_0" install, first it seems to work, but then i got the following errors:

C:\boost>bjam "-sTOOLS=vc-8_0" install
******************************************************
Building Boost.Iostreams with bzip2 support disabled.
To enable bzip2, consult the Boost.Iostreams documentation
******************************************************
******************************************************
Building Boost.Iostreams with zlib and gzip support disabled.
To enable zlib and gzip, consult the Boost.Iostreams documentation
******************************************************
Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(and if you don't know what ICU is then you probably don't need it).
...found 13371 targets...
...updating 4773 targets...
FileClone C:\Boost\lib\boost_date_time-vc80-mt-gd-1_33_1.lib
vc-C++ bin\boost\libs\filesystem\build\libboost_filesystem.lib\vc-8_0\debug\runt
ime-link-static\threading-multi\exception.obj
exception.cpp
C:\boost\libs\filesystem\build\../src/exception.cpp(39) : fatal error C1083: Dat
ei (Include) kann nicht geöffnet werden: "windows.h": No such file or directory

    CALL "C:\Programme\Microsoft Visual Studio 8\VC\bin\vcvars32.BAT" >nul
    "C:\Programme\Microsoft Visual Studio 8\VC\bin\cl" /Zm800 -nologo /EHsc -c
-DBOOST_FILESYSTEM_STATIC_LINK /Z7 /Od /Ob0 /EHsc /GR /MTd /Zc:forScope /Zc:wcha
r_t -I"bin\boost\libs\filesystem\build" -I"C:\boost"  -I"C:\boost"  -Fo"bin\boos
t\libs\filesystem\build\libboost_filesystem.lib\vc-8_0\debug\runtime-link-static
\threading-multi\exception.obj" -Tp"C:\boost\libs\filesystem\build\../src/except
ion.cpp"

...failed vc-C++ bin\boost\libs\filesystem\build\libboost_filesystem.lib\vc-8_0\
debug\runtime-link-static\threading-multi\exception.obj...
vc-C++ bin\boost\libs\filesystem\build\libboost_filesystem.lib\vc-8_0\debug\runt
ime-link-static\threading-multi\operations_posix_windows.obj
operations_posix_windows.cpp
C:\boost\libs\filesystem\build\../src/operations_posix_windows.cpp(55) : fatal e
rror C1083: Datei (Include) kann nicht geöffnet werden: "windows.h": No such fil
e or directory

    CALL "C:\Programme\Microsoft Visual Studio 8\VC\bin\vcvars32.BAT" >nul
    "C:\Programme\Microsoft Visual Studio 8\VC\bin\cl" /Zm800 -nologo /EHsc -c
-DBOOST_FILESYSTEM_STATIC_LINK /Z7 /Od /Ob0 /EHsc /GR /MTd /Zc:forScope /Zc:wcha
r_t -I"bin\boost\libs\filesystem\build" -I"C:\boost"  -I"C:\boost"  -Fo"bin\boos
t\libs\filesystem\build\libboost_filesystem.lib\vc-8_0\debug\runtime-link-static
\threading-multi\operations_posix_windows.obj" -Tp"C:\boost\libs\filesystem\buil
d\../src/operations_posix_windows.cpp"

...failed vc-C++ bin\boost\libs\filesystem\build\libboost_filesystem.lib\vc-8_0\
debug\runtime-link-static\threading-multi\operations_posix_windows.obj...
...skipped <@boost!libs!filesystem!build\libboost_filesystem.lib\vc-8_0\debug\ru
ntime-link-static\threading-multi>libboost_filesystem-vc80-mt-sgd-1_33_1.CMD for
 lack of <@boost!libs!filesystem!build\libboost_filesystem.lib\vc-8_0\debug\runt
ime-link-static\threading-multi>exception.obj...
...skipped <@boost!libs!filesystem!build\libboost_filesystem.lib\vc-8_0\debug\ru
ntime-link-static\threading-multi>libboost_filesystem-vc80-mt-sgd-1_33_1.lib for
 lack of <@boost!libs!filesystem!build\libboost_filesystem.lib\vc-8_0\debug\runt
ime-link-static\threading-multi>exception.obj...
...skipped <@boost!lib>libboost_filesystem-vc80-mt-sgd-1_33_1.lib for lack of <@
boost!libs!filesystem!build\libboost_filesystem.lib\vc-8_0\debug\runtime-link-st
atic\threading-multi>libboost_filesystem-vc80-mt-sgd-1_33_1.lib...
vc-C++ bin\boost\libs\filesystem\build\libboost_filesystem.lib\vc-8_0\debug\thre
ading-multi\exception.obj
exception.cpp
C:\boost\libs\filesystem\build\../src/exception.cpp(39) : fatal error C1083: Dat
ei (Include) kann nicht geöffnet werden: "windows.h": No such file or directory

    CALL "C:\Programme\Microsoft Visual Studio 8\VC\bin\vcvars32.BAT" >nul
    "C:\Programme\Microsoft Visual Studio 8\VC\bin\cl" /Zm800 -nologo /EHsc -c
-DBOOST_FILESYSTEM_STATIC_LINK /Z7 /Od /Ob0 /EHsc /GR /MDd /Zc:forScope /Zc:wcha
r_t -I"bin\boost\libs\filesystem\build" -I"C:\boost"  -I"C:\boost"  -Fo"bin\boos
t\libs\filesystem\build\libboost_filesystem.lib\vc-8_0\debug\threading-multi\exc
eption.obj" -Tp"C:\boost\libs\filesystem\build\../src/exception.cpp"

...failed vc-C++ bin\boost\libs\filesystem\build\libboost_filesystem.lib\vc-8_0\
debug\threading-multi\exception.obj...
vc-C++ bin\boost\libs\filesystem\build\libboost_filesystem.lib\vc-8_0\debug\thre
ading-multi\operations_posix_windows.obj
operations_posix_windows.cpp
C:\boost\libs\filesystem\build\../src/operations_posix_windows.cpp(55) : fatal e
rror C1083: Datei (Include) kann nicht geöffnet werden: "windows.h": No such fil
e or directory
....


This is only a part of the log.
But during all the installation process occurs the same error:
"windows.h": No such file or directory

i checked all the include and lib paths in vc++,
PlatformSDK is installed. I cant find the problem.

Please help!

email: richi@gmx.org


Change History (1)

comment:1 by t_schwinger, 16 years ago

Status: assignedclosed
Logged In: YES 
user_id=1254227
Originator: NO

Bjam doesn't know what's configured within the IDE -- it only sees the environment variables.
It seems 'windows.h' can't be found in any of the directories listed in 'INCLUDE'. 

The Platform SDK contains a batch file to set up the environment. CALL it before invoking bjam and things should work fine.

You can make permanent changes to your environment in Control Panel->System.
Note: See TracTickets for help on using tickets.