Page 1 of 1
Linux x86_64: can't hit other tanks
Posted: Thu Feb 16, 2006 11:17 pm
by exp[x]
I compiled the 2.0.4 source on my 64-bit ubuntu desktop without any errors, but whenever I shoot another tank, the bullet goes right through them. I can still get shot, however, and the bullets hit walls just fine. It's definitely not lag because I ran a server on my windows computer and had a tank in the windows client just sit still. I didn't make any changes to the source code other than flipping the y axis on joysticks. I tried compiling under my 32-bit chroot, and the problem went away. I don't want to have to use a chroot, though, because the game is choppy, and joysticks are only detected as 2-axis, 2-button. Any ideas?
Posted: Thu Feb 16, 2006 11:28 pm
by A Meteorite
Posted: Thu Feb 16, 2006 11:31 pm
by exp[x]
Oh, oops. I didn't realize there was already another thread on this. Thanks.
Posted: Thu Feb 16, 2006 11:34 pm
by Teppic
Updrade to version 2.0.5 (from cvs)
It's a known GCC 4 bug I believe.
Code: Select all
mkdir ~/cvsroot
cd ~/cvsroot
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/bzflag login
{just press enter at the password prompt}
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/bzflag co -r v2_0branch -P bzflag
cd bzflag
./autogen.sh
./configure --prefix=/usr
make
su -c 'make install'
Posted: Fri Feb 17, 2006 7:18 am
by exp[x]
I tried compiling from CVS and 2.0.4 with gcc-3.4 with the same problem. If I use that "export CXXFLAGS=-01" thing from the other thread, I get make errors.
EDIT: Nevermind; the problem was that they wrote -01 instead of -O1 (zero instead of "o"), and I just copied and pasted.