undefined reference with irrklang code blocks

580 views Asked by At

I'm losing hope to finish my work. I did a game with irrlicht on Code Blocks. I linked irrlicht it works but impossible to link irrKlang... It shows me the same message each time.

x86_64-w64-mingw32-g++.exe -Llib\irrlicht-1.8.3\lib\Win32-gcc -Llib\irrKlang-1.5.0\lib\Win32-gcc -Llib\irrlicht-1.8.3\lib\Win32-gcc -Llib\irrKlang-1.5.0\lib\Win32-gcc -Llib\irrKlang-1.5.0\bin\win32-gcc -o BomberPark.exe .objs\main.o .objs\srcs\AppSetting.o .objs\srcs\Bombs.o .objs\srcs\Camera.o .objs\srcs\Sound.o:Sound.cpp:(.text+0x24): undefined reference to irrklang::createIrrKlangDevice(irrklang::E_SOUND_OUTPUT_DRIVER, int, char const*, char const*)' collect2.exe: error: ld returned 1 exit status

I did these things: I added the libirrklang.a in link librairies and add the directory of the includes in compiler + added the lib directory in linker so I wanted to know what else can I do to resolve my problem please?

The screenshots of my configuration for the linker:

conf1

conf3

0

There are 0 answers