SFML community forums

Help => General => Topic started by: Raihli on February 11, 2016, 02:58:44 pm

Title: Unable to install on linux
Post by: Raihli on February 11, 2016, 02:58:44 pm
Hello,

I've got some problem to install sfml on Linux (Solus Project)

This is the code :
(click to show/hide)

Compile like the tutorial
g++ -c main.cpp -I/home/raihli/sfml/include
g++ main.o -o sfml-app -L/home/raihli/sfml/lib -lsfml-graphics -lsfml-window -lsfml-system

But when I execute the program, he run and segfault immediately :
(click to show/hide)

Hope I give all useful information.

Thanks a lot
Title: Re: Unable to install on linux
Post by: Hiura on February 11, 2016, 06:16:51 pm
You might need to recompile SFML to fit your compiler/tools.
Title: Re: Unable to install on linux
Post by: Raihli on February 11, 2016, 06:30:08 pm
Ok i'm going to try that, thanks for reply