PDA

View Full Version : glutcreatemenu + textures = crash why? how to debug



ranger
12-22-2005, 01:46 PM
Hello,
i ve some problems in my project for the college.
i m using debian with eclipse and cdt.
the programs works, but if i want to include the menu with glutCreateMenu (I call the function in the main), my program crashs and all i get is a black screen, the only solution is a reboot.
but not at the first click, sometimes i can reopen the menu many times. before i get a black screen i see the textures in difficult colores (freaky). but the time is to short for a screenshot.
without textures the menu works and the programm doesnt crash.

my questions:
how can i debug (with eclipse)?
how can i find the error? ( i get no error message crash message etc. only a black screen)
i think the programm/system crashs only if i use textures and call the menu with the mousebutton.

i hope you know what i want and sorry for my bad english.

thanks for reply

ranger
12-27-2005, 11:21 AM
hello,
please help me :)

H.Stony
12-27-2005, 04:08 PM
code would help. does this appear on other systems too

ranger
12-28-2005, 09:35 AM
hello,
thanks an answer *g*
yes the program crash although on other pcs.