I am programming in C, and when I try to compile a program for FMod, I get a lot of syntax errors in the fmod.h file, like “syntax error “#” at token,” where I have the include statement, “syntax error before ‘F_CDECL’” and “syntax error before ‘define’.” I am new to C programming and don’t understand these errors. If somebody could help me it would be highly appreciated.
- Varun asked 5 years ago
[quote="mathew":1exky4p3]Sounds like you need to define WIN32 as a compile time define so the fmod.h ifdefs can identify the platform as Windows.[/quote:1exky4p3]
I am using Dev C++ and have set Win32 GUI under Type in the Project Setting. I have also tried to use Win32 console, but with the same result. Is there any other settings I should set?
- Varun answered 5 years ago
Please login first to submit.