jarikomppa / soloud

Free, easy, portable audio engine for games
http://soloud-audio.com
Other
1.76k stars 275 forks source link

Bunch of linker errors in visual c++ #340

Closed siladrenja closed 2 years ago

siladrenja commented 2 years ago

Expected behavior: to compile I guess?

Actual behavior: a linker error for every line of code that uses something from SoLoud

Steps to reproduce the problem: I just downloaded SoLoud, extracted it to my visual studio project and added the include folder to additional includ directories in the properties

SoLoud version, operating system, backend used, any other potentially useful information: latest version from the https://sol.gfxile.net/soloud/downloads.html page win10 MiniAudio backend(I hope I used it right, I defined it with #define WITH_MINIAUDIO )

siladrenja commented 2 years ago

another thing I forgot to say: linker errors are unresolved external symbols. I detailed my problem in this reddit post: https://www.reddit.com/r/cpp_questions/comments/sgp2i9/visual_studio_2019_soloud_library_implementation/

siladrenja commented 2 years ago

well, all that I found out was that I was stupid and didn't add *.cpp files to VS. Now it works...kind off, I'm having problems with SDL2