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

Author Topic: [SOLVED]"SFML works" example throws an exception.  (Read 871 times)

0 Members and 1 Guest are viewing this topic.

sewe2000

  • Newbie
  • *
  • Posts: 1
    • View Profile
[SOLVED]"SFML works" example throws an exception.
« on: February 07, 2021, 05:58:22 pm »
Hello!
When I try to run example code from https://www.sfml-dev.org/tutorials/2.5/start-vc.php in Visual Studio 2019, the exception is thrown in line
Quote
sf::RenderWindow window(sf::VideoMode(200, 200), "SFML works!");
. Then the console appears with the following message:
Quote
(process 11072) exited with code -1073741819.
and I don't know what to do. Visual Studio says the following exception message:
Quote
Unhandled exception at 0x0000000000000000 in SFML.exe: 0xC0000005: Access violation executing location
I built SFML with Cmake on my own. I use Windows. Thanks for all support.
« Last Edit: February 11, 2021, 05:00:52 pm by sewe2000 »

 

anything