AMDG On 10/28/2012 06:18 PM, mega deth wrote:
<snip>
~/boost/stage/lib/libboost_
g++ I- /root/boost/ /root/bin/repos/c-projects/c++/C++Projects/Boost/testLinkToBoostLib.cpp -o example \ libboost_chrono.a libboost_regex.a libboost_chrono.so libboost_regex.so <snip>
Finally this is my issue: When I try to compile the test regex code with boost, I am unable to find the correct library to include. I fear that because I have this issue, that my thread library is not built as well. Is there a way to check? Can you provide what worked for you to install boost on your linux machine. c++ -I path/to/boost_1_51_0 example.cpp -o example \ ~/boost/stage/lib/libboost_regex-gcc34-mt-d-1_36.a
I am unable to find or even create this:
libboost_regex-gcc34-mt-d-1_36.a
If you have any advise or direction please let me know. Thank you! There was some talk about checking the configuration of the user-config.jam if there are linker or compile issues. But I do not think those could be the issues at the moment.
Use libboost_regex.a. If you want the mangled names you need to pass --layout=versioned to b2. e.g. b2 --layout=versioned --with-regex debug threading=multi link=static
Thank you in advance for looking at my issue!
In Christ, Steven Watanabe