My config : OS X.9.4, SFML-2.1-osx-clang-universal
In a program having making lots of references to other sgml sound objects, when I uncomment the line "mySoundBuffer.saveToFile(theName.str());" I'm getting the error message
Undefined symbols for architecture x86_64:
"sf::SoundBuffer::saveToFile(std::string const&) const", referenced from:
soundSauv::generate() in soundSauv.o
Otherwise it does compile well with the rest of the app.
in the .pro file was put the following :
LIBS += -L"/usr/local/lib"
CONFIG(release, debug|release): LIBS += -lsfml-audio -lsfml-graphics -lsfml-system -lsfml-network -lsfml-window
CONFIG(debug, debug|release): LIBS += -lsfml-audio -lsfml-graphics -lsfml-system -lsfml-network -lsfml-window
INCLUDEPATH += "/usr/local/include/"
DEPENDPATH += "/usr/local/include/"
Thanks