Using Dev-cpp 5.11
Download setup: http://www.fmod.org/download/fmodstudio/api/Win/fmodstudioapi10814win-installer.exe
Extract lib: E:\Program Files (x86)\Dev-Cpp\MinGW64\x86_64-w64-mingw32\lib32
Extract headers: E:\Program Files (x86)\Dev-Cpp\MinGW64\x86_64-w64-mingw32\include\fmod\
In project add link to library (libfmod.a).
Simple programm result:
main.cpp:(.text$_ZN12MSoundSystem10InitializeEv[__ZN12MSoundSystem10InitializeEv]+0x60): undefined reference to FMOD::System::getNumDrivers(int*)@8' main.cpp:(.text$_ZN12MSoundSystem10InitializeEv[__ZN12MSoundSystem10InitializeEv]+0xbb): undefined reference to
FMOD::System::init(int, unsigned int, void*)@16’
main.cpp:(.text$_ZN12MSoundSystem11createSoundEPN4FMOD5SoundEPKc[__ZN12MSoundSystem11createSoundEPN4FMOD5SoundEPKc]+0x30): undefined reference to FMOD::System::createSound(char const*, unsigned int, FMOD_CREATESOUNDEXINFO*, FMOD::Sound**)@20' main.cpp:(.text$_ZN12MSoundSystem9playSoundEPN4FMOD5SoundEb[__ZN12MSoundSystem9playSoundEPN4FMOD5SoundEb]+0x29): undefined reference to
FMOD::setMode(unsigned int)@8’
main.cpp:(.text$_ZN12MSoundSystem9playSoundEPN4FMOD5SoundEb[__ZN12MSoundSystem9playSoundEPN4FMOD5SoundEb]+0x41): undefined reference to `FMOD::setMode(unsigned int)@8’
Windows 7 x64. Compiling: 32-bit Release build.
Use gendef and dlltool. No results.