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

Author Topic: Error while load from file  (Read 683 times)

0 Members and 1 Guest are viewing this topic.

SWNSMA

  • Newbie
  • *
  • Posts: 1
    • View Profile
Error while load from file
« on: June 30, 2014, 10:36:26 pm »
I started learning SFML library but from the outset faced with a problem. Connected all on the instructions on the link.http://www.sfml-dev.org/tutorials/2.0/start-vc.php Everything works. But as soon as I tried to load an image from a file, an error occurred. I was searching in google, searched the forum but have not found anything that might help, or at least to understand what went wrong. I use VS2013. Someone help solve the problem or even tell what is the cause of its occurrence.
Link on screen http://f-picture.net/lfp/s020.radikal.ru/i710/1406/2f/4034165ec9fa.jpg/htm

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10819
    • View Profile
    • development blog
    • Email
Re: Error while load from file
« Reply #1 on: June 30, 2014, 10:51:11 pm »
This has nothing to do with the C binding of SFML. You should post help questions in the help section.

The link looked strangely suspicios to me, but a scan showed that it's fine, here's an embedded image (hosted on imgur) for the paranoid ones:



As for the error, my guess is that you're mixing either debug and release builds or builds of different VS versions. If you're in debug mode, you need to use the debug libraries. If you're in release mode, you need to use the release libraries. If you use VS 2013 you need to recompile SFML (or use my nightly builds), so it matches VS 2013.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/