Hey !
some time ago i have done a 2d motor with sfml 2.6.1, i wanted to pass too 3.0.0 because i wanted to improve, after like 4h i manage to setup the 3.0.0 version,
but for some reason, in release mode my test code work, but in debug mode that fail, like, i can build but the code fail to work, and i see the typical 0x0000000000000000 on the error so the code try to use something not init, but only on debug mode not in release mode, I've been at it for 5 hours, i just can't understand what happen, i take any idea i will attach a lot of screenshot to help you !
i am french sry for my terrible english ='), and sry for the mess in the screenshot, 4 image wasn't enough =') if you need to see something more precise, just ask and I'll add a separate screenshot.
test code use :
#include <iostream>
#include <SFML/Graphics.hpp>
int main()
{
// Create the main window
sf::RenderWindow window(sf::VideoMode({ 800, 600 }), "SFML window");
// Start the game loop
while (window.isOpen())
{
// Process events
while (const std::optional event = window.pollEvent())
{
// Close window: exit
if (event->is<sf::Event::Closed>())
window.close();
}
// Clear screen
window.clear();
// Update the window
window.display();
}
}
Fusix10.