c++ - SFML 2.3 Codeblocks Crash -
i set sfml 2.3 on codeblocks 13.12 when try build&run code :
#include <sfml/graphics.hpp> int main() { sf::renderwindow window(sf::videomode(800,600),"blabla"); while(window.isopen()){ sf::event e; while(window.pollevent(e)){ if(e.type==sf::event::closed){ window.close(); } } window.clear(); window.display(); } return 0; }
it crashes. linked these "audio graphics main network system window" in linker setting. can me?
i solve it, recompiled sfml using mingw32-make (i added .../codeblocks/mingw/bin path variables) placed dll generated compilation project folder. (here how build sfml : https://www.youtube.com/watch?v=u1zn_qrswxw&ab_channel=alexthorne hope helped people had same issue (sorry english)
Comments
Post a Comment