J'utilisais la RC.
J'ai supprime les dossiers SFML dans /usr/local/lib et /usr/local/include et installe les dernieres sources mais le programme crashe toujours.
Sortie de gdb (de la lib version debug):
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff67af570 in sf::RenderTarget::draw (this=0x60e978, drawable=...,
states=...)
at /home/mscofield/SFML/SFML/src/SFML/Graphics/RenderTarget.cpp:126
126 drawable.draw(*this, states);
(gdb) bt full
#0 0x00007ffff67af570 in sf::RenderTarget::draw (this=0x60e978, drawable=...,
states=...)
at /home/mscofield/SFML/SFML/src/SFML/Graphics/RenderTarget.cpp:126
No locals.
#1 0x00007ffff79c5619 in sfRenderWindow_drawConvexShape (
renderWindow=0x60e950, object=0x2c40000000a, states=0x0)
at /home/mscofield/SFML/CSFML/src/SFML/Graphics/RenderWindow.cpp:391
No locals.
#2 0x0000000000400c2a in main () at test.c:62
event = {type = sfEvtMouseMoved, size = {type = sfEvtMouseMoved,
width = 708, height = 829}, key = {type = sfEvtMouseMoved,
code = 708, alt = 829, control = 0, shift = 4197712, system = 0},
text = {type = sfEvtMouseMoved, unicode = 708}, mouseMove = {
type = sfEvtMouseMoved, x = 708, y = 829}, mouseButton = {
type = sfEvtMouseMoved, button = 708, x = 829, y = 0},
mouseWheel = {type = sfEvtMouseMoved, delta = 708, x = 829, y = 0},
joystickMove = {type = sfEvtMouseMoved, joystickId = 708,
axis = 829, position = 0}, joystickButton = {
type = sfEvtMouseMoved, joystickId = 708, button = 829},
joystickConnect = {type = sfEvtMouseMoved, joystickId = 708}}
window = 0x60e950
shape = 0x1175040
shapeArray = 0x7fffffffe958
---Type <return> to continue, or q <return> to quit---
i = 3