News:

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

Main Menu

Link statically just some libs

Started by cdavalillo, January 04, 2022, 12:04:05 PM

Previous topic - Next topic

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.