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

Author Topic: Tutorial for getting started with gcc doesn't mention audio  (Read 4801 times)

0 Members and 1 Guest are viewing this topic.

aquaglow

  • Newbie
  • *
  • Posts: 15
    • View Profile
In this section:

g++ -o ... -lsfml-graphics -lsfml-window -lsfml-system
Basically, every SFML library depends on sfml-system, and sfml-graphics also depends on sfml-window. That's it for dependencies.

Shouldn't you mention -lsfml-audio also?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Tutorial for getting started with gcc doesn't mention audio
« Reply #1 on: July 03, 2011, 09:30:56 am »
Quote
Shouldn't you mention -lsfml-audio also?

What should I say?
Laurent Gomila - SFML developer

aquaglow

  • Newbie
  • *
  • Posts: 15
    • View Profile
Tutorial for getting started with gcc doesn't mention audio
« Reply #2 on: July 06, 2011, 04:07:49 pm »
I thought it should mention that if you're using the audio package you need to link the audio library with -lsfml-audio.

Unless it's too obvious to mention  :D

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Tutorial for getting started with gcc doesn't mention audio
« Reply #3 on: July 06, 2011, 04:31:05 pm »
I guess I can add a word about it ;)
Laurent Gomila - SFML developer