Boost logo

Boost Users :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-03-09 07:27:39


Ovanes Markarian wrote:

> Hi!
>
> I am not sure if this is the issue of the program_options library or of
> all libraries at all.
>
>
> I got the HEAD revision from CVS and successfully compiled required
> libraries. One of the required libs is program_options. I have variations
> of the compiled lib with a name as:
>
> boost_program_options-vc-mt-1_35.lib
>
>
> When I try to recompile my code I get a linking error stating:
>
> LINK : fatal error LNK1104: cannot open file
> 'libboost_program_options-vc80-mt-gd-1_35.lib'

How did you configure the msvc toolset? If configuring it
in user-config.jam, you should have:

        using msvc : 8.0 : whatever ;

and if just using command line, you should use:

        bjam toolset=msvc-8.0

While it's possible to query compiler version by running compiler
binary, such magic is not implemented yet, so you need to
specify the version explicitly.

- 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