Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Error in the tutorial basic code  (Read 1312 times)

0 Members and 1 Guest are viewing this topic.

helphelphelp

  • Newbie
  • *
  • Posts: 2
    • View Profile
Error in the tutorial basic code
« on: May 27, 2015, 05:20:33 pm »
http://puu.sh/i2uQw/37abb7a58f.png

Following the Sprites and Textures tutorial i get this error for every image format i try. The image im trying to load is in every folder in my project (im using VisualStudio 2013).

G.

  • Hero Member
  • *****
  • Posts: 1592
    • View Profile
Re: Error in the tutorial basic code
« Reply #1 on: May 27, 2015, 05:26:15 pm »
You're linking the release lib in debug mode or debug lib in release mode.
« Last Edit: May 27, 2015, 05:28:02 pm by G. »

helphelphelp

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Error in the tutorial basic code
« Reply #2 on: May 27, 2015, 05:38:16 pm »
Thanks.

Hapax

  • Hero Member
  • *****
  • Posts: 3379
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: Error in the tutorial basic code
« Reply #3 on: May 27, 2015, 09:57:43 pm »
I see you're using
system("PAUSE");
to keep the console open after your main code has been completed.
Consider using keepConsoleOpen for this task; it automatically keeps it open on errors and uses preferable code to system("PAUSE") to stop the console from closing.
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*

 

anything