currently, I have this code:
sf::RenderWindow window{ {800, 600}, "TGUI window with SFML" };
tgui::GuiSFML gui{ window };
gui.loadWidgetsFromFile("menus/startMenu.txt");
auto b = gui.get<tgui::Button>("loadFromFile");
gui.mainLoop();
the program throws a read access violation error on the gui.get<tgui::Button>("loadFromFile");
I can confirm that without this line the page loads normally.
I've already asked at stackoverflow https://stackoverflow.com/q/69693109/16541868 , but I didn't get any answers
sf::RenderWindow window{ {800, 600}, "TGUI window with SFML" };
tgui::GuiSFML gui{ window };
gui.loadWidgetsFromFile("menus/startMenu.txt");
auto b = gui.get<tgui::Button>("loadFromFile");
gui.mainLoop();
the program throws a read access violation error on the gui.get<tgui::Button>("loadFromFile");
I can confirm that without this line the page loads normally.
I've already asked at stackoverflow https://stackoverflow.com/q/69693109/16541868 , but I didn't get any answers