Hey guys hope you can help me here please, recently purchased the DarkPhysics package and I am having trouble compiling using the DarkPhysics functions when called.
I've been using DarkGDK with Visual C++ 2008 for a good few days now, compiled many projects without any trouble at all.
I also have DarkAI and DarkLights installed and working just fine.
I can see by using the search function this is a common problem for GDK users, on each opened thread, no resolution has come to fruition and I'm left struggling as to how to fix this.
I have done a reinstall of DarkPhysics, I have tried the DarkPhysics_GDK_261108 update and Dark_Physics_GDK_260509 to no avail, I have even uninstalled DarkPhysics and attempted to manual install the Dark_Physics_GDK_260509 by moving the appropriate files to the relevant directories and on each occasion I get the same results.
Here is the most basic of example code as I can produce
#include "DarkGDK.h"
#include "DarkPhysics.h"
void DarkGDK ( void )
{
dbPhyStart ( );
while ( dbSpaceKey() == 0 )
{
dbSync();
}
}
Here is the build log for the above code:
1>------ Build started: Project: Dark GDK - Game2, Configuration: Debug Win32 ------
1>Compiling...
1>Main.cpp
1>Linking...
1>Main.obj : error LNK2019: unresolved external symbol "void __cdecl dbPhyStart(void)" (?dbPhyStart@@YAXXZ) referenced in function "void __cdecl DarkGDK(void)" (?DarkGDK@@YAXXZ)
1>Debug\Dark GDK - Game2.exe : fatal error LNK1120: 1 unresolved externals
1>Build log was saved at "file://c:\Users\Den\Documents\Visual Studio 2008\Projects\Dark GDK - Game2\Dark GDK - Game2\Debug\BuildLog.htm"
1>Dark GDK - Game2 - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Any help would be appreciated.
Regards