Error when trying to build boost 1.38.0 with msvc 8.0
I'm trying to build boost 1.38.0 on Windows, with MSVC 8.0 and bjam 3.1.17, and I get this error : D:\boost_1_38_0>bjam -q -j3 -d+2 --toolset=msvc --build-type=complete Skipping build of: ./headers <build>no in common properties Skipping build of: ./headers <build>no in common properties Skipping build of: ./headers <build>no in common properties Skipping build of: ./headers <build>no in common properties warning: Graph library does not contain optional GraphML reader. note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the note: directories containing the Expat headers and libraries, respectively. warning: skipping optional Message Passing Interface (MPI) library. note: to enable MPI support, add "using mpi ;" to user-config.jam. note: to suppress this message, pass "--without-mpi" to bjam. note: otherwise, you can safely ignore this message. Building Boost.Regex with the optional Unicode/ICU support disabled. Note: Please refer to the Boost.Regex documentation for more information Note: this is a strictly optional feature. Skipping build of: ./build_all <build>no in common properties Skipping build of: ./build_all <build>no in common properties Skipping build of: ./build_all <build>no in common properties Skipping build of: ./build_all <build>no in common properties common.mkdir bin.v2 if not exist "bin.v2\\" mkdir "bin.v2" 'C:\Documents' is not recognized as an internal or external command, operable program or batch file. ...skipped bin.v2\libs for lack of bin.v2... Thanks in advance.
LPE wrote:
I'm trying to build boost 1.38.0 on Windows, with MSVC 8.0 and bjam 3.1.17, and I get this error :
'C:\Documents' is not recognized as an internal or external command, operable program or batch file. ...skipped bin.v2\libs for lack of bin.v2...
Try building boost in a directory that's full path name doesn't include any spaces. It could also be that bjam is located in such a path and is having trouble.
AMDG Noah Roberts wrote:
LPE wrote:
I'm trying to build boost 1.38.0 on Windows, with MSVC 8.0 and bjam 3.1.17, and I get this error : 'C:\Documents' is not recognized as an internal or external command, operable program or batch file. ...skipped bin.v2\libs for lack of bin.v2...
Try building boost in a directory that's full path name doesn't include any spaces. It could also be that bjam is located in such a path and is having trouble.
LPE wrote:
D:\boost_1_38_0>bjam -q -j3 -d+2 --toolset=msvc --build-type=complete
The command above looks okay in both these respects. In Christ, Steven Watanabe
Noah Roberts
Try building boost in a directory that's full path name doesn't include any spaces. It could also be that bjam is located in such a path and is having trouble.
Boost and bjam are both located in "D:\boost_1_38_0"...
LPE wrote:
Noah Roberts
writes: Try building boost in a directory that's full path name doesn't include any spaces. It could also be that bjam is located in such a path and is having trouble.
Boost and bjam are both located in "D:\boost_1_38_0"...
Ok, I read the error and made some erroneous assumptions. You're going to need to dig a bit deeper. I'm betting, and I'd bet a decent pot, that bjam is attempting to run a program using a path that contains "C:\Documents and Settings" but lacking the quotes. I assumed that you extracted boost on your desktop or something.
Noah Roberts
LPE wrote:
Noah Roberts
writes: Try building boost in a directory that's full path name doesn't include any spaces. It could also be that bjam is located in such a path and is having trouble.
Boost and bjam are both located in "D:\boost_1_38_0"...
Ok, I read the error and made some erroneous assumptions.
You're going to need to dig a bit deeper. I'm betting, and I'd bet a decent pot, that bjam is attempting to run a program using a path that contains "C:\Documents and Settings" but lacking the quotes. I assumed that you extracted boost on your desktop or something.
I found the problem. I had no path containing "C:\Documents and Settings", but my env var TMP contained this: "C:\Documents and Settings\user\Local Settings\Temp", and bjam creates some bat in this dir, and tries to run it, fails because of the spaces in the path. Setting TMP to a path without space fixes the problem.
participants (3)
-
LPE
-
Noah Roberts
-
Steven Watanabe