User forums > Using Code::Blocks

Using wxWidgets as DLL vs Monolithis library

(1/1)

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

--- 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)|
--- End code ---
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 !

Navigation

[0] Message Index

Go to full version