23 Apr
2009
23 Apr
'09
1:30 a.m.
AMDG ChristinaDRS wrote:
now I try to build a second application that simply uses the libtest.a like this:
$ g++ -I ~/boost_1_38_0/ -I. main.cpp -omain -L/usr/local/lib/ -L. -ltest -lboost_thread-gcc41-mt-1_38
<snip> /usr/include/boost/thread/detail/lock.hpp:33: undefined reference to
Any idea why I am getting these undefined references?
Somehow, you're getting headers from the wrong version of Boost. In Christ, Steven Watanabe