I stumbled upon Dark GDK while downloading c++ Express 2008 and decided to give it a shot. I downloaded and installed everything and decided to try the tutorials.
I started the Getting Started Tutorial. I got to page four of the tutorial and encountered a crazy bug. I started the debug and got an error message.
Quote: "1>------ Build started: Project: Dark GDK - Game2, Configuration: Debug Win32 ------
1>Compiling...
1>Main.cpp
1>c:\users\PRIVACY EDIT\documents\visual studio 2008\projects\dark gdk - game2\dark gdk - game2\main.cpp(8) : fatal error C1083: Cannot open include file: 'DarkGDK.h': No such file or directory
1>Build log was saved at "file://c:\Users\PRIVACY EDIT\Documents\Visual Studio 2008\Projects\Dark GDK - Game2\Dark GDK - Game2\Debug\BuildLog.htm"
1>Dark GDK - Game2 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped =========="
It cant find the DarkGDK.h file right at the beginning of the default code, which I included below.
// Dark GDK - The Game Creators - www.thegamecreators.com
// the wizard has created a very simple project that uses Dark GDK
// it contains the basic code for a GDK application
// whenever using Dark GDK you must ensure you include the header file
#include "DarkGDK.h"
// the main entry point for the application is this function
void DarkGDK ( void )
{
// turn on sync rate and set maximum rate to 60 fps
dbSyncOn ( );
dbSyncRate ( 60 );
// our main loop
while ( LoopGDK ( ) )
{
// update the screen
dbSync ( );
}
// return back to windows
return;
}
Im pretty new at coding, but I knew enough to know that file should be there by default. Any ideas?