User forums > Using Code::Blocks

Link statically just some libs

(1/1)

cdavalillo:
Hi, I would like to know how I can link statically some libs and at the same time in the same project link other libs dynamically. I just want to incorporate in my project code from a few libs but the remainder can be linked dynamically.

Thank you in advance for the help.

PD: let me know if this is not possible or is a stupid question.

Miguel Gimenez:
Linking with static and dynamic libraries is no different, in the latter case you will need the DLL (or SO) file but only at runtime.

Navigation

[0] Message Index

Go to full version