Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > irrKlang
undefined reference to irrklang::createIrrKlangDevice

Jaws
Guest
Quote
2015-11-24 19:05:25

I am on Linux Raspbian using netbeans 8.0.2.
I am getting this error:
undefined reference to 'irrkalng::createIrrKlangDevice(irrklang::E_SOUND_OUTPUT_DRIVER, int, char const*, char const*)'

I have linked irrKlang includes in project properties -> build -> C++ complier

I have used
pragma comment(lib, "irrKalng.lib")
include "irrKlang.h"

I am using and Irrlicht example file make file and not sure what to put where, this might be the issue.
But in this makefile i have tired:
USERCPPFLAGS = /home/pi/piCade/Pi/Source/irrKlang32/bin/linux-gcc/libIrrKlang.so -pthread
also
OPTS = /home/pi/piCade/Pi/Source/irrKlang32/bin/linux-gcc/libIrrKlang.so -pthread
and
USERLGFLAGS = /home/pi/piCade/Pi/Source/irrKlang32/bin/linux-gcc/libIrrKlang.so -pthread

The example also don't make on the raspberry Pi

Thanks for the help! I am super stuck!


niko
Moderator
Quote
2015-11-25 09:19:19

It is a bit strange that it says "'irrkalng::", it should be "'irrklang::", maybe you have a typo somewhere? Apart from this, I'm not sure if irrklang works on Raspbian, so maybe it is that as well.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internatio?al" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact