[racket] OpenGL (SGL) examples not working in Fedora

From: Daniil (eraserfingers at gmail.com)
Date: Sat Jul 16 06:09:31 EDT 2011

Hello, Racket users. I was playing with SGL the other day and stumbled
upon a problem.
While everything was fine and working well on my Windows computer, I
had troubles running OpenGL code on my Fedora laptop.

When I try to run gears.rkt (collects/sgl/examples/gears.rkt) I get
the following error:

    send: target is not an object: #f for method: call-as-current

    === context ===
    /home/d/racket/collects/racket/private/class-internal.rkt:4549:0: obj-error
    /home/d/racket/collects/racket/private/class-internal.rkt:3813:0:
find-method/who
    /home/d/racket/collects/mred/private/mrcanvas.rkt:121:25:
with-gl-context method in canvas%
    /home/d/racket/collects/sgl/examples/gears.rkt:234:4: on-size
method in gears-canvas%
    /home/d/racket/collects/racket/private/more-scheme.rkt:149:2:
call-with-break-parameterization
    /home/d/racket/collects/racket/private/more-scheme.rkt:265:2:
call-with-exception-handler
    /home/d/racket/collects/mred/private/wx/common/queue.rkt:430:6
    /home/d/racket/collects/mred/private/wx/common/queue.rkt:470:32
    /home/d/racket/collects/mred/private/wx/common/queue.rkt:607:3

I have Mesa3D installed and I have successfully run the original
`glxgears' demo. I also have GL development packages installed, if
that matters.
Does anybody have an idea what might be the problem in this case?

Thanks in advance and pardon my English, I am not a native speaker.


Posted on the users mailing list.