This is first time I use FMOD. So I don’t know why my example can’t find definition of " struct FMOD_SYSTEM " ?!!
In my fmod.h only has this " typedef struct FMOD_SYSTEM FMOD_SYSTEM; ", but not anything about what the hell struct is ?!!!
But when compiling the results are following:
error C2275: ‘FMOD_SYSTEM’ : illegal use of this type as an expression
C:\PROGRAM FILES\FMOD SOUNDSYSTEM\FMOD PROGRAMMERS API WINDOWS\API\INC\fmod.h(63) : see declaration of ‘FMOD_SYSTEM’
My code like this:
FMOD_SYSTEM* system = 0;
unsigned int version = 0;
FMOD_System_Create(FMOD_SYSTEM ** system);
So please help me. Thanks.
- Bob asked 5 years ago
- You must login to post comments