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

Author Topic: Problems using SFML on Linux  (Read 951 times)

0 Members and 1 Guest are viewing this topic.

Cabal

  • Newbie
  • *
  • Posts: 1
    • View Profile
Problems using SFML on Linux
« on: March 02, 2023, 04:48:51 am »
Hello, I am new to linux and I just decided to switch from windows to linux mint, and I want to use SFML in linux but when I install it and look for the folders where everything is located I can only find a folder in /usr/include called "SFML" and that contains .hpp files while there is another one in /usr/lib which is also called "SFML" only this one has .cmake files (where according to me .lib files should be).
I have seen several tutorials using different tools but none of them work for me and I have come here to ask for help, to see if anyone knows what I can do.
Thank you in advance and sorry if the English is bad.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: Problems using SFML on Linux
« Reply #1 on: March 02, 2023, 08:53:25 am »
You may want to read a bit more on how Linux handles and where it stores library files, that's not really related to SFML, but is more general Linux knowledge (here's one of many article that might be useful).

At the same time, you don't necessarily need to know where the files are located, as they should be automatically known to the compiler/linker, so all you need to do is specify the libraries to link and the linker will find the libraries.

Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything