Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost.Filesystem with MSVC8 & STLPort linker errors
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-06-12 17:05:42


Craig Henderson wrote:

>> > I have an application using Boost.Filesystem, Boost.Thread and others,
> that
>> > I am building on Windows XP using MSVC8, STLPort and Boost 1.39.0. I
> have
>> > built Boost using Boost Jam 3.1.17 and STLPort.
>>
>> How exactly? What commands did you type, and what configuration files are
> you
>> using? Did you use stdlib=stlport ?
>
> For STLPORT I used:
> STLport-5.2.1>set include=...\STLport\STLport-5.2.1\stlport;%include%
> STLport-5.2.1>configure msvc8 -p winxp -x --without-thread
> STLport-5.2.1\build\lib>nmake clean install
>
> And then for Boost, edited boost_1_39_0\tools\build\v2\user-config.jam to
> # -------------------
> # MSVC configuration.
> # -------------------
> # Configure specific msvc version (searched for in standard locations and
> PATH).
> using msvc : 8.0 ;
> # ----------------------
> # STLPort configuration.
> # ----------------------
> using stlport : : ...\STLport\STLport-5.2.1\stlport
> ...\STLport\STLport-5.2.1\lib\vc8 ;
>
> and built with
> boost_1_39_0>set include=...\STLport\STLport-5.2.1\stlport;%include%
> boost_1_39_0> ..\bjam --toolset=msvc stdlib=stlport
> "stdlib:stlport-iostream=on"

Hmm, I would have expected this last to be:

        stdlib-stlport:iostream=hostios

> --with-filesystem --with-thread
> --with-date_time

Did you examine Boost.Filesystem DLL content as I have suggested? Does it
have a symbol called 'boost::filesystem::detail::status_api'? Is the
signature of that symbol, including parameter types the same as in the
error message? If not, what are the difference?

- Volodya


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