O'Reilly logo

SFML Game Development By Example by Raimondas Pupius

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required