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 / Compile errors on tutorial 1

Author
Message
Yorel
16
Years of Service
User Offline
Joined: 23rd Jan 2008
Location:
Posted: 23rd Jan 2008 22:02
I am trying o make my way through tutorial # 1 (Hello World) using the Microsoft Visual C++ 2008 IDE. Everything works as advetised until I add the following code:

dbCreateAnimatedSprite ( 1, “animatedsprite.png”, 4, 4, 1 );
dbSprite ( 1, 0, 0, 1 );

When I run with debug I get the following error messages:
error C2065: '“animatedsprite' : undeclared identifier

error C2228: left of '.png”' must have class/struct/union
type is ''unknown-type''

can anyone give me a clue as to what is going on? As far as I can tell my code looks exactly like that in the tutorial. In fact, I finally jus did a copy and paste to make sure it was the same.

Thanks.



Dark Inferno Studios
17
Years of Service
User Offline
Joined: 7th Nov 2006
Location: United Kingdom
Posted: 23rd Jan 2008 23:30
Hi,
Here is my code for the 'Hello World' project:


I hope this helps you.

Login to post a reply

Server time is: 2024-09-29 09:14:50
Your offset time is: 2024-09-29 09:14:50