I'm trying to use FMOD in my program, but I'm having trouble linking the library.
Under the "OS Specific Issues" in the manual, it listed several compliers and which lib/a to use with each of them, but Code::Blocks wasn't listed. I ended up just trying all the different ones, but always got this linker error:
I'm including the header files fmod.hpp and fmod_errors.h. Does anyone know what my problem might be?Code:Linking executable: opengltemp.exe .objs\main.o:main.cpp:(.text+0x3ace): undefined reference to `_ZN4FMOD6System4initEijPv@16' .objs\main.o:main.cpp:(.text+0x3b09): undefined reference to `_ZN4FMOD6System12createStreamEPKcjP22FMOD_CREATESOUNDEXINFOPPNS_5SoundE@20' .objs\main.o:main.cpp:(.text+0x3b43): undefined reference to `_ZN4FMOD6System9playSoundE17FMOD_CHANNELINDEXPNS_5SoundEbPPNS_7ChannelE@20' collect2: ld returned 1 exit status