4 Mar
2010
4 Mar
'10
9:20 p.m.
On 27 February 2010 20:08, Alex Farber
Thank you. This is my command line: g++ -o"MyProgram" ./main.o -l:libboost_thread.a
The result is huge number of messages like: undefined reference to `pthread_key_create'
The same result as I got with this: g++ -static -o"MyProgram" ./main.o -lboost_thread Some problems with static library libboost_thread.a?
Add -lpthread