link wxmsw2.9 release : pb with wxTextCtrl

Riccardo Cohen rcohen at articque.com
Thu Oct 11 09:32:13 PDT 2007


Hi
I could compile my application with wx2.9 (last month download) on 
macosx, windows and linux. in debug mode.

I tried then to do the same in release mode. On windows I found a 
strange error :

wxmsw.lib(monolib_textcmn.obj) : error LNK2005: "public: virtual enum 
wxTextCtrlHitTestResult __thiscall wxTextCtrlBase::HitTest(class wxPoint 
const &,long *,long *)const " 
(?HitTest at wxTextCtrlBase@@UBE?AW4wxTextCtrlHitTestResult@@ABVwxPoint@@PAJ1 at Z) 
already defined in acolsel.obj

wxmsw.lib(monolib_textcmn.obj) : error LNK2005: "public: virtual enum 
wxTextCtrlHitTestResult __thiscall wxTextCtrlBase::HitTest(class wxPoint 
const &,long *)const " 
(?HitTest at wxTextCtrlBase@@UBE?AW4wxTextCtrlHitTestResult@@ABVwxPoint@@PAJ at Z) 
already defined in acolsel.obj


awxwinutil.obj : error LNK2001: unresolved external symbol "public: 
virtual void __thiscall wxTextEntryBase::AppendText(class wxString const 
&)" (?AppendText at wxTextEntryBase@@UAEXABVwxString@@@Z)

template.obj : error LNK2001: unresolved external symbol "public: 
virtual void __thiscall wxTextEntryBase::AppendText(class wxString const 
&)" (?AppendText at wxTextEntryBase@@UAEXABVwxString@@@Z)

and many others wxTextCtrl:: wxTextBase:: wxTextEntry:: unresolved.
Is there any clue for that ?
Thanks

PS: I compiled wxWidgets with :

nmake -f makefile.vc BUILD=release UNICODE=0 SHARED=0 MONOLITHIC=1 
USE_OPENGL=1 RUNTIME_LIBS=static


-- 
Très cordialement,

Riccardo Cohen
-------------------------------------------
Articque
http://www.articque.com
149 av Général de Gaulle
37230 Fondettes - France
tel : 02-47-49-90-49
fax : 02-47-49-91-49




More information about the wx-users mailing list