SFML community forums

Help => General => Topic started by: BlueSky on November 22, 2020, 11:29:26 pm

Title: Linking errors when trying to use audio.
Post by: BlueSky on November 22, 2020, 11:29:26 pm
(https://i.ibb.co/mNzfrqY/Untitled.png)

I added everything to the Input area to link with those libs:

sfml-graphics-s-d.lib
sfml-window-s-d.lib
sfml-network-s-d.lib
sfml-system-s-d.lib
sfml-audio-s-d.lib
opengl32.lib
freetype.lib
winmm.lib
gdi32.lib
flac.lib
vorbisenc.lib
vorbisfile.lib
vorbis.lib
ogg.lib
ws2_32.lib

I am using the x86 ( 32 bit ) version yet it seems that it does not want to work.. I am getting linking errors about the sfml-audio-s-d.lib If I remove all the code about the sound stuff, it works with no problem.

I am also including "#include <SFML/Audio.hpp>".

Thanks!

Title: Re: Linking errors when trying to use audio.
Post by: BlueSky on November 22, 2020, 11:35:12 pm
ok, I found the problem, I was missing openal32.lib