Page 1 of 1

PocketPC WM5 - Linker errors under VS2008

PostPosted: Jan 5, 2010 @ 1:34am
by cgs
I cannot build a WM5 project due to linker errors
even though I have included the 'GledPlay.lib' in my project.
I am using VS2008.

I have tried:
- disabling Unicode == FAILED
- rebuilding the library for WM5 but get dozens of errors == FAILED
- linking with the eVC4 library == FAILED

Does anyone have library files compiled for WM5 PocketPC available for download?

//////////////
//here are the linker errors when linking with eVC4 lib file
//

Linking...
MainHandler.obj : error LNK2001: unresolved external symbol "public: virtual long __cdecl Surface::save(wchar_t const *,enum Surface::ImageFileType)" (?save@Surface@@UAAJPB_WW4ImageFileType@1@@Z)
MainHandler.obj : error LNK2001: unresolved external symbol "public: virtual long __cdecl Surface::create(unsigned long,wchar_t const *,struct HINSTANCE__ *)" (?create@Surface@@UAAJKPB_WPAUHINSTANCE__@@@Z)
MainHandler.obj : error LNK2001: unresolved external symbol "public: virtual long __cdecl Surface::create(wchar_t const *)" (?create@Surface@@UAAJPB_W@Z)
TestApplication.obj : error LNK2001: unresolved external symbol "public: virtual long __cdecl Application::setError(wchar_t const *)" (?setError@Application@@UAAJPB_W@Z)
TestApplication.obj : error LNK2001: unresolved external symbol "public: virtual wchar_t * __cdecl Application::getLastError(void)" (?getLastError@Application@@UAAPA_WXZ)
Windows Mobile 5.0 Pocket PC SDK (ARMV4I)\Release/GledPlayScrollTest_1.exe : fatal error LNK1120: 5 unresolved externals

GledPlayScrollTest_1 - 6 error(s), 0 warning(s)

PostPosted: Jan 6, 2010 @ 4:50pm
by cgs
I was able to build each library separately and then
add them all to my project;
(I didn't put them into a single library).