cannot link dynamically to wxWidgets Topic is solved

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
mael15
Super wx Problem Solver
Super wx Problem Solver
Posts: 462
Joined: Fri May 22, 2009 8:52 am
Location: Bremen, Germany

cannot link dynamically to wxWidgets

Post by mael15 » Thu Oct 28, 2010 2:43 pm

hi everyone,

this is a thread continued from this post in the wxWidgets section: http://forums.wxwidgets.org/viewtopic.php?t=29235

my problem is, that i am not able to get a dynamically linked wxwidgets to work. i have to link dynamically, because my app and one dll both use wx libraries.

i use vs2010 and what i did is this:
- follow instructions on http://wiki.wxwidgets.org/Microsoft_Vis ... 2B.2B_2010
- build only the "DLL debug" profile (no errors)
- set paths:
Image[/url]
- link to wxmsw29ud_core.lib & wxbase29ud.lib (though the error is the same when i do not link these two)

and when i compile, i get a lot of errors starting with
error LNK2001: Nicht aufgelöstes externes Symbol ""bool const wxFalse" ([email protected]@3_NB)".
what did i forget / do wrong?
thanx!!!

mael15
Super wx Problem Solver
Super wx Problem Solver
Posts: 462
Joined: Fri May 22, 2009 8:52 am
Location: Bremen, Germany

Post by mael15 » Fri Oct 29, 2010 12:00 pm

problem is solved, i had to change my preprocessor symbols to only _DEBUG and WXUSINGDLL. before that, my project did not use the wx dll version.

Post Reply