|
Boost Users : |
Subject: Re: [Boost-users] Boost.Filesystem with MSVC8 & STLPort linker errors
From: Craig Henderson (cdm.henderson_at_[hidden])
Date: 2009-06-12 15:55:08
> > 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" --with-filesystem --with-thread
--with-date_time
Regards
-- Craig
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