2.8.0, WinCE and wxUSE_EXCEPTIONS

Mickey Mestel mickm at carmick.com
Wed Jan 17 15:49:03 PST 2007


hi,

    a follow on to my last message, i have an app compiled with 2.6.3, VS20=
05 and the Mobile 5.0 SDK.

    going to 2.8.0, i'm getting the following error messages:
Creating library .\Debug\NavSDKsamp1/NavSDKsamp1.lib and object .\Debug\Nav=
SDKsamp1/NavSDKsamp1.exp

SandApp.obj : error LNK2001: unresolved external symbol "public: virtual vo=
id __cdecl wxAppConsole::HandleEvent(class wxEvtHandler *,void (__cdecl wxE=
vtHandler::*)(class wxEvent &),class wxEvent &)const " (?HandleEvent at wxAppC=
onsole@@UBAXPAVwxEvtHandler@@P82 at AAXAAVwxEvent@@@Z1 at Z)

SandApp.obj : error LNK2001: unresolved external symbol "public: virtual bo=
ol __cdecl wxApp::OnExceptionInMainLoop(void)" (?OnExceptionInMainLoop at wxAp=
p@@UAA_NXZ)

.\Debug\NavSDKsamp1/NavSDKsamp1.exe : fatal error LNK1120: 2 unresolved ext=
ernals

    i have traced both of these functions down in their respective files, a=
nd both are surrounded by =


#if wxUSE_EXCEPTIONS

    where they are defined and used.  as near as i can tell, wxUSE_EXCEPTIO=
NS is on some places and off others.  i haven't been able to trace down whe=
re or why this is so.  i *have* been able to get around this by doing a

#define wxNO_EXCEPTIONS 1

    in my app file, before i include the widgets includes.  this allows me =
to compile, but is obviously not desirable.

    any thoughts on this?

    mickm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-dev/attachments/20070117/4ad35=
7e8/attachment.htm


More information about the wx-dev mailing list