SFML community forums

Help => Graphics => Topic started by: grim on May 28, 2016, 12:15:10 am

Title: RenderWindow causes a seg fault
Post by: grim 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
Title: Re: RenderWindow causes a seg fault
Post by: grim 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.