0
0

Hello, I just bought an amd64 and tried to compile my own little project. This project uses libfmod, libsdl and libGL. I’m using gentoo and I built the entire system in 64-bits. So I tried to compile and link my own gl application with 64-bits but when linking I get these errors:

g++ sdl-config --libs -o testapp foo.o foo2.o foo3.o -lGL -lGLU -lfmod
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible //usr/lib/libfmod.so when searching for -lfmod
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../../lib/libfmod.so when searching for -lfmod
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../libfmod.so when searching for -lfmod
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/../lib/libfmod.so when searching for -lfmod
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libfmod.so when searching for -lfmod
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libfmod.so when searching for -lfmod
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lfmod
collect2: ld returned 1 exit status
make: *** [testapp] Error 1

So after some consulation of gentoo amd64 people I’ve realised that I need a 64 bits libfmod. On this site I can find them for windows but not for linux? Have I searched badly?

First of all I’m not totally sure I’m right about this, so please correct me if I’m wrong but my guess is that I need a 64bits libfmod. And if I’m correct where can I find that lib?

  • You must to post comments
0
0

At the moment, there is no 64bit version of fmod available (and it doesn’t seen that a 64 bit version will be released soon). The only way to use fmod on 64bit linux is to build your app and dependent libraries in a 32 bit environment.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.