Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: EntityReborn on March 22, 2009, 10:06:18 pm

Title: How to link to dynamic library.
Post by: 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.

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 :)
Title: Re: How to link to dynamic library.
Post by: ollydbg on March 23, 2009, 02:41:22 am
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.
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
Title: Re: How to link to dynamic library.
Post by: EntityReborn on March 23, 2009, 06:32:30 am
Sorry, I solved it! Thanks!