SFML community forums

Help => General => Topic started by: mdg on October 28, 2016, 09:03:42 pm

Title: How I do to can compile SFML Project without IDE?
Post by: mdg on October 28, 2016, 09:03:42 pm
I want to compile my project without an IDE I know is possible. I tried the Linux way, but not sucessed...please some one help me!   :'(

Also when i tried to run, show me this:
(https://i.imgur.com/qgX5MMY.jpg)
Title: AW: How I do to can compile SFML Project without IDE?
Post by: eXpl0it3r on October 28, 2016, 09:11:47 pm
As stated on the download page:
The compiler versions have to match 100%!
Title: Re: How I do to can compile SFML Project without IDE?
Post by: sjaustirni on October 29, 2016, 02:28:15 pm
The best thing you can do on Linux is compile SFML yourself: http://www.sfml-dev.org/tutorials/2.4/compile-with-cmake.php

Also, if you plan to distribute the game, make sure you link your project to SFML statically (requires static SFML libraries).
Title: Re: How I do to can compile SFML Project without IDE?
Post by: ToyAuthor on October 31, 2016, 10:13:40 am
What's your compiler and platform?
So you try build SFML in command line with CMake?

Build SFML by yourself is a very good idea.