Frictional Games Forum (read-only)
Linking error on x86_64 - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Open Source Collaboration (https://www.frictionalgames.com/forum/forum-27.html)
+--- Forum: Overture (https://www.frictionalgames.com/forum/forum-29.html)
+--- Thread: Linking error on x86_64 (/thread-3396.html)



Linking error on x86_64 - gostrc - 05-17-2010

When I tried to build overture on x86_64 linux, I keep getting the following error. I have newton installed. Any help regarding this would be appreciated.

[ 98%] Building CXX object CMakeFiles/Overture.dir/GameLiquidArea.cpp.o
[ 98%] Building CXX object CMakeFiles/Overture.dir/Player.cpp.o
[ 99%] Building CXX object CMakeFiles/Overture.dir/GameMessageHandler.cpp.o
[ 99%] Building CXX object CMakeFiles/Overture.dir/PlayerState_Misc.cpp.o
[ 99%] Building CXX object CMakeFiles/Overture.dir/StdAfx.cpp.o
[100%] Building CXX object CMakeFiles/Overture.dir/GameEnemy_Dog.cpp.o
Linking CXX executable overture.bin
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../../../lib/libNewton.a when searching for -lNewton
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libNewton.a when searching for -lNewton
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../../libNewton.a when searching for -lNewton
/usr/bin/ld: skipping incompatible /usr/lib/libNewton.a when searching for -lNewton
/usr/bin/ld: cannot find -lNewton
collect2: ld returned 1 exit status
make[2]: *** [overture.bin] Error 1
make[1]: *** [CMakeFiles/Overture.dir/all] Error 2
make: *** [all] Error 2


RE: Linking error on x86_64 - Urkle - 05-17-2010

This was already discussed http://www.frictionalgames.com/forum/thread-3353.html
Newton 1.53 is 32-bit ONLY so there can be no 64bit linux build (hence why I never provided one). Suggestions to fix this are to upgrade to newton 2 (in development) or add in a bullet physics implementation (which will run on 64bit).

Also angelscript would need to be updated to a newer release that supports 64bit.