Re: [PyOpenGL-Users] difficulty with installing
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@ro...> - 2003-08-17 14:27:38
|
Rob Boellaard wrote: > Hi list, > > I am trying to get OpenGL and Python to work. I have >worked through the installation list on the >pyopengl.sourceforge.net webpage. > Just to be clear, you're using the main (current) installation page here: http://pyopengl.sourceforge.net/documentation/installation.html >I have installed >python 2.3 > There's your problem. Note that the dependency listed on the page is Python 2.2.3+, that is, Python 2.2, latest version, *not* Python 2.3. Python 2.3's Tkinter/togl is currently broken, so we aren't currently able to support it (at least, not with togl). >and most of the other dependencies. > You'll need to re-install those for Python 2.2. > I have two questions: > 1. about the glut binaries, where exactly should I >place the glut.c, glut.lib and glut.def? > As I couldn't find any DeveloperStudio program to >istall it for me, and I dont know my way around very >well in windows system files and makefiles, I have >done the following > glut32.dll --> C:\WINDOWS\System\ > glut.c --> C:\Python\include\ > glut.lib --> C:\Python\lib\ > glut.def --> ?? > The glut.lib would need to be in c:\python\libs, not c:\python\lib. I put the .def files in the libs directory, but for MSVC++, they aren't necessary AFIAK. Note that the PyOpenGL build system will also put a ../lib and ../include directory in the lib and include paths respectively (from the PyOpenGL source directory), so you can just create directories at that level if you don't want to put OpenGL-specific stuff in your Python directories. > 2. the other question is about PyOpenGL and >OpenGlContext itself. I didn't find an installer for >the context for Python 2.3, just for 2.2. However, in >the installation doc-page it says that Python 2.3 is >required (! it is even in bold) for the context - so >now I am hesitating. > It's Python "2.2.3+", that's in bold. Having the + there is probably the confusing thing (given that the 2.2.4 branch isn't really doing much at the moment). Use Python 2.2.3, not Python 2.3. > I guess I should now get the sources, and compile >them, but I have zero expierence with Python or OpenGl >( it is my goal to learn them both together - I do >have experience with unix and C & Java, though), so >before I mess up, I would like to ask your advice. > Could you please tell me which versions to download, >exactly how to install themin which order, using wich >shell or other program? > Please try again from the installation instructions page (which is trying to give you everything you've described). The order to install is the order of listing for the most part (if you use that order everything's fine, but you can actually switch around the order for lots of things w/out problems). Good luck, Mike |