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

Author Topic: Libraries  (Read 8691 times)

0 Members and 1 Guest are viewing this topic.

Srejv

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Libraries
« on: October 10, 2007, 09:57:25 am »
Exactly which libraries is SFML based on?

Lord Delvin

  • Jr. Member
  • **
  • Posts: 68
    • ICQ Messenger - 166781460
    • View Profile
Libraries
« Reply #1 on: October 10, 2007, 10:00:45 am »
Hehe, I had nearly the same question the same time :o

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Libraries
« Reply #2 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).
Laurent Gomila - SFML developer

Srejv

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Libraries
« Reply #3 on: October 10, 2007, 09:04:51 pm »
Thank you. :) Needed this so I knew which libs I had to get for ubuntu. :)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Libraries
« Reply #4 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
Laurent Gomila - SFML developer

Srejv

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Libraries
« Reply #5 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. :)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Libraries
« Reply #6 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.
Laurent Gomila - SFML developer

Lord Delvin

  • Jr. Member
  • **
  • Posts: 68
    • ICQ Messenger - 166781460
    • View Profile
Libraries
« Reply #7 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"

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Libraries
« Reply #8 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.
Laurent Gomila - SFML developer

gamecoder5

  • Newbie
  • *
  • Posts: 10
    • View Profile
Libs for MacOS X
« Reply #9 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.

Merkoth

  • Guest
Libraries
« Reply #10 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.