Problems compiling SDK 1.5 in Open SUSE 10.2
by DiegoH · in Technical Issues · 05/03/2007 (6:27 pm) · 21 replies
Hello all,
i having this error when I am about to link torqueDemo_DEBUG.bin :
--> Linking out.GCC4.DEBUG/torqueDemo_DEBUG.bin
out.GCC4.DEBUG/platformX86UNIX/x86UNIXFont.obj: In function 'loadFont(char const*, int, _XDisplay*)':
/home/diego/cosas/Desarrollo/Torque/TorqueGameEngineSDK-Linux-1-5-0/engine/platformX86UNIX/x86UNIXFont.cc:59: undefined reference to 'XftNameUnparse'
out.GCC4.DEBUG/platformX86UNIX/x86UNIXFont.obj: In function 'x86UNIXFont::create(char const*, unsigned int, unsigned int)':
/home/diego/cosas/Desarrollo/Torque/TorqueGameEngineSDK-Linux-1-5-0/engine/platformX86UNIX/x86UNIXFont.cc:204: undefined reference to 'XftNameUnparse'
collect2: ld returned 1 exit status
make[1]: *** [out.GCC4.DEBUG/torqueDemo_DEBUG.bin] Error 1
make: *** [default] Error 2
I checked and that XftNameUnparse seems to be part of xorg-x11-libs package and it is installed on my system.
Any thoughts?
thanks in advance,
Diego,
i having this error when I am about to link torqueDemo_DEBUG.bin :
--> Linking out.GCC4.DEBUG/torqueDemo_DEBUG.bin
out.GCC4.DEBUG/platformX86UNIX/x86UNIXFont.obj: In function 'loadFont(char const*, int, _XDisplay*)':
/home/diego/cosas/Desarrollo/Torque/TorqueGameEngineSDK-Linux-1-5-0/engine/platformX86UNIX/x86UNIXFont.cc:59: undefined reference to 'XftNameUnparse'
out.GCC4.DEBUG/platformX86UNIX/x86UNIXFont.obj: In function 'x86UNIXFont::create(char const*, unsigned int, unsigned int)':
/home/diego/cosas/Desarrollo/Torque/TorqueGameEngineSDK-Linux-1-5-0/engine/platformX86UNIX/x86UNIXFont.cc:204: undefined reference to 'XftNameUnparse'
collect2: ld returned 1 exit status
make[1]: *** [out.GCC4.DEBUG/torqueDemo_DEBUG.bin] Error 1
make: *** [default] Error 2
I checked and that XftNameUnparse seems to be part of xorg-x11-libs package and it is installed on my system.
Any thoughts?
thanks in advance,
Diego,
#3
Edit: just found that possibly XftNameUnparse is in libXft so you might check to see if that is packaged separately from xorg-x11-libs
05/04/2007 (1:02 am)
I just installed Suse 10.2 the other day so when I get home in the morning ( few hours from now ) I'll check it out.Edit: just found that possibly XftNameUnparse is in libXft so you might check to see if that is packaged separately from xorg-x11-libs
#5
Thanks again!
Diego.
05/04/2007 (11:15 am)
Thanks a lot! I will check it as soon as I come back to my home from work :)Thanks again!
Diego.
#6
Package freetype2-devel is installed and still geting the same error....
Any other suggestions?
Regards,
Diego.
05/04/2007 (8:24 pm)
Bad news.... Package freetype2-devel is installed and still geting the same error....
Any other suggestions?
Regards,
Diego.
#7
Thanks,
Diego.
05/05/2007 (11:29 am)
May it dcould be related to some patch i need to apply. Do you know where can i get information about patches and/or updates of Torque Game Engine for Linux Platform. I think it cannot be so hard to get it working....Thanks,
Diego.
#8
05/05/2007 (11:45 am)
The problem isn't with Toruqe, it's with your development environment. Continue to research the correct package you need to add for your specific distro.
#9
Regards,
Diego.
05/05/2007 (12:48 pm)
Is there any list of required software versions to compile Torque in a Linux box? Maybe a document? any suggestions?Regards,
Diego.
#10
Edit: my bad .. not a suse bug -> https://bugs.freedesktop.org/show_bug.cgi?id=8900
05/05/2007 (3:01 pm)
This appears to be a bug in 10.2. #8900 but can't access it on novell's site.Edit: my bad .. not a suse bug -> https://bugs.freedesktop.org/show_bug.cgi?id=8900
#11
05/06/2007 (1:06 pm)
Take a look at this link, i think your problem is in here http://www.garagegames.com/mg/forums/result.thread.php?qt=52962
#12
05/06/2007 (1:44 pm)
Nope.
#13
http://ftp.x.org/pub/individual/app/
05/06/2007 (2:36 pm)
If all else fails, just install libXft yourself..http://ftp.x.org/pub/individual/app/
#14
http://www.garagegames.com/mg/forums/result.thread.php?qt=52962
and also installed this
http://ftp.x.org/pub/X11R7.1/src/lib/libXft-X11R7.0-2.1.8.2.tar.bz2
05/09/2007 (10:35 am)
I did get TGE running fine on OpenSuse 10.2, I used most the fixes from this threadhttp://www.garagegames.com/mg/forums/result.thread.php?qt=52962
and also installed this
http://ftp.x.org/pub/X11R7.1/src/lib/libXft-X11R7.0-2.1.8.2.tar.bz2
#15
--> Linking out.GCC4.DEBUG/torqueDemo_DEBUG.bin
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible ../lib/xiph/linux/libogg.so when searching for -logg
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible ../lib/xiph/linux/libvorbis.so when searching for -lvorbis
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible ../lib/xiph/linux/libtheora.so when searching for -ltheora
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: cannot find -ltheora
collect2: ld returned 1 exit status
make[1]: *** [out.GCC4.DEBUG/torqueDemo_DEBUG.bin] Error 1
make: *** [default] Error 2
05/14/2007 (11:25 am)
Im trying to compile with OpenSuse 10.2 amd64 now, use the -m32 flag to compile 32bit. I also applyed all the changes that were needed to compile on OpenSuse 10.2 i386. I seem to have a problen with the line of Xiph.org libs. Any ideas on what to do from here? --> Linking out.GCC4.DEBUG/torqueDemo_DEBUG.bin
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible ../lib/xiph/linux/libogg.so when searching for -logg
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible ../lib/xiph/linux/libvorbis.so when searching for -lvorbis
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible ../lib/xiph/linux/libtheora.so when searching for -ltheora
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: cannot find -ltheora
collect2: ld returned 1 exit status
make[1]: *** [out.GCC4.DEBUG/torqueDemo_DEBUG.bin] Error 1
make: *** [default] Error 2
#17
libtheroa
libtheora-32bit
libogg
libogg-32bit
libogg-devel
liboggz
libvoribis
libvorbis-32bit
libvorbis-devel
all on my system already. Some how it is incompatible maybe its looking at the 64 bit versions and not finding the 32bit.
05/14/2007 (1:21 pm)
I looked at that, but I have libtheroa
libtheora-32bit
libogg
libogg-32bit
libogg-devel
liboggz
libvoribis
libvorbis-32bit
libvorbis-devel
all on my system already. Some how it is incompatible maybe its looking at the 64 bit versions and not finding the 32bit.
#18
Gary (-;
05/14/2007 (2:48 pm)
Try editing conf.UNIX.mk, thus:LINK.LIBS.VORBIS = -L=../lib/xiph/linux -logg -lvorbis -ltheoratake out the -L{path} bit:
LINK.LIBS.VORBIS = -logg -lvorbis -ltheora
Gary (-;
#19
-logg -lvorbis,
but still could not find -ltheora.
I check my system by hand, and could not find it.
So I down loaded libtheora sorce code, and install -ltheora
seemed to work and got me farther. Now what do think of this?
/home/richard/Projects/Torque/TorqueGameEngineSDK-Linux-1-5-0/engine/console/compileddi3'
out.GCC4.DEBUG/math/mMath_C.obj: In function 'm_mulDivS32_C':
/home/richard/Projects/Torque/TorqueGameEngineSDK-Linux-1-5-0/engine/math/mMath_C.cc:
out.GCC4.DEBUG/math/mMath_C.obj: In function 'm_mulDivU32_C':
/home/richard/Projects/Torque/TorqueGameEngineSDK-Linux-1-5-0/engine/math/mMath_C.cc:
collect2: ld returned 1 exit status
make[1]: *** [out.GCC4.DEBUG/torqueDemo_DEBUG.bin] Error 1
make: *** [default] Error 2
05/14/2007 (9:02 pm)
I removed the path for the libs, and it worked ok for -logg -lvorbis,
but still could not find -ltheora.
I check my system by hand, and could not find it.
So I down loaded libtheora sorce code, and install -ltheora
seemed to work and got me farther. Now what do think of this?
/home/richard/Projects/Torque/TorqueGameEngineSDK-Linux-1-5-0/engine/console/compileddi3'
out.GCC4.DEBUG/math/mMath_C.obj: In function 'm_mulDivS32_C':
/home/richard/Projects/Torque/TorqueGameEngineSDK-Linux-1-5-0/engine/math/mMath_C.cc:
out.GCC4.DEBUG/math/mMath_C.obj: In function 'm_mulDivU32_C':
/home/richard/Projects/Torque/TorqueGameEngineSDK-Linux-1-5-0/engine/math/mMath_C.cc:
collect2: ld returned 1 exit status
make[1]: *** [out.GCC4.DEBUG/torqueDemo_DEBUG.bin] Error 1
make: *** [default] Error 2
#20
Gary (-;
05/14/2007 (10:31 pm)
Uh, is that all there is? You seem to be missing the actual errors...Gary (-;
Torque 3D Owner ArmedGeek
Edit: xorg-x11-devel