Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Linking errors when trying to use audio.  (Read 865 times)

0 Members and 1 Guest are viewing this topic.

BlueSky

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Linking errors when trying to use audio.
« on: November 22, 2020, 11:29:26 pm »


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!


BlueSky

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Re: Linking errors when trying to use audio.
« Reply #1 on: November 22, 2020, 11:35:12 pm »
ok, I found the problem, I was missing openal32.lib