Answered
0
0

After downloading FMOD Studio Programmer’s API and Low Level Programmer API 1.06.02 for Windows, I have the libfmod.a library which successfully links on 32-bit MinGW (i686-w64-mingw32), but I can’t seem to get it to link in 64-bit mode (x86_64-w64-mingw32).

Am I forgetting a compiler switch? Or must I perform additional steps to link FMOD in 64-bit mode? The compiler only spouts a (paraphrased) ‘skipping libfmod.a because of architecture mismatch’ error.

  • You must to post comments
Great Answer
1
0

You’re trying to link the 32bit import library in a 64bit build. That’s why you get an architecture mismatch error.

You don’t need a special mingw import library in 64bit builds. You can use the DLL directly.

  • You must to post comments
0
0

Thanks; pointing the linker to the DLL (-L) and adding -lfmod64 worked like charm!

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.