When I try debugging this program:
// whenever using Dark GDK you must ensure you include the header file
#include "DarkGDK.h"
char* hello = "hello there";
// 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 );
dbText (0,0,hello);
// our main loop
while ( LoopGDK ( ) )
{
// update the screen
dbSync ( );
}
// return back to windows
return;
}
I get these errors:
1>Linking...
1>Main.obj : error LNK2019: unresolved external symbol "void __cdecl dbSync(void)" (?dbSync@@YAXXZ) referenced in function "void __cdecl DarkGDK(void)" (?DarkGDK@@YAXXZ)
1>Main.obj : error LNK2019: unresolved external symbol "bool __cdecl LoopGDK(void)" (?LoopGDK@@YA_NXZ) referenced in function "void __cdecl DarkGDK(void)" (?DarkGDK@@YAXXZ)
1>Main.obj : error LNK2019: unresolved external symbol "void __cdecl dbText(int,int,char *)" (?dbText@@YAXHHPAD@Z) referenced in function "void __cdecl DarkGDK(void)" (?DarkGDK@@YAXXZ)
1>Main.obj : error LNK2019: unresolved external symbol "void __cdecl dbSyncRate(int)" (?dbSyncRate@@YAXH@Z) referenced in function "void __cdecl DarkGDK(void)" (?DarkGDK@@YAXXZ)
1>Main.obj : error LNK2019: unresolved external symbol "void __cdecl dbSyncOn(void)" (?dbSyncOn@@YAXXZ) referenced in function "void __cdecl DarkGDK(void)" (?DarkGDK@@YAXXZ)
1>LINK : error LNK2001: unresolved external symbol _mainCRTStartup
1>Debug\TextBoxHelp.exe : fatal error LNK1120: 6 unresolved externals
1>Build log was saved at "file://d:\Documents and Settings\mike\Desktop\Game Engines\TextBoxHelp\Debug\BuildLog.htm"
1>TextBoxHelp - 7 error(s), 0 warning(s)
Anyone know how to fix it?
HEYYYY YYYOOUUUUU GUUUYYYYSSSS