user243655
user243655

Reputation: 8595

Failed to build 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?

Upvotes: 2

Views: 5459

Answers (2)

Vydra21
Vydra21

Reputation: 101

You can use bjam.exe --abbreviate-paths

Found here: http://lists.boost.org/boost-build/2007/01/16028.php

I had similar problem and this switch helped me a lot (although it is not documented).

Upvotes: 6

OnceUponATimeInTheWest
OnceUponATimeInTheWest

Reputation: 1222

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

Upvotes: 8

Related Questions