if someone tell me right sequence of headers and c files i try to compile by myself
working mingw enviroment with debugger - is not a big deal
Update:
trying to compile using gcc with command-line: gcc CvGameCoreDLL.cpp -I./include help me to make right c\headers in command line or help with these errors:
f:\mingw\lib\gcc\mingw32\4.8.1\include\c++\bits\basic_string.tcc:212:5: note: no known conversion for argument 1 from 'const XMLCh* {aka const short unsigned int*}' to 'const wchar_t*'
In file included from BoolExpr.h:14:0,
from CvGameObject.h:17,
from CvPlot.h:12,
from CvMap.h:17,
from CvGameCoreUtils.h:11,
from CvGameCoreDLL.cpp:14:
CvXMLLoadUtility.h:195:40: warning: invalid conversion from 'const XMLCh* {aka const short unsigned int*}' to 'const wchar_t*' [-fpermissive]
std::wistringstream stream(nodesText);
or
In file included from CvUnit.h:12:0,
from CvPlot.h:13,
from CvMap.h:17,
from CvGameCoreUtils.h:11,
from CvGameCoreDLL.cpp:14:
CvCity.h:2262:10: error: 'stdext' does not name a type
mutable stdext::hash_map<UnitCombatTypes,bool> m_canTrainCache;
^
CvCity.h:2263:10: error: 'stdext' does not name a type
mutable stdext::hash_map<UnitTypes,bool> m_canTrainCacheUnits;
^
CvCity.h:2264:10: error: 'stdext' does not name a type
mutable stdext::hash_map<UnitTypes,UnitTypes> m_eCachedAllUpgradesResults;
^
CvCity.h:2265:10: error: 'stdext' does not name a type
mutable stdext::hash_map<UnitTypes,UnitTypes> m_eCachedAllUpgradesResultsRoot;
^
CvCity.h:2269:44: error: 'NUM_YIELD_TYPES' was not declared in this scope
mutable int m_cachedBuildingYieldModifers[NUM_YIELD_TYPES];
^
CvCity.h:2272:42: error: 'NUM_COMMERCE_TYPES' was not declared in this scope
mutable int m_totalCommerceRateModifier[NUM_COMMERCE_TYPES];
GCC compile with most standart compilences and in situation where code badly\wrongly written VC just compile it , GCC will insist that code need to be fixed first!