Hi,
Sorry to bother you again but I´m getting some unresolved external that I don´t know where they come from. I think I´m doing things exatly the same unit tests does, but I´m still getting this external. They appear where I add this:
SQClassDef<Player>(_T("Player"))
.overloadFunc<bool (Player::*)(float,float,float,float,float)>(&Player::Init, _T("Init"))
.overloadFunc<bool (Player::*)(const char*)>(&Player::Init, _T("Init"))
.func(&Player::GetDexterity,_T("GetDexterity"))
.func(&Player::GetDefense,_T("GetDefense"))
.func(&Player::GetVitality,_T("GetVitality"))
.func(&Player::GetPower,_T("GetPower"))
.func(&Player::GetConcentration,_T("GetConcentration"))
.func(&Player::GetLevel,_T("GetLevel"))
.func(&Player::SetDexterity,_T("SetDexterity"))
.func(&Player::SetVitality,_T("SetVitality"))
.func(&Player::SetDefense,_T("SetDefense"))
.func(&Player::SetPower,_T("SetPower"))
.func(&Player::SetLevel,_T("SetLevel"));
The unresolved external simbols are:
unresolved external symbol "public: static class SquirrelObject __cdecl SquirrelVM::CreateFunction(class SquirrelObject &,int (__cdecl*)(struct SQVM *),wchar_t
const *,wchar_t const *)"
unresolved external symbol "int __cdecl SqPlus::CreateClass(struct SQVM *,class SquirrelObject &,void *,wchar_t const *,wchar_t const *)"
unresolved external symbol "public: class SquirrelObject __thiscall SquirrelObject::GetValue(wchar_t const *)const "
unresolved external symbol "public: int __thiscall SquirrelObject::SetValue(wchar_t const *,class SquirrelObject const &)"
unresolved external symbol "public: int __thiscall SquirrelObject::Exists(wchar_t const *)const "
unresolved external symbol "public: int __thiscall SquirrelObject::SetValue(wchar_t const *,int)"
unresolved external symbol "public: static class SquirrelObject __cdecl SquirrelVM::CreateFunction(int (__cdecl*)(struct SQVM *),wchar_t const *,wchar_t const *)"
Can anyone give any tip here? I have linked the last sqlplus shot with the test unit whitout any problem, so it stands problem is not the new sql plus build with squirrel 2.2.1.
Thanks in advance,
HexDump.