SFML community forums
General => General discussions => Topic started by: ingar on October 18, 2019, 05:50:27 pm
-
Hi all,
I am today using TGUI and SFML in a Linux project. Our app is now working nicely with nice graphics on a Raspberry Pi. I am very happy with the solution.
But now somebody wants us to move the app to a somewhat special Ubuntu system. But some modules that SFML is dependent of are (I think) not present. These are:
- Open GL
- OpenAL 3D Audio
- Vorbis audio compression
- Flac music file interface
- X11 (or Xorg) display tools
- udev Device management
So my question is:
A) Am I right that SFML depends on these modules
B) If so, where do I get hold of the source code so I can compile/install them?
Regards,
Ingar Steinsland
ingarXlabelcraftYnet, where X is the at sign, and Y is the dot sign.
-
A) Yes
B) do you need to compile SFML AND all the modules?
I'm not a Ubuntu user, but since it is based on Debian, I believe the package names will be all the same in this case.
if you just need SFML:
sudo apt-get install libsfml-dev
if you need the packages to build SFML by yourself:
sudo apt-get install libfreetype6-dev libx11-dev libxrandr-dev libudev-dev libflac-dev libogg-dev libvorbis-dev libopenal-dev libblis-pthread-dev
Open GL usually is shipped by default
but if you want all the packages to build them from source, and then use them to build SFML from source, you'll most likely find each one of them in their respective GitHub page or something like that,