Boost logo

Boost :

From: Tom Wells (tomw_at_[hidden])
Date: 2002-07-18 05:16:53


hi everyone,

i'm quite new to using boost and haven't had any problems using it with gcc
in linux, but i can't seem to get the threads library to compile in windows
2000 using msvc6 with stlport (with stlport-iostreams on).

this is the problem:
when i try running 'bjam -sTOOLS="msvc-stlport" -sBUILD="stlport-iostream
on"' in the <boost_dir>\libs\thread\build directory it tries to make a whole
bunch of directories with names based on the sub-variants such as:

..\..\..\libs\thread\build\bin\libboost_thread.lib\msvc-stlport\stlport-iost
ream\debug-symbols-on\exception-handling-on\inlining-off\optimization-off\rt
ti-on\runtime-build-debug\runtime-link-dynamic\stlport-cstd-namespace-std\st
lport-iostream-off

the logic seems to be good, but the problems seems that windows can't handle
a directory tree with more than 256 characters, so it bombs out with errors
like 'The directory or file cannot be created' and 'The filename or
extension is too long'.

i had a look at the Jamfile (i've never used jam before) and tried to see
where it creates these directories, but its quite cryptic and i couldn't
find anything at all. i've read the docs and build instructions looking for
some way to override this behaviour, but i can't find a thing.

any suggestions? please help!

Tom Wells

----
Tom Wells
Combat Team Trainer Project - Simulator Systems Dept.
African Defense Systems
Midrand, Johannesburg, South Africa
email: tomw_at_[hidden]
+27 11 3139462 - Office
+27 82 4134501 - Mobile
----

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk