25 Aug
2009
25 Aug
'09
3:58 p.m.
Shaolin wrote:
Hi Guys
How do I include boost dependencies in my makefile ?
/usr/local/boost_1_39_0/boost/stage/lib/libboost_program_options-gcc43-mt-1_39.a /usr/local/boost_1_39_0/boost/stage/lib/libboost_thread-gcc43-mt-1_39.a -lpthread
You add those to the linker invocation command in your makefile. Alternatively, you can use: -L/usr/local/boost_1_39_0/boost/stage/lib/ -lboost_program_options-gcc43-mt-1_39 -lboost_thread-gcc43-mt-1_39 -lpthread Note that this question has nothing to do with C++ Boost. I recommend that you read manuals on make and gcc to get more detailed answer. - Volodya