Hi all,
I'm having trouble getting the 2.0.15 Alpha build working. I was using VS2015 and successfully compiled using 2.0.14. Since the update last week I can't get anywhere. I've gone back to VS2013 for this alpha release in case 2015 was causing trouble for it. I've got errors down by linking the directories:
..\..\common\include
..\..\bullet
And, under Linker / General / Additional Library Dependencies I've added '..\..\platform\windows\Lib\VS2013\Debug' to link the AGKWindows.Lib. The errors I get are LNK2019, with a sample shown below:
1>AGKWindows.lib(Wrapper.obj) : error LNK2019: unresolved external symbol "public: int __thiscall ContactReport::GetObjectB(void)" (?GetObjectB@ContactReport@@QAEHXZ) referenced in function "public: static int __cdecl AGK::agk::GetObject3DPhysicsContactObjectB(void)" (?GetObject3DPhysicsContactObjectB@agk@AGK@@SAHXZ)
1>AGKWindows.lib(Wrapper.obj) : error LNK2019: unresolved external symbol "public: class btVector3 const & __thiscall ContactReport::GetContactPosition(void)const " (?GetContactPosition@ContactReport@@QBEABVbtVector3@@XZ) referenced in function "public: static float __cdecl AGK::agk::GetObject3DPhysicsContactX(void)" (?GetObject3DPhysicsContactX@agk@AGK@@SAMXZ)
1>AGKWindows.lib(Wrapper.obj) : error LNK2019: unresolved external symbol "public: static class ContactReport * __cdecl ContactReport::GetContact(void)" (?GetContact@ContactReport@@SAPAV1@XZ) referenced in function "public: static float __cdecl AGK::agk::GetObject3DPhysicsContactX(void)" (?GetObject3DPhysicsContactX@agk@AGK@@SAMXZ)
1>AGKWindows.lib(Wrapper.obj) : error LNK2019: unresolved external symbol "public: static class ContactReport * __cdecl ContactReport::GetNextContact(void)" (?GetNextContact@ContactReport@@SAPAV1@XZ) referenced in function "public: static int __cdecl AGK::agk::GetObject3DPhysicsNextContact(void)" (?GetObject3DPhysicsNextContact@agk@AGK@@SAHXZ)
1>AGKWindows.lib(Wrapper.obj) : error LNK2019: unresolved external symbol "public: __thiscall Joint::Joint(int,class btTypedConstraint *)" (??0Joint@@QAE@HPAVbtTypedConstraint@@@Z) referenced in function "public: static int __cdecl AGK::agk::Create3DPhysicsPickJoint(unsigned int,int)" (?Create3DPhysicsPickJoint@agk@AGK@@SAHIH@Z)
The template I'm working with is the one in the AGKLibs/apps directory - a copy of 'template_windows_vs2013'. The projects Platform Toolset is set to Visual Studio 2013 (v120), Character Set is set to 'Not Set', and Runtime Library set to Multi-threaded Debug (/MTd). All under DEBUG.
What am I doing wrong? Is something missing in AGKWindows.Lib? It seems to point to Wrapper.obj, which would presumably point to Wrapper.h / Wrapper.cpp but I can't access the .cpp file to check what's missing. Am I linking the AGKWindows.lib file more than once and of different versions so it doesn't know which to use? I thought that was the case before I uninstalled AppGameKit and deleted the directories it left behind before reinstalling.
Any help is much appreciated. Thanks.
S G-K