Using QT and trying to use SFML audio, I get this when trying to run my program:
symbol lookup error: /usr/local/lib/libsfml-audio.so.1.6: undefined symbol: _ZTIN2sf6ThreadE
exited with code 127
I'm using the following setup/test:
INCLUDEPATH += /usr/include/SFML
LIBS += -lsfml-window -lsfml-graphics -lsfml-system -lsfml-audio -lsfml-network
sf::SoundBuffer Buffer;
if (!Buffer.LoadFromFile("bounce.ogg"))
exit(1);
unsigned int SampleRate = Buffer.GetSampleRate();
unsigned int Channels = Buffer.GetChannelsCount();
// Create a sound instance and play it
sf::Sound Sound(Buffer);
Sound.Play();