Windows Mobile 6 + minimal = linkerrors?

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
mark_s
In need of some credit
In need of some credit
Posts: 1
Joined: Tue Mar 15, 2011 11:46 am

Windows Mobile 6 + minimal = linkerrors?

Post by mark_s »

Hi Experts,
we develop software with wxwidgets for win32 since some years - which works fine. Now we were asked to write a program for a windows mobile machine. We use Visual Studio 2005, wxWidgets 2.8.11 - followed the wx-tutorial and downloaded all the stuff (win mobile 6 SDK, Windows Mobile 6.5.3 DTK)
We compiled the wxwince libs and tried to compile and link the minimal sample. After several changes in include paths we could compile minimal - but we get everytime linker errors:

1>minimal.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual void __cdecl wxAppConsole::HandleEvent(class wxEvtHandler *,void (__cdecl wxEvtHandler::*)(class wxEvent &),class wxEvent &)const " (?HandleEvent@wxAppConsole@@UBAXPAVwxEvtHandler@@P82@AAXAAVwxEvent@@@Z1@Z)".
1>minimal.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual bool __cdecl wxApp::OnExceptionInMainLoop(void)" (?OnExceptionInMainLoop@wxApp@@UAA_NXZ)".
1>Windows Mobile 6 Professional SDK (ARMV4I)\Debug/KIKCX.exe : fatal error LNK1120: 2 nicht aufgelöste externe Verweise.
1>Das Buildprotokoll wurde unter "file://d:\dev\KIKCX\KIKCX\Windows Mobile 6 Professional SDK (ARMV4I)\Debug\BuildLog.htm" gespeichert.

both functions should be undefined...???

How can I get a wx sample running unter windows mobile 6.5 (emulator)?
Does anybody have a working wx-program running under WM 6.5?

I am pleased to get a hint, how to get this working.
Sincerly
Mark
Post Reply