TA3d crashes
TA3d crashes
Hi,
I have the problem that ta3d does not want to start and the output message is not really helpful to me.
TA3D Engine
Version 0.2.3
Allegro 4.2.1 (2006)
Utilise AllegroGL 0.4.0 RC5
OS : Linux
Processeur: i686 GenuineIntel -cpuid-x87 FPU-MMX-MMX+-SSE-SSE2-cmov
Shutting down Allegro due to signal #11
Segmentation fault
Eventually there is a problem with the allegro versions or I have forgotton something to setup. Do you have any ideas or is there a possibility to activate more output messages?
I have the problem that ta3d does not want to start and the output message is not really helpful to me.
TA3D Engine
Version 0.2.3
Allegro 4.2.1 (2006)
Utilise AllegroGL 0.4.0 RC5
OS : Linux
Processeur: i686 GenuineIntel -cpuid-x87 FPU-MMX-MMX+-SSE-SSE2-cmov
Shutting down Allegro due to signal #11
Segmentation fault
Eventually there is a problem with the allegro versions or I have forgotton something to setup. Do you have any ideas or is there a possibility to activate more output messages?
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
Hi,
do you use one of the binary packages (which may not work on all distro) or have you built from the sources ?
if you still experiment the crash with a home built binary could you build it with debug info ? You can do it that way:
# make clean
# ./configure CXXFLAGS="-g -O0"
# make
then start it using through the GNU debugger:
#gdb
>file ta3d-bin
>run
it'll crash and allow you to see where it has crashed:
>bt
and it should show the stack (post it there so we can see what is crashing)
do you use one of the binary packages (which may not work on all distro) or have you built from the sources ?
if you still experiment the crash with a home built binary could you build it with debug info ? You can do it that way:
# make clean
# ./configure CXXFLAGS="-g -O0"
# make
then start it using through the GNU debugger:
#gdb
>file ta3d-bin
>run
it'll crash and allow you to see where it has crashed:
>bt
and it should show the stack (post it there so we can see what is crashing)
=>;-D Penguin Powered
- Balthazar
- Moderator
- Posts: 2055
- Joined: Wed Nov 01, 2006 4:31 pm
- Location: Russian Federation
- Contact:
ranger844 - http://ta3d.darkstars.co.uk/help/ which is also provided with release package, but there are not too much solutions for install errors
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
you can find Allegro and AllegroGL here : http://www.allegro.cc
the newest release of AllegroGL is available here: http://allegrogl.sourceforge.net/
it's strange that it doesn't work on a debian based distro since those packages were built on Ubuntu 7.10 ...
PS: beware that AllegroGL isn't compatible with GCC 4.2 at the moment, so use GCC 4.1 instead ...
the newest release of AllegroGL is available here: http://allegrogl.sourceforge.net/
it's strange that it doesn't work on a debian based distro since those packages were built on Ubuntu 7.10 ...
PS: beware that AllegroGL isn't compatible with GCC 4.2 at the moment, so use GCC 4.1 instead ...
=>;-D Penguin Powered
ok i got allgero installed ...
fmodex installed ....
now i am having a little trouble with alleggl
here is what i get :
checking for XF86VidModeQueryExtension in -lXxf86vm... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlsym in -ldl... yes
checking for glXGetProcAddress in -lGL... no
checking for glXGetProcAddressARB in -lGL... no
checking GL/glx.h usability... no
checking GL/glx.h presence... no
checking for GL/glx.h... no
checking GL/gl.h usability... no
checking GL/gl.h presence... no
checking for GL/gl.h... no
checking for glBlendFunc in -lGL... no
configure: error: Unable to locate required OpenGL headers/libraries
and here is my video card information
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 7600 GT/PCI/SSE2/3DNOW!
OpenGL version string: 2.1.1 NVIDIA 100.14.19
OpenGL extensions:
quake 3 .. quake 4 ..
all my other glide games run ....
and i am running ubuntu 7.10 GG
fmodex installed ....
now i am having a little trouble with alleggl
here is what i get :
checking for XF86VidModeQueryExtension in -lXxf86vm... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlsym in -ldl... yes
checking for glXGetProcAddress in -lGL... no
checking for glXGetProcAddressARB in -lGL... no
checking GL/glx.h usability... no
checking GL/glx.h presence... no
checking for GL/glx.h... no
checking GL/gl.h usability... no
checking GL/gl.h presence... no
checking for GL/gl.h... no
checking for glBlendFunc in -lGL... no
configure: error: Unable to locate required OpenGL headers/libraries
and here is my video card information
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 7600 GT/PCI/SSE2/3DNOW!
OpenGL version string: 2.1.1 NVIDIA 100.14.19
OpenGL extensions:
quake 3 .. quake 4 ..
all my other glide games run ....
and i am running ubuntu 7.10 GG
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
you need to install the package named freeglut3-dev, running a game doesn't require the development files but building one requires some additional files .
anyway it's strange that you cannot run the binary package since I tested it on a PC with the same video card and same OS as you ...
anyway it's strange that you cannot run the binary package since I tested it on a PC with the same video card and same OS as you ...
=>;-D Penguin Powered
wow ... thank you it worked and i got the game to start ...
i have has a segment fault and the game crashed out
and i do not know if i did something wrong but it pauses and sits there for 3-10 seconds and then starts up again ... and after the game seg faults
the desktop is like blown up
... i will read up a little more to see if there is something i have missed or need to do otherwise .... i finally have a day off where i can look at this more than 15 min ...
again ty and it is working ...
with a few minor bugs ...
i have has a segment fault and the game crashed out
and i do not know if i did something wrong but it pauses and sits there for 3-10 seconds and then starts up again ... and after the game seg faults
the desktop is like blown up
... i will read up a little more to see if there is something i have missed or need to do otherwise .... i finally have a day off where i can look at this more than 15 min ...
again ty and it is working ...
with a few minor bugs ...
Who is online
Users browsing this forum: No registered users and 21 guests