|
Boost Users : |
From: Harry Georgakopoulos (hgeorgako_at_[hidden])
Date: 2006-03-20 01:19:41
Greetings,
I have reviewed a lot of forums out there and nothing seems to answer my
problem.
It seems that I have some kind of link error but i cannot understand the
location.
This is what I did in detail:
Downloaded the Platform SDK to
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2
Added C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\bin
to the "Executable Files" under Options|Project and Solution|VC++
Directories
Did the same for the "Include Files" and the "Library Files"
...( I believe the installation of the SDK is fine since i was able to
compile a windows program by following the directions outlined here
http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/default.aspx)
For Boost...
1. Downloaded boost_1_33_1 to C:/boost_1_33_1
2. Obtained bjam.exe and copied this file into C:/boost_1_33_1
3. Modified the C:\Program Files\Microsoft Visual Studio
8\Common7\Tools\vsvars32.bat file to contain the following
----------------------------------------------------------------------------------------------------------------------------------------------------------
@SET VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8
@SET VCINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8\VC
@SET FrameworkDir=C:\WINDOWS\Microsoft.NET\Framework
@SET FrameworkVersion=v2.0.50727
@SET FrameworkSDKDir=C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0
@if "%VSINSTALLDIR%"=="" goto error_no_VSINSTALLDIR
@if "%VCINSTALLDIR%"=="" goto error_no_VCINSTALLDIR
@echo Setting environment for using Microsoft Visual Studio 2005 x86 tools.
@rem
@rem Root of Visual Studio IDE installed files.
@rem
@set DevEnvDir=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE
@set PATH=C:\Program Files\Microsoft Visual Studio
8/VC/PlatformSDK/Bin;C:\Program Files\Microsoft Visual Studio
8\Common7\IDE;C:\Program Files\Microsoft Visual Studio 8\VC\BIN;C:\Program
Files\Microsoft Visual Studio 8\Common7\Tools;C:\Program Files\Microsoft
Visual Studio
8\SDK\v2.0\bin;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program
Files\Microsoft Visual Studio 8\VC\VCPackages;%PATH%
@set INCLUDE=C:\Program Files\Microsoft Visual Studio
8/VC/PlatformSDK/Include;C:\Program Files\Microsoft Visual Studio
8\VC\INCLUDE;%INCLUDE%
@set LIB=C:\Program Files\Microsoft Visual Studio
8/VC/PlatformSDK/Lib;C:\Program Files\Microsoft Visual Studio
8\VC\LIB;C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\lib;%LIB%
@set LIBPATH=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
@goto end
:error_no_VSINSTALLDIR
@echo ERROR: VSINSTALLDIR variable is not set.
@goto end
:error_no_VCINSTALLDIR
@echo ERROR: VCINSTALLDIR variable is not set.
@goto end
:end
----------------------------------------------------------------------------------------------------------------------------------------------------
4. I even created a new directory as recommended by the boost documentation
for VC++ express
C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK
In here i copied the Bin, Library and Include folders from C:/boost_1_33_1
5. Navigated to the Visual Studio 2005 Command Prompt and typed the
following
>chdir C:\boost_1_33_1
C:\boost_1_33_1> bjam.exe "-sVC80_ROOT=C:\Microsoft Visual Studio 8\VC"
-sTOOLS=vc-8_0 install
_______________________________________________________________________________________________
Part of the errors I get are the following:
e-link-static\threading-multi\file_description.obj
The system cannot find the path specified
The system cannot find the path specified
CALL "C:\Microsoft Visual Studio 8\VC\bin\vcvars32.BAT" > nul
Ob0 /ENsc /GR /MTd /Zc:forScope /Zc:wchar_t
-I"bin\boost\libs\iostreams\build: - I"C:\boost_1_33_1" -I"C:\boost_1_33_1"
-Fo"bin\boost\libs\iostreams\build\libboost_iostreams.lib\vc-8_0\debug\runtime-link-static\threading-multi\file_descriptor.obj"
-Tp"C:\boost_1_33_1\
libs\iostreams\build\..\src\file_descriptor.cpp"
...failed vc-C++
bin\boost\libs\iostreams\build\libboost_iostreams.lib\vc-8_0\debug\runtime-link-static\threading-multi\file_descriptor.obj...
vc-C++
bin\boost\libs\iostreams\build\libboost_iostreams.lib\vc-8_0\debug\runitme-link-static\threading-multi\mapped_file.obj
The system cannot find the path specified
The system cannot find the path specified
.
.
.
.
This goes on for a while. (same type of error)
------------------------------------------------------------
Any help would be greatly appreciated.
Thank you,
Hg.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net