
12 Dec
2006
12 Dec
'06
1:31 a.m.
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