Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Dark_Phoenix on December 25, 2009, 12:52:07 pm

Title: Using wxWidgets as DLL vs Monolithis library
Post by: Dark_Phoenix on December 25, 2009, 12:52:07 pm
Just a quick question...
I have been using Code::Blocks to develope wxWidgets apps for a while now with no problems.  I have always used wxWidgets as a monolithic library but now I am looking into using it as DLL's to cut down on program size.  I keep getting linker errors and I am not sure what I need to link against.  Current errors are
Code
error LNK2001: unresolved external symbol "public: virtual void __thiscall wxAppConsole::OnAssertFailure(char const *,int,char const *,char const *,char const *)" (?OnAssertFailure@wxAppConsole@@UAEXPBDH000@Z)|
error LNK2001: unresolved external symbol "public: virtual void __thiscall wxAppConsole::OnAssert(char const *,int,char const *,char const *)" (?OnAssert@wxAppConsole@@UAEXPBDH00@Z)|
What do I need to link against to allow compilation using wxWidgets as DLL's?
Title: Re: Using wxWidgets as DLL vs Monolithis library
Post by: Jenna on December 25, 2009, 03:11:17 pm
Not related to C::B, thus violating our forum rules.

Topic locked !