Compiling problem updating from ex to studio api

Okay, if you are only going to use the low level API then you just need to #include “fmod.h”, like so…

#define bool unsigned char
#include "fmod.h"
#undef bool

I think the reason you were still getting syntax errors is because you put the hack around “fmod_studio.h”, but not around “fmod.h”. I didn’t realise you were trying to include both headers (“fmod_studio.h” includes “fmod.h” internally).

Anyway, please try removing “fmod_studio.h” from your include list, and put the above hack around “fmod.h”.

1 Like