In order to run those graphics labs, you need to upgrade and install some packages. The easier way to to install and upgrade all packages available. I think the following packages should be relevant,
........................................................ .api/gl3 .1.0.1 .1.0.1 .OpenGL API ........................................................ .api/glx .1.0.1 .1.0.1 .OpenGL GLX API ........................................................ .api/x11 .1.0.2 .1.0.2 .X11 API ........................................................ .base library .7.1.46.7.1.46.base library scripts ........................................................ .data/jfiles .1.0.0 .1.0.0 .J component file and ke ........................................................ .data/jmf .1.0.3 .1.0.3 .J Memory Mapped File ........................................................ .demos/gtk .1.0.16.1.0.16.gtk demos ........................................................ .demos/opengl .1.0.8 .1.0.8 .OpenGL demos ........................................................ .demos/plot .1.0.1 .1.0.1 .Plot demos ........................................................ .general/misc .1.6.3 .1.6.3 .miscellaneous scripts ........................................................ .graphics/afm .1.0.1 .1.0.1 .AFM ........................................................ .graphics/bmp .1.0.0 .1.0.0 .bitmap utilities ........................................................ .graphics/color .1.0.0 .1.0.0 .Color tables ........................................................ .graphics/gl2 .1.0.2 .1.0.2 .gl2 ........................................................ .graphics/graph .1.0.0 .1.0.0 .Graph ........................................................ .graphics/opengl .1.0.7 .1.0.7 .OpenGL graphics ........................................................ .graphics/plot .1.0.2 .1.0.2 .Plot ........................................................ .graphics/viewmat .1.0.1 .1.0.1 .Displays a viewmat ........................................................ .gui/gtk .1.0.57.1.0.57.GTK API ........................................................ .ide/gtk .1.0.68.1.0.68.GTK IDE ........................................................ .ide/jhs .1.0.87.1.0.87.JHS IDE ........................................................ .labs/labs .1.0.20.1.0.20.LABS ........................................................ .math/misc .1.0.0 .1.0.0 .miscellaneous scripts ........................................................ Пнд, 28 Фев 2011, Brian Schott писал(а): > Bill, > > Running the JGTK Lab: Graphics - gl2 commands, I get the following errors. > > gl2lab'' > |syntax error > | gl2lab'' > > gl2lab > 43244480 > gl2lab_run'' > |domain error: gtk_widget_set_can_focus > | gtk_widget_set_can_focus gtkda,1 > JVERSION > Engine: j701/2011-01-07/14:33 > Library: 7.01.046 > Platform: Darwin 32 > Installer: j701a_mac_powerpc.dmg > InstallPath: /Users/brian/j701 > ---------------------------------------------------------------------- > 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
