Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failed to build boost

Tags:

c++

c

boost

I have been able to compile boost on Windows Vista using the following commands:

bootstrap.bat

bjam.exe --with-filesystem --with-thread --toolset=msvc

However, when I issue the same command on Windows 7, I get this:

'failed to write output file 'bin.v2\libs\thread\build\msvc-8.0\release\link-static\threading-multi\libboost_thread-vc80-mt-1_48.lib.rsp'!'

What am I doing wrong?

like image 980
user243655 Avatar asked Feb 15 '26 13:02

user243655


1 Answers

I had this and the problem turned out to be that boost seems to have some problems with long path names. Moved the directories up a couple of levels and it all started working. But had me pulling my hair out for a while

like image 151
OnceUponATimeInTheWest Avatar answered Feb 18 '26 02:02

OnceUponATimeInTheWest