Hey guys, I just want to play a simple .wave file. So I compiled my program, dance.cpp, with this:
mayer:dancingsteve declan$ make
g++ -Wall -c dance.cpp
g++ -Wall -o dance dance.o -framework sfml-audio -framework sfml-graphics -framework sfml-window -framework sfml-system
And it compiles fine. Then I run it, and even if all the audio stuff in the actual program is commented out, I get this error:
mayer:dancingsteve declan$ ./dance
dyld: Library not loaded: @executable_path/../Frameworks/sndfile.framework/Versions/A/sndfile
Referenced from: /Library/Frameworks/sfml-audio.framework/Versions/A/sfml-audio
Reason: image not found
Trace/BPT trap
Everything else (lots of graphical stuff) has worked fine so far. I followed the steps in the tutorial. What is the problem?
Thanks!