compiling and using boost using vc toolkit 2003
Hi, Has anyone tried and have succeed in compiling and using boost from the command line using the vc toolkit provided by Microsoft? I have tried to compile boost using bjam but I get messages such as "The system cannot find the path specified." I have take care to define VC71_ROOT variable and included the appropriate \bin, \lib, \include directories. Thanks for the help. K
Kevin Kuo ha scritto:
Has anyone tried and have succeed in compiling and using boost from the command line using the vc toolkit provided by Microsoft?
I do it this way: set MSVCDIR=C:\Program Files\Microsoft Visual C++ Toolkit 2003 set MSSDKDIR=C:\Program Files\Microsoft SDK set INCLUDE=%MSVCDIR%\include;%MSSDKDIR%\include set LIB=%MSVCDIR%\lib;%MSSDKDIR%\lib set PATH=%MSVCDIR%\bin;%MSSDKDIR%\bin;%MSSDKDIR%\bin\win64;%PATH% cd <<boost root directory>> bjam "-sTOOLS=vc-7_1" install I have "Microsoft Platform SDK February 2003" installed in "C:\Program Files\Microsoft SDK" and add the "bin\win64" directory to the PATH in order to use the "lib" command which is not distributed with the MSVC Toolkit 2003. Note that not all targets are build successfully because some debug runtime libraries are not distributed with the MSVC Toolkit. Regards. -- Michele Galante Zucchetti Centro Sistemi SPA m.galante@centrosistemi.it
participants (2)
-
Kevin Kuo
-
Michele Galante