hi,
i just started using pyopengl to work along with cal3d. running a model
viewer that i wrote works fine if i run it in the interpreter by doing
something like this:
python myscript.py
but once i try to make a standalone executable using py2exe the program
crashes with an access violation when i call glDrawElementsui. this
call works fine, however, in the interpreter. i followed the steps for
using py2exe as documented on the pyopengl project website
so i went ahead and wrote a program to embed the python interpreter to
see if py2exe was the problem. it appears that it is because the script
runs fine inside my program.
here's some info:
pyopengl version: PyOpenGL-2.0.0.44.win32-py2.2.exe
os: win xp pro
compiler: ms vc++ 6 (for embedding the interpreter to test against py2exe)
has anyone run into this? if you need more info please ask.
i'd rather use py2exe than embedding the interpreter myself. any help
is appreciated.
/r
|