[racket] Opengl racket 5.2.1
You may need to install "gdkglext" and "gtkglext". See
http://docs.racket-lang.org/gui/libs.html
for more information.
At Thu, 17 May 2012 11:56:39 -0300, Eduardo Bellani wrote:
> Hello racket team.
>
> For some fun, I have tried to play around with the opengl library
> again. For starters I've tried to run the gears.rkt example.
>
> This message popped up:
>
> "There was an error initializing OpenGL. Maybe OpenGL is not supported
> on the current platform."
>
> From looking at the source I can tell that there is a problem with
> the with-gl-context which means I guess that racket is failing to
> find my opengl libs. Here is a report from ldconfig
>
> ldconfig -p | grep -i libgl
> libglut.so.3 (libc6) => /usr/lib/libglut.so.3
> libglut.so (libc6) => /usr/lib/libglut.so
> libglibmm_generate_extra_defs-2.4.so.1 (libc6) =>
> /usr/lib/libglibmm_generate_extra_defs-2.4.so.1
> libglibmm-2.4.so.1 (libc6) => /usr/lib/libglibmm-2.4.so.1
> libglib-2.0.so.0 (libc6) => /lib/i386-linux-gnu/libglib-2.0.so.0
> libglib-2.0.so (libc6) => /usr/lib/i386-linux-gnu/libglib-2.0.so
> libglapi.so.0 (libc6, OS ABI: Linux 2.4.20) =>
> /usr/lib/i386-linux-gnu/libglapi.so.0
> libglade-2.0.so.0 (libc6) => /usr/lib/libglade-2.0.so.0
> libGLU.so.1 (libc6) => /usr/lib/i386-linux-gnu/libGLU.so.1
> libGLU.so (libc6) => /usr/lib/i386-linux-gnu/libGLU.so
> libGLEWmx.so.1.5 (libc6) => /usr/lib/libGLEWmx.so.1.5
> libGLEW.so.1.5 (libc6) => /usr/lib/libGLEW.so.1.5
> libGL.so.1 (libc6, OS ABI: Linux 2.4.20) =>
> /usr/lib/i386-linux-gnu/mesa/libGL.so.1
> libGL.so (libc6, OS ABI: Linux 2.4.20) =>
> /usr/lib/i386-linux-gnu/mesa/libGL.so
> libGL.so (libc6, OS ABI: Linux 2.4.20) =>
> /usr/lib/i386-linux-gnu/libGL.so
>
>
> I'm running ubuntu 11.10 on this machine. Any leads?
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users