[Openal] MinGW compatible efx-util

Chris Robinson chris.kcat at gmail.com
Sun Nov 16 10:33:40 PST 2008


Recently I've been trying to get an app ported to OpenAL from FMOD. The app in 
question can use EAX-style reverb effects and I was hoping to get these 
working through OpenAL with EFX. The only simple way to convert the EAX-like 
parameters to EFX is to use the efx-util lib provided with the OpenAL SDK.

However, the EFX-Util.lib provided with the SDK is Windows-only, while the app 
itself is cross-platform.. which means I need to create an external tool to 
convert the parameters and store the converted parameters in the app. 
However, as I'm in Linux, the only way to create a Windows app (to run in 
Wine) is with MinGW. This presents a problem..

While MinGW can apparently read the .lib, and the .obj inside of it, the lib 
seems to export C++ symbols which are not compatible between MinGW and MSVC 
(linking fails with unresolved symbols regardless if I use extern "C" {} 
around EFX-Util.h). I don't know if MinGW will be able to read a static C lib 
made for MSVC, so going the safest route, is there any possibility of getting 
a libEFX-Util.a for MinGW?


More information about the Openal mailing list