News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Static linking to Boost libraries, Ubuntu

Started by CodeMonkey, December 15, 2008, 12:37:05 AM

Previous topic - Next topic

CodeMonkey

Hello,
   After a casual search through past threads, I still have not found a solution to my problem.

I just installed Debian's old libboost package, and it works nicely with code::blocks. I'm using the default compiler (g++). The thing is, when I link to boost::thread's libraries, I get linker errors unless I link to the dynamic *.so libraries. I'd prefer to bundle all of the code at compile-time, and I'm pretty sure Boost::thread was designed this way. Anybody know what the problem might be?

           Thanks.