User forums > Using Code::Blocks

Static linking to Boost libraries, Ubuntu

(1/1)

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.

Navigation

[0] Message Index

Go to full version