Preparing the project for sound
In order to successfully compile a project that uses SFML audio, we need to make sure these additional dependency .lib
files are included:
sfml-audio-s.lib
openal32.lib
flac.lib
ogg.lib
vorbis.lib
vorbisenc.lib
vorbisfile.lib
Additionally, the executable file must always be accompanied by the openal32.dll
file, which comes with SFML and can be found inside the bin
folder of the library.