SFML community forums

Help => Window => Topic started by: Dekakaruk on November 03, 2016, 07:34:35 pm

Title: sf::RenderWindow::create blocks.
Post by: Dekakaruk on November 03, 2016, 07:34:35 pm
I'm trying to use SFML with QT or Gtkmm, but whenever I call sf::RenderWindow::create the program stops. Debugger shows that it blocks on the syscall recvmsg. I followed all two tutorials and I tried to use https://github.com/KoczurekK/QSFML, with the same result. How can I make it work?

I use Arch Linux, with kernel 4.8.6, SFML 2.4.0, QT 5.7, Gtkmm 3.22, Wayland is installed but I'm almost sure it's not running.
Title: Re: sf::RenderWindow::create blocks.
Post by: korczurekk on November 03, 2016, 11:11:34 pm
That bug appeared in SFML 2.4, I made a topic here: http://en.sfml-dev.org/forums/index.php?topic=21049.0 (http://en.sfml-dev.org/forums/index.php?topic=21049.0). I temporarily downgraded to 2.3.2 and it works well, problem isn't yet solved as I don't really have any idea why it occurs.

//edit: Install SFML 2.4.1, everything will work. :)
Title: Re: sf::RenderWindow::create blocks.
Post by: Dekakaruk on November 05, 2016, 09:26:04 am
Thanks, now it works.