Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2004-03-30 19:44:11


GoochRules! <goochrules_at_[hidden]> writes:

> On Mar 26, 2004, at 10:11 AM, GoochRules! wrote:
>
>> Greetings,
>>
>> I am attempting to build boost using "-sTools=vc7.1-stlport".
>> I have copied the STLport libaries to C:\src\lib. The STLport
>> headers are in c:\src\include\stlport. I extracted the STLport
>> archive to c:\src\STLport-4.6.1.
>>
>> I have tried STLPORT_PATH=c:\src, c:\src\lib, c:\src\include, and
>> c:\src\include\stlport with STLPORT_VERSION unset, and set to 4.6.1,
>> as well as both unset.
>>
>> Boost succeeds in building, yet does not link against the STLport
>> libraries (as reported by depends.exe), but rather to MSVCP71.DLL
>> and MSVCP71.DLL (the C++ and C runtime libraries provided by vc7.1 I
>> presume).
>>
>> I have ensured that c:\src\lib is first in %LIB% and
>> c:\src\include\stlport;c:\src\include; is first in %INCLUDE%
>>
>>
>> Any suggestions for what my STLport setup should look like are
>> appreciated, as well as pointers on getting boost to link against
>> the STLport libraries.
>>
>>
>> --Matthew Peltzer
>
> To answer my own question: set
> STLPORT_VERSION_PATH=c:\src\include\stlport did the trick...

Impossible. There's no such variable in the toolset.

> I suppose
> I could have tried STLPORT_4.6.1_PATH=c:\src\include\stlport as well.
>
> But still, any suggestions as to a "proper" STLport/boost install tree
> are appreciated.

1. Make a directory called c:\src\STLPort

2. Decompress STLPort-4.6.1 into that directory, so you have:

   c:\src\STLPort\STLPort-4.6.1
   c:\src\STLPort\STLPort-4.6.1\doc\
   c:\src\STLPort\STLPort-4.6.1\etc\
   c:\src\STLPort\STLPort-4.6.1\lib\
   c:\src\STLPort\STLPort-4.6.1\stlport\
   ...

3. Set STLPORT_PATH to c:\src\STLPort

4. Set STLPORT_VERSION to 4.6.1

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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