Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Problems with Dark GDK

Author
Message
seth borch
16
Years of Service
User Offline
Joined: 3rd Apr 2008
Location:
Posted: 3rd Apr 2008 23:08
Ok whenever I run this code
// 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;
}

It for some reason gives me this message and doesn't run it

c:\program files\the game creators\dark gdk\include\darksdkcore.h(16) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Build log was saved at "file://c:\Documents and Settings\Ruth\My Documents\Visual Studio 2008\Projects\Sethb\Sethb\Debug\BuildLog.htm"
Sethb - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

yeah
jinzai
18
Years of Service
User Offline
Joined: 19th Aug 2006
Location: USA
Posted: 3rd Apr 2008 23:43
Offhand, I'd say that your compiler include file paths are not properly set in MSVC++. windows.h should be the last thing it would complain about. The paths are set using the Tools menu item Options, but...it might be possible that you did not follow the order of install when you set up your toolchain.

Login to post a reply

Server time is: 2024-09-29 17:29:48
Your offset time is: 2024-09-29 17:29:48