|
From: Bruce S. <Bru...@nc...> - 2007-07-06 03:23:05
|
I hope someone who is using Fedora will comment, but one thing you might try is to run the OpenGL test routine glxgears, which I think is normally present on Linux. You should see three meshed gears rotating. If not, the problem is probably not with VPython but with OpenGL or X11 or associated environment variables. Also, you might try "print vector(1,2,3)" after importing visual to see that visual is working okay except for creating an OpenGL window. Bruce Sherwood Jutta Luettmer-Strathmann wrote: > Good evening, > > I tried to install VPython on a linux workstation (Fedora Core 4, python > 2.3.4). After some trouble, the "idle" window opens now and imports from visual > (>>> from visual import * works fine) however, it has trouble finding > OpenGL. For example, > >>>> floor = box(length=4, height=0.5, width=4, color=color.blue) > OpenGL initialization failed. > Unable to create OpenGL display widget > > At the same time, the error message > > Xlib: extension "GLX" missing on display ":0.0". > Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkWidget' > > is displayed in the window from which "vpython" was called. > > I've tried recompiling vpython (using the suggestion under "morelinux") but > that doesn't seem to help. I'd be grateful for any help. > > Jutta > > ----------------------------------------------------------------- > Jutta Luettmer-Strathmann > Department of Physics > University of Akron > Akron, OH 44325-4001 > phone: (330) 972 8029 > fax: (330) 972 6918 > email: ju...@ph... > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |