The libGL and libGLU provided by mesa are fine although you should most probably already using libGL/libGLU provided by the nvidia driver. The problem is related to OSMesa (off-screen mesa), I suppose the libOSMesa6 is new enough and using libOSMesa7 won't help. I have never used osmesa and have no idea on what the problem is.
the domain error in gluLookAt is not opengl related. It is a limitation of J engine in that the call uses too many double arguments. Alternatively, the opengl support for linux in j701 is better at least it run all demos and does not require osmesa. Again update base library first. Вск, 14 Окт 2012, Alex Giannakopoulos писал(а): > Thanks for that Bill > > I got the latest (*.64) base library and de-installed the freeglut stuff. > > >locate libOSMesa is reporting > /usr/lib/libOSMesa.so > /usr/lib/libOSMesa.so.6 > /usr/lib/libOSMesa.so.6.5.3 > > So that seems fine. > > It is still not working though. > The "opengl simple" demos open blank black windows, at best with random dot > patterns (the 3d fonts demo) > The "opengl" demo puts up a "wdhandler" dialog box saying: > domain error: gluLookAt > gluLookAt GS_VIEWXYZ, GS_VIEWLINE, GS_VIEWUP > > The OpenGL introduction lab prints "openGL OK" after the testdlls'' verb. > Subsequently, however, it does not open the forms correctly, and again > chucks a "wdhandler" dialog box, with no info in it,.. occasionally it > crashes J altogether. > > So currently I am assuming that there is something wrong with my mesa > version, unless anyone else knows better. > I would like to avoid building the latest mesa from scratch, for various > reasons (mainly fear of destabilising my system) but that may be my only > option. Funnily enough though, everything else 3d on my system seems to > work fine, including the various demos like glxgears, the GL screensavers > etc. > > I realise that this is probably no longer a "J" problem, but any words of > advice will be gratefully received before I start ripping the guts out of > the thing! > > > > > > > > On 14 October 2012 02:51, bill lam <[email protected]> wrote: > > > the j602 install from jsoftware.com is the oldest, the current > > verson is 64. pacman is the package manager in the menu of the ijx > > window. You should update it first. After that, I guess you can > > un-install freeglut dev and it can still work. > > > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
