I've taken an old PyOpenGL routine & packaged it into a single executable. It works fine on my computer but I need other people to test it. Just download the file & run it.
You should see a spinning cube on the screen but if it doesn't work I need to know what happened.
Did it report an error saying that it couldn't find MSVCR90.dll & GLUT32.dll?
Worked fine for me (Windows 7... if it matters). I manually installed glut32 a while ago so...
Warning: boredom may result in armed robbery, kidnapping, reckless endangerment of others, aggravated assault of a police officer, felony fleeing apprehension, and damage to property.
We should take bikini bottom, and push it somewhere else! <(O.O<) <(O.O)> (>O.O)>
When I try to run the program, it creates an error log that says:
Traceback (most recent call last): File "pyOpenGL001.py", line 118, in <module> File "pyOpenGL001.py", line 104, in main File "OpenGL\GLUT\special.pyo", line 323, in glutInit TypeError: 'NoneType' object is not callable
(I'm running XP)
Both optimists and pessimists contribute to society. The optimist invents the airplane; the pessimist invents the parachute. Checkers | Fractals
3MB exe for one solid shaded rotating box + the size of the glut lib isn't small at all.
but it works here
Last Edit: Dec 28, 2010 15:07:41 GMT -5 by DJLinux
(sorry for my bad English)
I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.
Post by Supermonkey on Dec 28, 2010 16:27:34 GMT -5
3MB exe for one solid shaded rotating box + the size of the glut lib isn't small at all.
but it works here
I agree but I imagine the majority of that is python, that 3MB probably wouldn't increase much with the complexity of the program (until you start adding assets).
PeterMaria Thanks for testing, glad it worked for you.
@chris Apparently a lot of software written with Microsoft Visual C++ needs to install it.
Yeah, 3MB is quite large but that was the first successful app that I've managed to create with Py2exe. I know for a fact that a lot of unnecessary & duplicate files got included, I reckon that I should be able to get it smaller.