Boost logo

Boost Users :

Subject: Re: [Boost-users] How to get rid of compiler version in library names?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-11-30 22:26:48


AMDG

dutchman1 wrote:
> I just installed Boost and noticed the library names all have the
> compiler/boost version in the file name, e.g. gcc41.
> libboost_date_time-gcc41-mt-1_39.a
>
> The program I'm trying to compiler only looks for the library name, e.g.
> libboost_date_time-mt.a.
> My error:
> error: Unable to find file or target named
> error: '/usr/lib/libboost_date_time-mt.a'
> error: referred from project at
> error: '.'
>
> How can I make boost install using the library names without compiler
> name/boost version?
>

Compile Boost with --layout=tagged.

In Christ,
Steven Watanabe


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