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

Author Topic: RenderWindow causes a seg fault  (Read 1198 times)

0 Members and 1 Guest are viewing this topic.

grim

  • Guest
RenderWindow causes a seg fault
« on: May 28, 2016, 12:15:10 am »
I have the latest version available from the ubuntu repo on Elementary OS, which appears to be 2.1.

I can start and keep the program open with no problem, but the moment I close the program I get a seg fault.
dmesg gives me this message:

    dmesg: klogctl failed: Operation not permitted

This only happens when it closes. Is there a way to fix this?

I'm really hoping that this isn't the case: http://en.sfml-dev.org/forums/index.php?topic=12840.0
« Last Edit: May 28, 2016, 12:16:56 am by grim »

grim

  • Guest
Re: RenderWindow causes a seg fault
« Reply #1 on: May 28, 2016, 12:39:32 am »
Solved it. I guess it was some kind of problem with the version in the Ubuntu repo.  I removed it and installed sfml from source following this guide: http://jantzeno.github.io/2014/11/07/Build-SFML-on-Ubuntu-14.x.html

I'd like to point out that xcb was a pain, because its package is specifically called libxcb-image0-dev in ubuntu.