[racket] Error with pict3d
When I tried to run the first example of the pict3d doc
(require pict3d)
(current-pict3d-legacy? #t)
(sphere origin 1/2)
I get the following error message
get-master-gl-context: could not get at least an OpenGL 30 context (legacy? = #f)
context...:
/home/csvelayutham/racket/collects/racket/private/more-scheme.rkt:370:13: hash-ref!
/home/csvelayutham/.racket/6.1.1/pkgs/pict3d/pict3d/private/gui/pict3d-snip.rkt:103:7
/home/csvelayutham/.racket/6.1.1/pkgs/pict3d/pict3d/private/gui/pict3d-snip.rkt:91:2: render-thread-loop
After this following the document, I inserted the (current-pict3d-legacy? #t)
(require pict3d)
(current-pict3d-legacy? #t)
(sphere origin 1/2)
Still I get the following error message
get-master-gl-context: could not get at least an OpenGL 30 context (legacy? = #t)
context...:
/home/csvelayutham/racket/collects/racket/private/more-scheme.rkt:370:13: hash-ref!
/home/csvelayutham/.racket/6.1.1/pkgs/pict3d/pict3d/private/gui/pict3d-snip.rkt:103:7
/home/csvelayutham/.racket/6.1.1/pkgs/pict3d/pict3d/private/gui/pict3d-snip.rkt:91:2: render-thread-loop
Am I going wrong somewhere?
C. Shunmuga Velayutham