cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Windows Programming
linking wxWidgets dynamically fails
linking wxWidgets dynamically fails
Oct 28, 2010 at 4:20pm UTC
mael15
(4)
hi everyone,
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. when linking statically, i get a lot of "symbol XYZ already defined in XYZ.lib".
i use vs2010 and what i did is this:
- follow instructions on
http://wiki.wxwidgets.org/Microsoft_Visual_C%2B%2B_Guide#Visual_Studio_C.2B.2B_2010
- build only the "DLL debug" profile (no errors)
- set paths:
http://img835.imageshack.us/img835/5417/includelib1.gif
- 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: Unresolved external symbol ""bool const wxFalse" (?wxFalse@@3_NB)".
what did i forget / do wrong?
thanx!!!
Topic archived. No new replies allowed.