heinous_hat
Prince
Hi all,
I'm hoping someone can help point to the source of the following errors when building the project "as is" from the cloned git repository... I've looked at the linker settings and can't seem to work it out:
I don't get these errors with my setup when building a dll from any other source (e.g. the original SDK source, Gedemon's R.E.D. dll etc). The vanilla and the G&K projects in the CP repository also build without error... it's just CvGameCoreDLL_Expansion2 generating these definition errors. It's identical when loading the respective project in either VS2010 or VS2008 (I'm using the Express versions of both).
I presume I'm committing some oversight with 3rd party libs. Any insight would be greatly appreciated. My goal, at this point, is simply to follow along with development and try my hand at debugging.
I'm hoping someone can help point to the source of the following errors when building the project "as is" from the cloned git repository... I've looked at the linker settings and can't seem to work it out:
Spoiler :
1>------ Build started: Project: CvGameCoreDLL_Expansion2, Configuration: Mod Win32 ------
1>cl : Command line warning D9040: ignoring option '/analyze'; Code Analysis warnings are not available in this edition of the compiler
1> _precompile.cpp
1>C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FLua/Include/FLuaFStringSupport.h(25): error C2027: use of undefined type 'FStringA'
1> C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FDataStream.h(25) : see declaration of 'FStringA'
1>C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FLua/Include/FLuaFStringSupport.h(25): error C2027: use of undefined type 'FStringA'
1> C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FDataStream.h(25) : see declaration of 'FStringA'
1>C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FLua/Include/FLuaFStringSupport.h(26): error C2027: use of undefined type 'FStringA'
1> C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FDataStream.h(25) : see declaration of 'FStringA'
1>C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FLua/Include/FLuaFStringSupport.h(26): error C2228: left of '.c_str' must have class/struct/union
1>C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FLua/Include/FLuaFStringSupport.h(36): error C2079: 'sConverted' uses undefined class 'FStringA'
1>C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FLua/Include/FLuaFStringSupport.h(37): error C2027: use of undefined type 'FStringW'
1> C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FDataStream.h(26) : see declaration of 'FStringW'
1>C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FLua/Include/FLuaFStringSupport.h(37): error C3861: 'CopyToUTF8': identifier not found
1>C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FLua/Include/FLuaFStringSupport.h(38): error C2228: left of '.c_str' must have class/struct/union
1> type is 'int'
1>C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FLua/Include/FLuaFStringSupport.h(51): error C2027: use of undefined type 'FStringW'
1> C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FDataStream.h(26) : see declaration of 'FStringW'
1>C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FLua/Include/FLuaFStringSupport.h(51): error C2027: use of undefined type 'FStringW'
1> C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FDataStream.h(26) : see declaration of 'FStringW'
1>C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FLua/Include/FLuaFStringSupport.h(48): error C2079: 'sConvert' uses undefined class 'FStringW'
1>C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FLua/Include/FLuaFStringSupport.h(49): error C2228: left of '.CopyUTF8' must have class/struct/union
1> type is 'int'
1>C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FLua/Include/FLuaFStringSupport.h(55): error C2027: use of undefined type 'FStringW'
1> C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FDataStream.h(26) : see declaration of 'FStringW'
1>C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FLua/Include/FLuaFStringSupport.h(55): error C2228: left of '.c_str' must have class/struct/union
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
1>cl : Command line warning D9040: ignoring option '/analyze'; Code Analysis warnings are not available in this edition of the compiler
1> _precompile.cpp
1>C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FLua/Include/FLuaFStringSupport.h(25): error C2027: use of undefined type 'FStringA'
1> C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FDataStream.h(25) : see declaration of 'FStringA'
1>C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FLua/Include/FLuaFStringSupport.h(25): error C2027: use of undefined type 'FStringA'
1> C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FDataStream.h(25) : see declaration of 'FStringA'
1>C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FLua/Include/FLuaFStringSupport.h(26): error C2027: use of undefined type 'FStringA'
1> C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FDataStream.h(25) : see declaration of 'FStringA'
1>C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FLua/Include/FLuaFStringSupport.h(26): error C2228: left of '.c_str' must have class/struct/union
1>C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FLua/Include/FLuaFStringSupport.h(36): error C2079: 'sConverted' uses undefined class 'FStringA'
1>C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FLua/Include/FLuaFStringSupport.h(37): error C2027: use of undefined type 'FStringW'
1> C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FDataStream.h(26) : see declaration of 'FStringW'
1>C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FLua/Include/FLuaFStringSupport.h(37): error C3861: 'CopyToUTF8': identifier not found
1>C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FLua/Include/FLuaFStringSupport.h(38): error C2228: left of '.c_str' must have class/struct/union
1> type is 'int'
1>C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FLua/Include/FLuaFStringSupport.h(51): error C2027: use of undefined type 'FStringW'
1> C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FDataStream.h(26) : see declaration of 'FStringW'
1>C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FLua/Include/FLuaFStringSupport.h(51): error C2027: use of undefined type 'FStringW'
1> C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FDataStream.h(26) : see declaration of 'FStringW'
1>C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FLua/Include/FLuaFStringSupport.h(48): error C2079: 'sConvert' uses undefined class 'FStringW'
1>C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FLua/Include/FLuaFStringSupport.h(49): error C2228: left of '.CopyUTF8' must have class/struct/union
1> type is 'int'
1>C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FLua/Include/FLuaFStringSupport.h(55): error C2027: use of undefined type 'FStringW'
1> C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FDataStream.h(26) : see declaration of 'FStringW'
1>C:\Users\Kurisu\Documents\Visual Studio 2010\Projects\Community-Patch-DLL-master\FirePlace\include\Fireworks/FLua/Include/FLuaFStringSupport.h(55): error C2228: left of '.c_str' must have class/struct/union
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I don't get these errors with my setup when building a dll from any other source (e.g. the original SDK source, Gedemon's R.E.D. dll etc). The vanilla and the G&K projects in the CP repository also build without error... it's just CvGameCoreDLL_Expansion2 generating these definition errors. It's identical when loading the respective project in either VS2010 or VS2008 (I'm using the Express versions of both).
I presume I'm committing some oversight with 3rd party libs. Any insight would be greatly appreciated. My goal, at this point, is simply to follow along with development and try my hand at debugging.