Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
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/libIrrKlang.so 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 |
||||
|
Add the parameter -m32 to g++, like this g++ main.cpp -o example -I"../../include" -L"/usr/lib" ../../bin/linux-gcc/libIrrKlang.so -pthread -m32 then it should work. irrKlang is a 32 bit lib, this will force to compile in 32 bit. |
|