Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: sf::RenderWindow::create blocks.  (Read 2587 times)

0 Members and 1 Guest are viewing this topic.

Dekakaruk

  • Newbie
  • *
  • Posts: 2
    • View Profile
sf::RenderWindow::create blocks.
« 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.

korczurekk

  • Full Member
  • ***
  • Posts: 150
    • View Profile
    • Email
Re: sf::RenderWindow::create blocks.
« Reply #1 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. 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. :)
« Last Edit: November 04, 2016, 04:29:21 pm by korczurekk »

Dekakaruk

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: sf::RenderWindow::create blocks.
« Reply #2 on: November 05, 2016, 09:26:04 am »
Thanks, now it works.