Symbole externe non résolu "public: virtual void __thiscall wxAppConsole::OnAssert

Etienne SOBOLE etienne-nospam at tlk.fr
Thu Aug 3 06:00:49 PDT 2006


Hello.

I'm triyng to produce my first program with wswidget but I've got a linking 
problem. with visual C++ 2005 Express
my program work in release mode but in debug mode it tell me

LINK : warning LNK4098: conflit entre la bibliothèque par défaut 'MSVCRT' et 
les autres bibliothèques ; utilisez /NODEFAULTLIB:library

minimal.obj : error LNK2001: symbole externe non résolu "public: virtual 
void __thiscall wxAppConsole::OnAssert(char const *,int,char const *,char 
const *)" (?OnAssert at wxAppConsole@@UAEXPBDH00 at Z)

minimal.obj : error LNK2019: symbole externe non résolu "void __cdecl 
wxAssert(int,char const *,int,char const *,char const *)" 
(?wxAssert@@YAXHPBDH00 at Z) référencé dans la fonction "public: __thiscall 
wxStringBase::wxStringBase(class wxStringBase const &)" 
(??0wxStringBase@@QAE at ABV0@@Z)

I found how to set the /NODEFAULTLIB flag but it's worst...
If someone could help me (I found nothing on the net) !!!

thank's
Etiene









More information about the wx-users mailing list