0
0

When I try to compile a MiniFmod 1.6 application with minGW (using Dev-C++) I get these linker errors:
[code:337e6fom] [Linker error] undefined reference to waveOutPrepareHeader@12'
[Linker error] undefined reference to
waveOutWrite@12′
[Linker error] undefined reference to waveOutUnprepareHeader@12'
[Linker error] undefined reference to
waveOutOpen@24′
[Linker error] undefined reference to waveOutReset@4'
[Linker error] undefined reference to
waveOutClose@4′
[Linker error] undefined reference to `waveOutGetPosition@12′
ld returned 1 exit status [/code:337e6fom]
I’ve linked to bot Win32 libs, ‘libminifmod.a’ and ‘libminifmod.lib’, and included ‘minifmod.h’. I’ve tried including other files from the src folder but nothing’s solved the problem. Does anyone know what’s wrong?

  • You must to post comments
0
0

EDIT: Found it.

  • You must to post comments
0
0

No, it still doesn’t work. Been messing with it for a while and it keeps giving the same error. Is MiniFmod even compatiple with MinGW/Dev-C++ or will I have to switch to Visual C++?

  • You must to post comments
0
0

Add -lwinmm to your linker settings 😉

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.