I just purchased and downloaded DarkGDK Freeware,
and I cannot build the sample program listed in the documentation.
I have Visual Studio 2003 version 7.1.3088
and DirectX 9.0c (4.09.0000.0904)
I created a new Win32 Project, set the "empty" flag, and then added a new .cpp file, added the following code to it:
#include "DarkGDK.h"
void DarkGDK(void)
{
dbSyncOn ();
while(LoopGDK())
{
dbSync();
}
}
Pressing F7 (build solution) results in the following errors:
LINK: warning LNK4098: defaultlib 'LIBCMT' conflicts with the use of other libs; use /NODEFAULTLIB:library
basic3D.lib(DBOMesh.obj) : error LNK2019: unresolved external symbol _D3DXCleanMesh@24 referenced in function "bool __cdecl MakeLODMeshFromMesh(struct sMesh *,int,struct sMesh**)" (?MakeLODMeshFromMesh@@YA_NPAUsMesh@@HPAPAU1@ZZ)
system.lib(dxdiaginfo.obj) : error LNK2019: unresolved external symbol _CLSID_DxDiagProvider referenced in function "public: long __thiscall CDxDiagInfo::Init(int)" (?Init@CDxDiagInfo@@QAEJH@Z)
system.lib(dxdiaginfo.obj) : error LNK2019: unresolved external symbol _IID_DxDiagProvider referenced in function "public: long __thiscall CDxDiagInfo::Init(int)" (?Init@CDxDiagInfo@@QAEJH@Z)
I double checked the project being compiled as Multithreaded, and the compiler directories searching in the proper locations. Everything looks fine, yet I cannot figure out how to get this to compile.
Please, if anyone can help me sort this out.