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

Author Topic: How I do to can compile SFML Project without IDE?  (Read 2132 times)

0 Members and 1 Guest are viewing this topic.

mdg

  • Newbie
  • *
  • Posts: 1
    • View Profile
How I do to can compile SFML Project without IDE?
« 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:

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11033
    • View Profile
    • development blog
    • Email
AW: How I do to can compile SFML Project without IDE?
« Reply #1 on: October 28, 2016, 09:11:47 pm »
As stated on the download page:
The compiler versions have to match 100%!
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

sjaustirni

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
Re: How I do to can compile SFML Project without IDE?
« Reply #2 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).

ToyAuthor

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • Email
Re: How I do to can compile SFML Project without IDE?
« Reply #3 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.