|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2006-12-11 22:40:52
Mathias Gaunard <mathias.gaunard_at_[hidden]> writes:
> Anthony Williams wrote:
>
>> In the Unix section for built libraries, your example library is named as if
>> it was built using msvc:
>>
>> c++ -I /path/to/boost_1_34_0 example.cpp -o example \
>> ~/boost/lib/libboost_regex-msvc-7.1-mt-d-1_34.a
>>
>> I would imagine that something more likely to appear on a Unix/Linux system,
>> such as libboost_regex-gcc-3.4-mt-d-1_34.a would be a better example.
>
> I personally just type g++ example.cpp -o example -lboost_regex
You must have used some other method of producing binaries than we use
in the Getting Started Guide (e.g. method 3 at
http://boost-consulting.com/boost/more/getting_started.html#get-boost).
That command wouldn't work with libraries produced using the default
"versioned" layout.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk