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

Author Topic: sfml installation path  (Read 1277 times)

0 Members and 1 Guest are viewing this topic.

eyad salah

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Email
sfml installation path
« on: December 29, 2023, 06:09:49 pm »
I want to know how to install SFML into standard path so when I compile the main.cpp I don't have to show the compiler the header file path

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: sfml installation path
« Reply #1 on: December 29, 2023, 06:35:29 pm »
Since you provided no information on your OS, we can't really help you much further with the specific question.

You might want to follow the SFML CMake Template: https://www.sfml-dev.org/tutorials/2.6/start-cmake.php
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

eyad salah

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Email
Re: sfml installation path
« Reply #2 on: December 29, 2023, 06:49:51 pm »
my os is windows 10

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: sfml installation path
« Reply #3 on: December 29, 2023, 07:00:12 pm »
Please learn to use a forum and don't click random buttons and spam everyone.
You've replied to this thread, created three new poll (instead of a thread), send me an email and PMed me.
If you're unable to use a forum at this point in time, programming will not be for you, as it's way more complicated.

On Windows there isn't really a standard path.
Instead it's recommended to just follow the official SFML tutorials or even better the CMake tutorial as linked previously.
« Last Edit: December 29, 2023, 10:40:10 pm by eXpl0it3r »
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

eyad salah

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Email
don't talk to me like that
« Reply #4 on: December 29, 2023, 07:17:01 pm »
ddon't talk to me like that you know I didn't mean any harm and I am new here so I can't use this forum

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: sfml installation path
« Reply #5 on: December 29, 2023, 07:59:57 pm »
Being new to something doesn't give you a permission to not spend some time understanding the controls in front of you and to spam people.

It's not hard to understand how to reply to an existing throw or how to create a new thread.
Use translation software if you don't speak English.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/