SFML community forums
Help => General => Topic started by: Cabal 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.
-
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 (https://www.tecmint.com/understanding-shared-libraries-in-linux/#:~:text=By%20default%2C%20libraries%20are%20located,defined%20in%20%2Fetc%2Fld.) 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.