User forums > Using Code::Blocks

How to link to dynamic library.

(1/1)

EntityReborn:
While I know this forum is dedicated to C::B, and this topic may fall out of scope in that regard, I think it doesn't because I can't figure out how to get C::B to do what I want.
I have my app, and a dynamic library. How do I get my App to reference to the Library, without the Library being static.

On another note, I have code I would like someone to look at in depth. It's causing me a headache with segfaults, and if anyone has the time, we'll connect elsewhere, just gimme a heads up.

Please note, I'm new to C++ (not to general coding tho), so be patient :)

ollydbg:

--- Quote from: EntityReborn on March 22, 2009, 10:06:18 pm ---While I know this forum is dedicated to C::B, and this topic may fall out of scope in that regard, I think it doesn't because I can't figure out how to get C::B to do what I want.
I have my app, and a dynamic library. How do I get my App to reference to the Library, without the Library being static.

--- End quote ---
which version? Which OS? I can only explain some stuff on Windows.
This is the sample project which as a target of an exe  and a DLL as shared library.
http://forums.codeblocks.org/index.php?action=dlattach;topic=4896.0;attach=1707

EntityReborn:
Sorry, I solved it! Thanks!

Navigation

[0] Message Index

Go to full version