SFML community forums

General => SFML website => Topic started by: aquaglow on July 03, 2011, 12:12:47 am

Title: Tutorial for getting started with gcc doesn't mention audio
Post by: aquaglow 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?
Title: Tutorial for getting started with gcc doesn't mention audio
Post by: Laurent on July 03, 2011, 09:30:56 am
Quote
Shouldn't you mention -lsfml-audio also?

What should I say?
Title: Tutorial for getting started with gcc doesn't mention audio
Post by: aquaglow 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
Title: Tutorial for getting started with gcc doesn't mention audio
Post by: Laurent on July 06, 2011, 04:31:05 pm
I guess I can add a word about it ;)