I was reinstalling J in a hosted environment, where Mesa needs to be installed locally in home.
When Mesa is used, GL and GLU need to be redefined as well. However, in gl3.ijs, their path is hardcoded. Diagnostic error is: |domain error: glEnable | glEnable GL_DEPTH_TEST This is a fix to take them from LD_LIBRARY_PATH from where Mesa is taken. ======================================== main/gl3.ijs === + require 'libpath' elseif. UNAME-:'Linux' do. ~ gl=: find_dll 'GL' ~ glu=: find_dll 'GLU' ========================================================= Reported earlier [Jbeta] find_dll: OpenGL et al http://www.jsoftware.com/pipermail/beta/2006-May/001063.html [Jbeta] OpenGL Linux http://www.jsoftware.com/pipermail/beta/2006-May/001145.html __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
