SFML community forums

General => General discussions => Topic started by: Srejv on October 10, 2007, 09:57:25 am

Title: Libraries
Post by: Srejv on October 10, 2007, 09:57:25 am
Exactly which libraries is SFML based on?
Title: Libraries
Post by: Lord Delvin on October 10, 2007, 10:00:45 am
Hehe, I had nearly the same question the same time :o
Title: Libraries
Post by: Laurent on October 10, 2007, 10:15:55 am
The answer is in the "How to start" tutorials :
Quote
Graphics requires devil, freetype, and zlib.
Audio requires libsndfile and openal


You can also look at the contents of the extlibs folder (either from the SDK or from the extlibs archive).
Title: Libraries
Post by: Srejv on October 10, 2007, 09:04:51 pm
Thank you. :) Needed this so I knew which libs I had to get for ubuntu. :)
Title: Libraries
Post by: Laurent on October 11, 2007, 03:00:55 am
Quote
Needed this so I knew which libs I had to get for ubuntu

Just read the tutorial :D
Title: Libraries
Post by: Srejv on October 24, 2007, 10:54:05 pm
Quote from: "Laurent"
Quote
Needed this so I knew which libs I had to get for ubuntu

Just read the tutorial :D


I did. :> But since ubuntu is binary based I had to get some dependencies. Didn't get that libIL first, but then realized it was DevIL. :)
Title: Libraries
Post by: Laurent on October 25, 2007, 03:09:35 am
Hehe, ok. I should put the exact names of the packages in the tutorials, sometimes it doesn't match the library name, like DevIL.
Title: Libraries
Post by: Lord Delvin on October 25, 2007, 08:22:12 am
Quote from: "Laurent"
Hehe, ok. I should put the exact names of the packages in the tutorials, sometimes it doesn't match the library name, like DevIL.

Or far better would be to make an example line for ubuntu/debian, that would be something like
install:
"sudo apt-get install foo bar"
"sudo make install"
build:
"sudo apt-get install foo bar-dev"
"make"
"sudo make install"
Title: Libraries
Post by: Laurent on October 25, 2007, 08:45:50 am
Or even better... provide DEB / RPM packages that automatically take care of the dependencies. Some people are working on such packages, so hopefully they will be available soon.
Title: Libs for MacOS X
Post by: gamecoder5 on January 21, 2008, 02:51:35 am
I'm trying to set this up on the Mac OS X.  I'm still learning Mac, and am wondering, is there an easy way to install these without having to compile?  I know I can eventually get passed this myself, but when I go to distribute the game I'm working on, I dont want to have the customers to have to compile this stuff in order to play the game.  Am I missing something or is there no way around this?

Thank you,

Scott.
Title: Libraries
Post by: Merkoth on January 25, 2008, 03:06:24 am
AFAIK, your app should include everything in the .dmg you want to distribute. The best idea would be to include you game, the assets and the compiled libraries inside the package. You might already know this, but you can find a simple guide to make your own DMGs here (http://www.wikihow.com/Make-a-DMG-File-on-a-Mac).