jarikomppa / soloud

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

with-sdl2static-only error in soloud-x86.lib #108

Closed lilmike closed 6 years ago

lilmike commented 9 years ago

hi, I downloaded the latest soloud version on the website. However, as I needed to compile it myself because I use the multithreaded vs library instead of multithreaded/dll, I found that when compiling the soloud static project, and then using the resulting library in my application, sdl_mutexv and sdl_mutexp are not found. I can't find references to those in the backend sdl2static, but perhaps I'm missing something. I tried with latest git, but unfortunately there's an error about some audiof32 or something not being defined. Thanks, -Michael.

jarikomppa commented 9 years ago

The mutex functions have different names in SDL and SDL2, so that may explain the error. I assume that the operating system you're using is windows (based on the multithreaded options). Future versions should use non-sdl mutexes so that class of errors should go away (or at least change).

jarikomppa commented 6 years ago

This should no longer be an issue.