Studio C API: undefined reference to SetParameterByID()

Compiling with Mingw32.

Linker error on:
FMOD_Studio_EventInstance_SetParameterByID(eventInstance, parameter.id, value, true);

This works fine tho:
FMOD_Studio_EventInstance_SetParametersByIDs(eventInstance, (const FMOD_STUDIO_PARAMETER_ID*)&parameter.id, &value, 1, true);

What version of FMOD are you using?

If you encounter issues linking fmod with MinGW, ensure that you are following the GCC linker ordering requirements and the MinGW library search order.

https://fmod.com/resources/documentation-api?version=2.0&page=platforms-windows.html#libraries

I’m using fmodstudio-2.00.07 api (from fmodstudioapi20007win-installer.exe)

So apparently now I can link the Visual Studio version with gcc?

If I link with libfmod.a and libfmodstudio.a (-lfmod -lfmodstudio) I get the linker error of undefined reference, but only for that function.

If I use the ‘vc’ version (-lfmod_vc -lfmodstudio_vc) I get no error.