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

Author Topic: Im doing the setup of SFML[SOLVED]  (Read 1712 times)

0 Members and 1 Guest are viewing this topic.

morngrym

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Im doing the setup of SFML[SOLVED]
« on: January 24, 2015, 12:06:12 am »
I Just did the setup of SFML and trying to run the code they give at the end of the setup 2.2 for visual studio. I have gone through and linked everything as it states tried running said I was missing the sfml-graphics-d-2.dll so I grabbed all the .dll files and moved them to my project folder, got past that part and asked for 2 more .dll's I went and got them and put them in my project folder but now when I try to run the program i get

"An unhandled exception of type 'System.AccessViolationException' occurred in sfml pratice.exe

Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt."

i have figured that the problem is coming from the line: window.draw(shape); because if i comment it out the program works fine.

i can not seem to find anything about this on SFML. anyone else had this same problem?

btw the other 2 files it asked for were msvcp110d.dll and msvcr110d.dll
« Last Edit: January 24, 2015, 07:41:55 pm by morngrym »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: Im doing the setup of SFML
« Reply #1 on: January 24, 2015, 12:46:52 am »
What version of Visual Studio do you use? What SFML package did you download?
Have you copied over the new DLLs?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Ivan

  • Newbie
  • *
  • Posts: 32
  • IT geek
    • View Profile
Re: Im doing the setup of SFML
« Reply #2 on: January 24, 2015, 07:04:40 pm »
It seems to be the same problem that I have, I explain in this topic.

Do you have an ATI graphic card? It's possible with blend changes in SFML 2.2, has returned again the old ATI bug? I don't find another explanation. The drivers are right and SFML 2.1 works fine.


morngrym

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Re: Im doing the setup of SFML
« Reply #3 on: January 24, 2015, 07:37:11 pm »
thanks for the interest to help me, I found something similar and it had to do with my graphics drivers were not update. they should mention on there main install page with the code to make sure your graphics drivers are up todate.

 

anything