Boost Users :
Subject: Re: [Boost-users] boost build and link problems
From: Littlefield, Tyler (tyler_at_[hidden])
Date: 2011-06-10 00:55:13
>So you have managed to build bjam (maybe you just needed to run
>VCVARSALL.BAT on your command line)?
I tried that, and it is still building the vc100 library files.
On 6/9/2011 9:53 PM, liamv7 wrote:
> On 10 June 2011 12:40, Littlefield, Tyler<tyler_at_[hidden]> wrote:
>> Hello all:
>> I'm trying to use boost::asio in an app. I used the bootstrap.bat and then bjam to build and configure boost. I use the visual studio 2008 command prompt because when I run bootstrap.bat from the normal command prompt, I get:
>> cl.exe - System Error
>> The program can't start because mspdb100.dll is missing from your
>> computer. Try reinstalling the program to fix this problem.
>> the build is building vc100 libs, but when I try to build my app it's trying to link to vc90 libs. I am using 2008, so I am confused as to why this is working out to build vc100 libs. When I build:
>> 1>LINK : fatal error LNK1104: cannot open file 'libboost_system-vc90-mt-gd-1_46_1.lib'
>> so it looks like it's trying to link to vc90 libs when vc100 are all that's being built. Is there a way to get rid of this and build for vs 2008?
> So you have managed to build bjam (maybe you just needed to run
> VCVARSALL.BAT on your command line)?
> To build the correct libraries you need to specify the toolset on the
> bjam command line: --toolset=msvc-9.0
> see http://www.boost.org/doc/libs/1_46_1/more/getting_started/windows.html#identify-your-toolset
> Boost-users mailing list
-- Take care, Ty my website: http://tds-solutions.net my blog: http://tds-solutions.net/blog skype: st8amnd127 My programs don't have bugs; they're randomly added features!
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