Hello,
I seem to be having some problems with SqPlus when pushing a custom class to the script.
I can define it fine and it works when i do 'local vec = Vector( 0.0, 0.0, 0.0 );'
But when i come to doing Push( v, vec ); in C++ i get this error:
error LNK2019: unresolved external symbol "void __cdecl SqPlus::Push(struct SQVM *,class Vector &)" (??$Push@VVector@@@SqPlus@@YAXPAUSQVM@@AAVVector@@@Z) referenced in function "public: static int __cdecl CSQPlayerFuncs::GetPos(struct SQVM *)" (?GetPos@CSQPlayerFuncs@@SAHPAUSQVM@@@Z) SQPlayerFuncs.obj
I am using the latest SqPlus from the SVN repository and Squirrel 3.0 Alpha 1 and compiling using Visual Studio 2005
Any help would be greatly appreciated