Ok, starting with my first c++ noob question, got that trying to compile the source without changing anything in the code:
any idea of what could be wrong with my configuration ?
Code:
1>Lua\CvLuaPlayer.cpp(3445): error C2665: 'CvLuaMethodWrapper<Derived,InstanceType>::BasicLuaMethod' : none of the 4 overloads could convert all the argument types
1> with
1> [
1> Derived=CvLuaPlayer,
1> InstanceType=CvPlayerAI
1> ]
1> \Documents\Dev\CvGameCoreSource\CvGameCoreDLLUtil\include\CvLuaMethodWrapper.h(68): could be 'int CvLuaMethodWrapper<Derived,InstanceType>::BasicLuaMethod<TeamTypes>(lua_State *,ret (__thiscall CvPlayerAI::* )(void) const)'
1> with
1> [
1> Derived=CvLuaPlayer,
1> InstanceType=CvPlayerAI,
1> ret=TeamTypes
1> ]
1> \Documents\Dev\CvGameCoreSource\CvGameCoreDLLUtil\include\CvLuaMethodWrapper.h(120): or 'int CvLuaMethodWrapper<Derived,InstanceType>::BasicLuaMethod<TeamTypes>(lua_State *,ret (__thiscall CvPlayerAI::* )(void))'
1> with
1> [
1> Derived=CvLuaPlayer,
1> InstanceType=CvPlayerAI,
1> ret=TeamTypes
1> ]
1> \Documents\Dev\CvGameCoreSource\CvGameCoreDLLUtil\include\CvLuaMethodWrapper.h(39): or 'int CvLuaMethodWrapper<Derived,InstanceType>::BasicLuaMethod(lua_State *,void (__thiscall CvPlayerAI::* )(void) const)'
1> with
1> [
1> Derived=CvLuaPlayer,
1> InstanceType=CvPlayerAI
1> ]
1> \Documents\Dev\CvGameCoreSource\CvGameCoreDLLUtil\include\CvLuaMethodWrapper.h(50): or 'int CvLuaMethodWrapper<Derived,InstanceType>::BasicLuaMethod(lua_State *,void (__thiscall CvPlayerAI::* )(void))'
1> with
1> [
1> Derived=CvLuaPlayer,
1> InstanceType=CvPlayerAI
1> ]
1> while trying to match the argument list '(lua_State *, overloaded-function)'
any idea of what could be wrong with my configuration ?