Hello, I am having trouble with the bare minimum code. I have SFML 2.5 properly set up and linked along with TGUI 0.8 properly linked->using the linking tutorial (both dynamically (dlls are in right folder))I did not need to CMAKE and I am using vs2017. SFML test code works fine, per usual. However, I am trying to test if TGUI is properly installed and linked. I cannot see the gui when I compile this minimum code found on the 0.8 tutorial section. This is my first time using TGUI, just need a little help getting started. Thanks
#include <TGUI/TGUI.hpp>
int main(){
sf::RenderWindow window{sf::VideoMode(1024, 760), "Window" };
tgui::Gui gui(window);
while (window.isOpen()){
sf::Event event;
while (window.pollEvent(event)){
gui.handleEvent(event);
if (event.type == sf::Event::Closed)
window.close();
}
window.clear();
gui.draw();
window.display();
}
return 0;}// again this code compiles fine, shows the sfml window, but there is nothing else. Just a
//blank SFML window
