Hi there,
I'm trying to get irrLicht working in ubuntu. So far i can compile and run examples, but when i try to compile the demo, i get an error related to irrKlang:
CDemo.cpp:(.text+0x26b): undefined reference to `irrklang::createIrrKlangDevice(irrklang::E_SOUND_OUTPUT_DRIVER, int, char const*, char const*)'
Does someone know what i should do in this case? It's probably some kind of library thing which i should copy somewhere, but i have no clue.
FYI, i found in another thread that i should put following line in the makefile, which i did;
CPPFLAGS = -I/home/lenx/irrKlang-1.0.4/include -I../../include -I/usr/X11R6/include
This solved previous errors i had, but now that one still remains.
Thanks for helping out,
lenx
Linux + irrLicht + irrKlang: Demo doesn't compile
-
- Posts: 1186
- Joined: Fri Dec 29, 2006 12:04 am
Actually, if you're using gcc on linux, you should use something more like this because you only want the link settings to be on the link line.
You should have been able to get the necessary information from the IrrKlang examples makefile.
Travis
Code: Select all
CPPFLAGS = -I/home/lenx/irrKlang-1.0.4/include -I../../include -I/usr/X11R6/include -pthread
LDFLAGS = -L/home/lenx/irrKlang-1.0.4/bin/linux-gcc -lIrrKlang
Travis