Game Development Community

Need help wiht compiling

by Matthew Shapiro · in Torque Game Engine · 10/20/2002 (12:41 pm) · 3 replies

Ok I got gg's CVS, and put it onto my computer. I treid compiling it with gcc-3.2 and well... it came out with a ton of warnings, a 30MB binary, and crashed with "abnormality in Player::Death::fallToGround()" when i died. So fine I tried compiling with gcc2, barely any warnings, no crashing when I die but still a 21Mb binary. Can anyone give me some help on how to stop this?

--KallDrexx

#1
10/20/2002 (1:18 pm)
Please tell me Tim and I won't have to help you write your TGE game too. :-P

Use gdb to get a stack trace to figure out where it's dying. Then go from there.
#2
10/20/2002 (1:39 pm)
wow your hillarious rjp.. anwyays i cna't get a bt because when torque segfaults with gdb it keeps ahold of the mouse and I couldn't switch windows for some reason, and when I kill it the mouse is still caught. This doens't happen with gcc2. Either way I need my binary to be smaller.

EDIT: I did get a glimpse of the last thing that crashed, which was with libc.0.6

EDIT: nevermind guess the debug is just insanely huge :-/
--KallDrexx
#3
10/20/2002 (9:26 pm)
Hey man,

Just a quick check. You set the compiler option to GCC3, right?