Boost logo

Boost Users :

Subject: [Boost-users] [bjam] Generated path approaches 255 character OS limit
From: Peter Klotz (Peter.Klotz_at_[hidden])
Date: 2008-11-06 05:13:28


When compiling Boost 1.37.0 using this bjam command line under Windows I obtained the error message below:

bjam -q -sNO_COMPRESSION=1 --build-type=complete --without-graph --without-math --without-mpi --without-python --without-serialization --without-signals --without-wave --toolset=msvc-8.0 architecture=x86 address-model=64

failed to write output file 'bin.v2\libs\test\build\msvc-8.0\debug\address-model-64\architecture-x86\asynch-exceptions-on\link-static\runtime-link-static\threading-multi\libboost_prg_exec_monitor-vc80-mt-sgd-1_37.lib.rsp'!

Obviously the path I started from (70 characters) combined with the bjam generated path (192 characters) exceeds the OS limit of 255 characters per filename.

Does the bjam generated path really have to be this long? Can I shorten it somehow?

If future versions of bjam encode even more information into the generated path it may not be possible to build Boost even when building in directory C:\Boost.

Regards, Peter.


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