Undefined reference to all FMOD functions

Hello,
I’m facing the following issue:
I use two PC, both running Windows 10 version 21H1. Same development tools (C language, MinGW), same installation of FMOD.
On the first one I successfully compile, link and run my programs using FMOD. On the second one, link fails with messages like this:
C:\Users\JEAN-Y~1\AppData\Local\Temp\ccIE3ADV.o:testFadeIn.c:(.text+0x364): undefined reference to FMOD_System_Create@4' C:\Users\JEAN-Y~1\AppData\Local\Temp\ccIE3ADV.o:testFadeIn.c:(.text+0x38e): undefined reference to FMOD_System_SetDriver@8’

and so on for all the FMOD functions used. I don’t understand where these “@number” come from.
Does somebody have an idea to solve this?Preformatted text

Hi everybody, it’s me again.
Ok, don’t worry, the problem is solved.
The difference between the two PCs was that the first one run MinGW-w64 while the second one (where link failed) used MinGW.
The second PC remained unused during several years, that’s why I forgot this “detail”.
Greetings.

1 Like