My system is Ubuntu Lucid 64 (LTS)
I installed all J addons via pacman, right from the start!
When I try to run something like:
load '~addons/demos/opengl/simple/gldemos.ijs' or
load '~addons/demos/opengl/demo/gldemo.ijs'
the GTK windows open properly, but nothing is rendered, the message
returned is:
cannot alloc opengl context
locate libGLU gives:
/usr/lib/libGLU.so.1
/usr/lib/libGLU.so.1.3.070701
/usr/lib/mesa/libGL.so.1
/usr/lib/mesa/libGL.so.1.2
/usr/lib/nvidia-173/libGL.so
/usr/lib/nvidia-173/libGL.so.1
/usr/lib/nvidia-173/libGL.so.173.14.22
/usr/lib/nvidia-173/libGLcore.so.1
/usr/lib/nvidia-173/libGLcore.so.173.14.22
/usr/lib32/libGL.so
/usr/lib32/libGLU.so
/usr/lib32/libGLU.so.1
/usr/lib32/libGLU.so.1.3.070701
/usr/lib32/mesa/libGL.so.1
/usr/lib32/mesa/libGL.so.1.2
/usr/lib32/nvidia-173/libGL.so
/usr/lib32/nvidia-173/libGL.so.1
/usr/lib32/nvidia-173/libGL.so.173.14.22
/usr/lib32/nvidia-173/libGLcore.so.1
/usr/lib32/nvidia-173/libGLcore.so.173.14.22
So it's all there, I wonder if there is some library conflict, since there
are so many versions.
I mean, how does the system resolve which one it should be using?
On 15 October 2012 02:23, bill lam <[email protected]> wrote:
> I tested opengl (both 32 and 64-bits) worked in my debian. The
> context is provided by x11. Perhaps some addons such as api/x11 are
> missing. Install that addon and try again. If it still fails, then
> install all addons. You can always un-install addons in pacman.
>
> run demos by
> load '~addons/demos/opengl/simple/gldemos.ijs'
> load '~addons/demos/opengl/demo/gldemo.ijs'
>
> osmesa is not used at all because it now renders by using card hardware.
> mesa needed only if your video card driver cannot provide opengl which
> is unlikely except when you are using the framebuffer vga card driver.
>
> only libGL and libGLU are needed which should be present in all
> modern linux install. libX11 is used to provide context for
> renderring and it must be there unless x-window has not been
> installed. So I guess you need not worry those libraries.
>
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm