Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > irrKlang
ld skipping IrrKlang as incompatible

Registered User
2013-07-23 15:12:57

Hello, I'm getting the following error when trying to link with the latest IrrKlang:

/usr/bin/ld: skipping incompatible /home/mindcalamity/Engine/Dependencies/lib/IrrKlang/GCC-Linux/ when searching for -lIrrKlang

I'm using g++ (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3 on Mint 15 - Olivia.

And when running make in the examples I get the following:

/irrKlang-1.4.0/examples/01.HelloWorld $ make
g++ main.cpp -o example -I"../../include" -L"/usr/lib" ../../bin/linux-gcc/ -pthread
../../bin/linux-gcc/ could not read symbols: File in wrong format
collect2: error: ld returned 1 exit status
make: *** [all] Error 1

2013-07-24 07:02:15

Add the parameter

to g++, like this
g++ main.cpp -o example -I"../../include" -L"/usr/lib" ../../bin/linux-gcc/ -pthread -m32

then it should work. irrKlang is a 32 bit lib, this will force to compile in 32 bit.

Create reply:

Posted by: (you are not logged in)

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




Possible Codes

Feature Code
Link [url] [/url]
Bold [b]bold text[/b]
Image [img][/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]



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