dimanche 24 octobre 2021

How can I fix LNK2019 error with libsndfile?

Severity Code Description Project File Line Suppression State

Error   LNK2019 unresolved external symbol _sf_open referenced in function "private: unsigned int __thiscall SoundBuffer::AddSoundEffect(char const *)" (?AddSoundEffect@SoundBuffer@@AAEIPBD@Z)    Engines4    D:\xxx\xxxx\sound\PhysicsEngine\Engines4\SoundBuffer.obj

1
and three more similar LNK2019

I have done Properties >> General >> Additional Library Directories Debug >> Project Properties >> Configuration Properties >> C/C++ >> ,General >> Additional Include Directories

Installed the library libsndfile-1.0.25-w64-setup.exe file of libsndfile. I have exited, clean, and rebuild many times! And VS keeps crying...

Aucun commentaire:

Enregistrer un commentaire