I am new here so I apologize if this is not the place to post this too, but I am having a similar problem so I thought it would be a good place.
I am trying to do the most basic intro tutorial for the GDK and I am getting two errors I can't get rid of when I build it:
c:\users\parents\documents\visual studio 2008\projects\hellod\hellod\main.cpp(19) : error C2065: '“animatedsprite' : undeclared identifier
c:\users\parents\documents\visual studio 2008\projects\hellod\hellod\main.cpp(19) : error C2228: left of '.png”' must have class/struct/union
type is ''unknown-type''
// 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"
//#include "stdio.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 );
dbLoadImage ( “animatedsprite.png”, 1 );
dbSprite ( 1, 0, 0, 1 );
// our main loop
while ( LoopGDK ( ) )
{
// update the screen
dbSync ( );
}
// return back to windows
return;
}
I have included the code just so you can verify that what I have put in is correct.
Could someone please shed some light on this?
Thank you