News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Using wxWidgets as DLL vs Monolithis library

Started by Dark_Phoenix, December 25, 2009, 12:52:07 PM

Previous topic - Next topic

Dark_Phoenix

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

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?

Jenna

Not related to C::B, thus violating our forum rules.

Topic locked !