Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
General
»
SFML website
»
Tutorial for getting started with gcc doesn't mention audio
Print
Pages: [
1
]
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
Tutorial for getting started with gcc doesn't mention audio
«
on:
July 03, 2011, 12:12:47 am »
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?
Logged
Laurent
Administrator
Hero Member
Posts: 32498
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?
Logged
Laurent Gomila - SFML developer
aquaglow
Newbie
Posts: 15
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
Logged
Laurent
Administrator
Hero Member
Posts: 32498
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
Logged
Laurent Gomila - SFML developer
Print
Pages: [
1
]
SFML community forums
»
General
»
SFML website
»
Tutorial for getting started with gcc doesn't mention audio