So, much like many people, I've encountered problems compiling a blank AppGameKit template project in VC++ 2010. (I like C++... I don\'t like the environment...)
After a bunch of messing with the Linker and Project Settings and everything else VC++ decided was wrong with the universe... I gave up and came to the forums looking for help. Searched up a ton of topics about people having issues, but no one seemed to have the same issues as I\'m having.
So here\'s the compiler output, NOT in its entirety because the forum won't let me post a message that long apparently, in hopes someone can tell me why the AppGameKit lib is hitting so many problems during link time.
1>------ Build started: Project: VisualizerMagic, Configuration: Debug Win32 ------
1>Core.obj : error LNK2019: unresolved external symbol __RTC_CheckEsp referenced in function \"int __cdecl AppInitCode(char *)\" (?AppInitCode@@YAHPAD@Z)
1>Main.obj : error LNK2001: unresolved external symbol __RTC_CheckEsp
1>Core.obj : error LNK2001: unresolved external symbol __RTC_Shutdown
1>Main.obj : error LNK2001: unresolved external symbol __RTC_Shutdown
1>Core.obj : error LNK2001: unresolved external symbol __RTC_InitBase
1>Main.obj : error LNK2001: unresolved external symbol __RTC_InitBase
1>Core.obj : error LNK2019: unresolved external symbol _strlen referenced in function \"void __cdecl Output(char const *)\" (?Output@@YAXPBD@Z)
1>Core.obj : error LNK2019: unresolved external symbol @_RTC_CheckStackVars@8 referenced in function \"void __cdecl Output(char const *)\" (?Output@@YAXPBD@Z)
1>AGKWindows.lib(ECI.obj) : error LNK2001: unresolved external symbol ___security_cookie
1>AGKWindows.lib(ResultPoint.obj) : error LNK2001: unresolved external symbol ___security_cookie
1>AGKWindows.lib(Mode.obj) : error LNK2001: unresolved external symbol ___security_cookie
1>AGKWindows.lib(DataMask.obj) : error LNK2001: unresolved external symbol ___security_cookie
1>AGKWindows.lib(AlignmentPattern.obj) : error LNK2001: unresolved external symbol ___security_cookie
1>AGKWindows.lib(FinderPattern.obj) : error LNK2001: unresolved external symbol ___security_cookie
1>AGKWindows.lib(BitSource.obj) : error LNK2001: unresolved external symbol ___security_cookie
1>AGKWindows.lib(CharacterSetECI.obj) : error LNK2019: unresolved external symbol ___security_cookie referenced in function \"private: static bool __cdecl zxing::common::CharacterSetECI::init_tables(void)\" (?init_tables@CharacterSetECI@common@zxing@@CA_NXZ)
1>AGKWindows.lib(StringUtils.obj) : error LNK2001: unresolved external symbol ___security_cookie
.
.
.
1>AGKWindows.lib(gzlib.obj) : error LNK2019: unresolved external symbol __lseeki64 referenced in function _gzoffset64
1>c:\\users\\plystire\\documents\\visual studio 2010\\Projects\\VisualizerMagic\\Debug\\/VisualizerMagic.exe : fatal error LNK1120: 184 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
If I set \"Ignore all default libraries\" to \"No\", this is what I get.
This one is actually about 1/200 the size of the previous one, but has an extra lib gumming up the works.
1>------ Build started: Project: VisualizerMagic, Configuration: Debug Win32 ------
1>LIBCMT.lib(invarg.obj) : error LNK2005: __initp_misc_invarg already defined in LIBCMTD.lib(invarg.obj)
1>LIBCMT.lib(invarg.obj) : error LNK2005: __call_reportfault already defined in LIBCMTD.lib(invarg.obj)
1>LIBCMT.lib(invarg.obj) : error LNK2005: __set_invalid_parameter_handler already defined in LIBCMTD.lib(invarg.obj)
1>LIBCMT.lib(invarg.obj) : error LNK2005: __get_invalid_parameter_handler already defined in LIBCMTD.lib(invarg.obj)
1>LIBCMT.lib(invarg.obj) : error LNK2005: __invoke_watson already defined in LIBCMTD.lib(invarg.obj)
1>LIBCMT.lib(invarg.obj) : error LNK2005: \"void __cdecl _invoke_watson(unsigned short const *,unsigned short const *,unsigned short const *,unsigned int,unsigned int)\" (?_invoke_watson@@YAXPBG00II@Z) already defined in LIBCMTD.lib(invarg.obj)
1>LIBCMT.lib(invarg.obj) : error LNK2005: __invalid_parameter already defined in LIBCMTD.lib(invarg.obj)
1>LIBCMT.lib(invarg.obj) : error LNK2005: \"void __cdecl _invalid_parameter(unsigned short const *,unsigned short const *,unsigned short const *,unsigned int,unsigned int)\" (?_invalid_parameter@@YAXPBG00II@Z) already defined in LIBCMTD.lib(invarg.obj)
1>LIBCMT.lib(invarg.obj) : error LNK2005: ___pInvalidArgHandler already defined in LIBCMTD.lib(invarg.obj)
1>LINK : warning LNK4098: defaultlib \'LIBCMT\' conflicts with use of other libs; use /NODEFAULTLIB:library
1>AGKWindows.lib(DataMask.obj) : error LNK2019: unresolved external symbol \"public: static void __cdecl std::_String_base::_Xran(void)\" (?_Xran@_String_base@std@@SAXXZ) referenced in function \"class zxing::Ref<class zxing::qrcode::DataMask> * __cdecl std::_Allocate<class zxing::Ref<class zxing::qrcode::DataMask> >(unsigned int,class zxing::Ref<class zxing::qrcode::DataMask> *)\" (??$_Allocate@V?$Ref@VDataMask@qrcode@zxing@@@zxing@@@std@@YAPAV?$Ref@VDataMask@qrcode@zxing@@@zxing@@IPAV12@@Z)
1>AGKWindows.lib(ECI.obj) : error LNK2001: unresolved external symbol \"public: static void __cdecl std::_String_base::_Xran(void)\" (?_Xran@_String_base@std@@SAXXZ)
1>AGKWindows.lib(CharacterSetECI.obj) : error LNK2001: unresolved external symbol \"public: static void __cdecl std::_String_base::_Xran(void)\" (?_Xran@_String_base@std@@SAXXZ)
1>AGKWindows.lib(StringUtils.obj) : error LNK2001: unresolved external symbol \"public: static void __cdecl std::_String_base::_Xran(void)\" (?_Xran@_String_base@std@@SAXXZ)
1>AGKWindows.lib(ErrorCorrectionLevel.obj) : error LNK2001: unresolved external symbol \"public: static void __cdecl std::_String_base::_Xran(void)\" (?_Xran@_String_base@std@@SAXXZ)
.
.
.
1>AGKWindows.lib(BitMatrix.obj) : error LNK2001: unresolved external symbol \"long const std::_BADOFF\" (?_BADOFF@std@@3JB)
1>AGKWindows.lib(LuminanceSource.obj) : error LNK2001: unresolved external symbol \"long const std::_BADOFF\" (?_BADOFF@std@@3JB)
1>AGKWindows.lib(GF256Poly.obj) : error LNK2001: unresolved external symbol \"long const std::_BADOFF\" (?_BADOFF@std@@3JB)
1>c:\\users\\plystire\\documents\\visual studio 2010\\Projects\\VisualizerMagic\\Debug\\/VisualizerMagic.exe : fatal error LNK1120: 5 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
What's going on? I'm at my wit's end.
. . . Also, please ignore extra backslashes in this post, the forum put them there when the first attempt failed.
[EDIT]
I'm using AppGameKit Trial, btw. Just thought I'd mention that in case it was important.
~Plystire
A rose is only a rose until it is held and cherished -- then it becomes a treasure.