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 Error on Tutorial One

Author
Message
Crimson X
16
Years of Service
User Offline
Joined: 28th Nov 2007
Location: New Hampshire
Posted: 28th Nov 2007 21:39
Okay so I can compile the tutorial fine all the way up until this point:



Then I get this error:
Quote: "
1>c:\users\crimson\documents\visual studio 2008\projects\hello world\hello world\main.cpp(6) : error C2065: '“animatedsprite' : undeclared identifier
1>c:\users\crimson\documents\visual studio 2008\projects\hello world\hello world\main.cpp(6) : error C2228: left of '.png”' must have class/struct/union
1> type is ''unknown-type''"


Any ideas? Thanks in advance.
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 28th Nov 2007 22:21
Yes, the quote character should be ", not “.

Tempest (DBP/DBCe)
Multisync V1 (DBP/DBCe)
Crimson X
16
Years of Service
User Offline
Joined: 28th Nov 2007
Location: New Hampshire
Posted: 28th Nov 2007 22:27
I'm sorry, I'm not quite sure what you mean... which character?
flip sk8r11
18
Years of Service
User Offline
Joined: 23rd Aug 2006
Location:
Posted: 28th Nov 2007 23:26
im fairly certain he means -> “ characters around animatedsprite.png should be " <- that kind not this -> “ kind
Crimson X
16
Years of Service
User Offline
Joined: 28th Nov 2007
Location: New Hampshire
Posted: 28th Nov 2007 23:29
Lol shame on me copy/pasting! Thank you guys.
ghelo
16
Years of Service
User Offline
Joined: 28th Nov 2007
Location:
Posted: 29th Nov 2007 02:49
ei!! i got the same error on the tutorial!!
crimson!! how did you resolved the error!??

i paste the animatedsprite.png on the said location!
\\hello world\hello world\animatedsprite.png

plz help!!!

<??>
ghelo
16
Years of Service
User Offline
Joined: 28th Nov 2007
Location:
Posted: 29th Nov 2007 02:52
hehe!! i get it!!! thx!!!

stupid copy/paste!!!

<??>
Sybra
16
Years of Service
User Offline
Joined: 17th Dec 2007
Location:
Posted: 18th Dec 2007 04:01
I am having problems understanding how to do the following in:
In the first tutorial is says:
Let’s copy this image into our project directory. Copy the file and paste it into your project directory e.g. C:\Documents and Settings\Mike\My Documents\Visual Studio
2008\Projects\Hello World\Hello World. With the image in place we can load it into our program.

Could someone please tell me how do I go about saving this picture, where do I go to save it??

Any suggestions would be great

Login to post a reply

Server time is: 2024-09-29 05:31:08
Your offset time is: 2024-09-29 05:31:08