SFML community forums
Help => Audio => Topic started by: hack006 on November 23, 2010, 12:34:16 am
-
Hi there, I have a following problem. I am trying to run my test program for making some sound but I am getting linking problems.
error: undefined reference to `sf::SoundBuffer::SoundBuffer()'
error: undefined reference to `sf::Sound::Sound()'
I know I have to link some libraries but I am pretty confused what parameters and where to place it. I use QT Creator as IDE. Thank you for your help
-
In your .pro:
LIBS += -Lpath/to/your/sfml/directory/lib -lsfml-audio
-
Thank u very much. U have helped me a lot. :)