PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

PPC 2005 Build Errors

I'm at my wits end with this one.

I'm sure I must just be missing a lib directory but I can't figure out what it is. I have this project building for a PPC 2003 but I can't get a PPC 2005 build going. As far as I can tell I've got all the same paths set (with the proper changes for platform) but I must be missing something else.

This is my log file:

Code:

Compiling...
sudokurev.cpp
_CE_ACTIVEX was not defined because this Windows CE SDK does not have DCOM.
_CE_ACTIVEX could be caused to be defined by defining _CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA, but it is recommended that this be done only for single-threaded apps.
_ATL_NO_HOSTING was defined because _CE_ACTIVEX was not defined.
Compiling resources...
Linking...
libcpmtd.lib(cout.obj) : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@)
libcpmtd.lib(string.obj) : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@)
sudokurev.obj : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@)
edge.lib(edsp_2d.obj) : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@)
edge.lib(edge.obj) : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@)
edge.lib(edsp_base.obj) : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@)
sudokurev.obj : error LNK2019: unresolved external symbol "void __cdecl `eh vector destructor iterator'(void *,unsigned int,int,void (__cdecl*)(void *))" (??_M@YAXPAXIHP6AX0@Z@Z) referenced in function __unwind$68069
sudokurev.obj : error LNK2019: unresolved external symbol "void __cdecl `eh vector constructor iterator'(void *,unsigned int,int,void (__cdecl*)(void *),void (__cdecl*)(void *))" (??_L@YAXPAXIHP6AX0@Z1@Z) referenced in function "public: __cdecl ClassMenu::ClassMenu(void)" (??0ClassMenu@@QAA@XZ)
sudokurev.obj : error LNK2001: unresolved external symbol "public: __cdecl std::exception::exception(class std::exception const &)" (??0exception@std@@QAA@ABV01@@Z)
libcpmtd.lib(cout.obj) : error LNK2001: unresolved external symbol "public: __cdecl std::exception::exception(class std::exception const &)" (??0exception@std@@QAA@ABV01@@Z)
libcpmtd.lib(string.obj) : error LNK2001: unresolved external symbol "public: __cdecl std::exception::exception(class std::exception const &)" (??0exception@std@@QAA@ABV01@@Z)
sudokurev.obj : error LNK2019: unresolved external symbol "public: virtual __cdecl std::exception::~exception(void)" (??1exception@std@@UAA@XZ) referenced in function __unwind$73263
libcpmtd.lib(cout.obj) : error LNK2001: unresolved external symbol "public: virtual __cdecl std::exception::~exception(void)" (??1exception@std@@UAA@XZ)
libcpmtd.lib(string.obj) : error LNK2001: unresolved external symbol "public: virtual __cdecl std::exception::~exception(void)" (??1exception@std@@UAA@XZ)
sudokurev.obj : error LNK2019: unresolved external symbol "public: __cdecl std::exception::exception(void)" (??0exception@std@@QAA@XZ) referenced in function "public: __cdecl std::runtime_error::runtime_error(class std::basic_string,class std::allocator > const &)" (??0runtime_error@std@@QAA@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@@Z)
libcpmtd.lib(cout.obj) : error LNK2001: unresolved external symbol "public: __cdecl std::exception::exception(void)" (??0exception@std@@QAA@XZ)
libcpmtd.lib(string.obj) : error LNK2001: unresolved external symbol "public: __cdecl std::exception::exception(void)" (??0exception@std@@QAA@XZ)
sudokurev.obj : error LNK2019: unresolved external symbol "bool __cdecl std::uncaught_exception(void)" (?uncaught_exception@std@@YA_NXZ) referenced in function "public: __cdecl std::basic_ostream >::sentry::~sentry(void)" (??1sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAA@XZ)
sudokurev.obj : error LNK2019: unresolved external symbol "public: __cdecl std::exception::exception(char const *)" (??0exception@std@@QAA@PBD@Z) referenced in function "public: __cdecl std::bad_alloc::bad_alloc(char const *)" (??0bad_alloc@std@@QAA@PBD@Z)
libcpmtd.lib(cout.obj) : error LNK2001: unresolved external symbol "public: __cdecl std::exception::exception(char const *)" (??0exception@std@@QAA@PBD@Z)
libcpmtd.lib(string.obj) : error LNK2001: unresolved external symbol "public: __cdecl std::exception::exception(char const *)" (??0exception@std@@QAA@PBD@Z)
sudokurev.obj : error LNK2001: unresolved external symbol "public: virtual char const * __cdecl std::exception::what(void)const " (?what@exception@std@@UBAPBDXZ)
libcpmtd.lib(cout.obj) : error LNK2001: unresolved external symbol "public: virtual char const * __cdecl std::exception::what(void)const " (?what@exception@std@@UBAPBDXZ)
libcpmtd.lib(string.obj) : error LNK2001: unresolved external symbol "public: virtual char const * __cdecl std::exception::what(void)const " (?what@exception@std@@UBAPBDXZ)
libcpmtd.lib(cout.obj) : error LNK2001: unresolved external symbol __security_cookie
LIBCMTD.lib(dbgrpt.obj) : error LNK2001: unresolved external symbol __security_cookie
LIBCMTD.lib(dbgrptt.obj) : error LNK2019: unresolved external symbol __security_cookie referenced in function _VCrtDbgReportW
edge.lib(emod_register.obj) : error LNK2001: unresolved external symbol __security_cookie
edge.lib(emod_ini.obj) : error LNK2001: unresolved external symbol __security_cookie
edge.lib(emod_connect.obj) : error LNK2001: unresolved external symbol __security_cookie
edge.lib(eldr_3ds.obj) : error LNK2001: unresolved external symbol __security_cookie
edge.lib(edge.obj) : error LNK2001: unresolved external symbol __security_cookie
edge.lib(eldr_bmp.obj) : error LNK2001: unresolved external symbol __security_cookie
edge.lib(esurf_3d.obj) : error LNK2001: unresolved external symbol __security_cookie
edge.lib(eldr_gif.obj) : error LNK2001: unresolved external symbol __security_cookie
edge.lib(esurf_2drgba.obj) : error LNK2001: unresolved external symbol __security_cookie
edge.lib(emod_memory.obj) : error LNK2001: unresolved external symbol __security_cookie
edge.lib(edsp_2d.obj) : error LNK2001: unresolved external symbol __security_cookie
edge.lib(emod_device.obj) : error LNK2001: unresolved external symbol __security_cookie
edge.lib(emod_std.obj) : error LNK2001: unresolved external symbol __security_cookie
edge.lib(esurf_2d.obj) : error LNK2001: unresolved external symbol __security_cookie
edge.lib(emod_console.obj) : error LNK2001: unresolved external symbol __security_cookie
edge.lib(emod_file.obj) : error LNK2001: unresolved external symbol __security_cookie
libcpmtd.lib(cout.obj) : error LNK2001: unresolved external symbol __security_check_cookie
LIBCMTD.lib(dbgrpt.obj) : error LNK2019: unresolved external symbol __security_check_cookie referenced in function __crtMessageWindowW
LIBCMTD.lib(dbgrptt.obj) : error LNK2001: unresolved external symbol __security_check_cookie
edge.lib(emod_register.obj) : error LNK2001: unresolved external symbol __security_check_cookie
edge.lib(emod_ini.obj) : error LNK2001: unresolved external symbol __security_check_cookie
edge.lib(emod_connect.obj) : error LNK2001: unresolved external symbol __security_check_cookie
edge.lib(eldr_3ds.obj) : error LNK2001: unresolved external symbol __security_check_cookie
edge.lib(edge.obj) : error LNK2001: unresolved external symbol __security_check_cookie
edge.lib(eldr_bmp.obj) : error LNK2001: unresolved external symbol __security_check_cookie
edge.lib(esurf_3d.obj) : error LNK2001: unresolved external symbol __security_check_cookie
edge.lib(eldr_gif.obj) : error LNK2001: unresolved external symbol __security_check_cookie
edge.lib(esurf_2drgba.obj) : error LNK2001: unresolved external symbol __security_check_cookie
edge.lib(emod_memory.obj) : error LNK2001: unresolved external symbol __security_check_cookie
edge.lib(edsp_2d.obj) : error LNK2001: unresolved external symbol __security_check_cookie
edge.lib(emod_device.obj) : error LNK2001: unresolved external symbol __security_check_cookie
edge.lib(emod_std.obj) : error LNK2001: unresolved external symbol __security_check_cookie
edge.lib(esurf_2d.obj) : error LNK2001: unresolved external symbol __security_check_cookie
edge.lib(emod_console.obj) : error LNK2001: unresolved external symbol __security_check_cookie
edge.lib(emod_file.obj) : error LNK2001: unresolved external symbol __security_check_cookie



Can you guys tell me what I'm missing from the calls its trying to make in the source objects?
Hi Jeffer,

Maybe the project is wrong because it tries to include ActiveX, or is it intentional? Maybe recreating the project workspace will help. Also, can you compile the helloworld sample for Pocket PC 2005?

You may also try reinstalling the Pocket PC 2005 SDK if all doesn't work.

To resolve the linker errors you can try changing the configuration to release, disable libc.lib in the project options or disable buffer overflow checking (this can be set in the project options at C++ -> Code generation).