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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - deathlab

Pages: [1]
1
General / SFML instant segfault (core dumped)
« on: October 17, 2016, 12:33:33 am »
Hi,

I'm beginning to use SFML for a school project and I want to use SFML for my graphics. I'm using the new windows feature "Bash on Ubuntu on Windows" which is basically a Linux subsystem on which I've obviously installed SFML, I used the apt-get install from the tutorial, and I'm trying to launch the tutorial code :
http://www.sfml-dev.org/tutorials/2.4/start-linux.php

I also used the tutorial's make lines to compile, and until then, no problem, but whenever I use an SFML line in the code, boom I get a magnificent segfault (core dumped). I tried searching, but not a lot of people use the Bash on Ubuntu thing since it's quite new and haven't found anything. I ran the code on gdb, and I've put a screen as an attachement.
The two things written in french are just "success" and the line after it's "System call interupted/aborted"
and the part of the library it blocks on is basically the first instruction, the function to create a window.

Pages: [1]
anything