So apparently I forgot to document the process on how to build PyOpenGL on MinGW+MSYS.
- Install MinGW+MSYS.
- Install GLUT (Preferably compiled yourself).
- Install pyMinGW (Preferably compiled yourself).
- Download and decompress the PyOpenGL tarball.
- Edit config/win32.cfg so that {include,lib}_dirs points to your GLUT base {include headers,libraries} path, e.g., C:/msys/1.0/local/{include,lib}, add a variable under those named
extra_link_args
that contains the locations of your Python library and your OpenGL library (that comes with w32api), separated by " ", e.g., C:/msys/1.0/local/lib/libpython.a" "C:/mingw/lib/libopengl32.a, and remove the value oflibs
in[GL]
. - Run python setup.py build -cmingw32 && python setup.py install.
Much simpler than some software, trust me.
Also, I am currently working on an S5-building tool using PyGTK. Should be "ready" pretty soon; the hard part wasn't the S5 parser/builder, it'll be the pseudo-WYSIWYG editor.