SFML community forums

Help => General => Topic started by: aqua on March 31, 2024, 09:02:59 pm

Title: Tutorial example fails
Post by: aqua on March 31, 2024, 09:02:59 pm
Problem solved using static libraries /static linkage


Hello,

I'm new to SFML and I'm following this tutorial (https://www.sfml-dev.org/tutorials/2.6/start-cb.php (https://www.sfml-dev.org/tutorials/2.6/start-cb.php)).
The problem I've found is that although I can compile without errors the example code (the one that shows a window with a green circle), when I run it in debug mode, the command shell shows the following message:

Process returned -1073741819 (0xC0000005)

As there might be problems of compatibility between compiler versions, I've built the libraries from source with cmake in order to ensure this is not the reason of the problem.

I'm running the program on



I'm using the dynamic libraries and the linking process doesn't seem to be the reason of the problem because  it doesn't produce any errors.

Anyone that has an idea about this?

Thank you in advance