attempting to compile
#include "DarkSDK.h"
void DarkSDK ( void )
{
// set sync on and sync rate to 60 frames per second
dbSyncOn ( );
dbSyncRate ( 60 );
// make a cube
dbMakeObjectCube ( 1, 10 );
// loop until the escape key is pressed
while ( LoopSDK ( ) )
{
if ( dbEscapeKey ( ) )
return;
// rotate the object
dbRotateObject ( 1, dbObjectAngleX ( 1 ) + 0.1f, dbObjectAngleY ( 1 ) + 0.1f, dbObjectAngleZ ( 1 ) + 0.1f );
// update screen
dbSync ( );
}
}
I installed Visual Studio 6 /w VC++ 6 (obviousley) then updated w/ SP6 for VS 6 then installed DarkSDK then the April 2005 DirectX SDK. Havent changed anything since.
And Includes are in order of:
Quote: "C:\Program Files\Microsoft DirectX 9.0 SDK (April 2005)\Include
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE
C:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE
C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE
C:\Program Files\The Game Creators\Dark Game SDK\Include"
and Librarys are:
Quote: "C:\Program Files\Microsoft DirectX 9.0 SDK (April 2005)\Lib\x86
C:\PROGRAM FILES\MICROSOFT DIRECTX 9.0 SDK (APRIL 2005)\LIB
C:\Program Files\Microsoft Visual Studio\VC98\LIB
C:\Program Files\Microsoft Visual Studio\VC98\MFC\LIB
C:\Program Files\The Game Creators\Dark Game SDK\Lib\VS6"
If I use any other order then I get 24 compile errors.
x1b
- This message is made of 100% recycled bits and bytes