View Full Version : glut and mouse wheel gives segmentation fault

08-23-2003, 05:20 AM

i posted this comp.graphics.api.opengl a few day ago but got no answer. Since it's urgent i ask here eagain:

i've got a strange problem that solely occurs
in my OpenGL app using glut (v3.7):
Whenever i scroll the mouse wheel forwards,
the program exits giving a segmentation fault.
When i scroll the wheel backwards, nothing happens.
I have two subwindows and the mouse functions for each
of them work fine, also the three buttons work as expected.
Libraries i use: X11, Xi ,Xm, glut, GL and GLU.
I'm on redhat9 using a MS Intellimouse (optical,usb)
and scrolling with the mouse wheel works fine
otherwise (see the mouse section in my XF86Cconfig below).
Since i can only use an usb mouse on my laptop,
i have not tried other mice.

Has anybody got an idea what's going on
or what i could do to solve this?

Regards and THANKS,

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"

08-23-2003, 02:15 PM
You may want to ask this on the OpenGL for Linux board on this site.

This board is for end lusers who cant get their games to work.