When I run my test Python program interpreted, it runs fine.

When I freeze that same program with cx_Freeze, it throws the following exception:

Traceback (most recent call last):
  File "c:\python26\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27, in <module>
    exec code in m.__dict__
  File "bouncing.py", line 109, in <module>
    glutInit(sys.argv)
  File "c:\python26\lib\site-packages\OpenGL\GLUT\special.py", line 323, in glutInit
    _base_glutInit( ctypes.byref(count), holder )
TypeError: 'NoneType' object is not callable

This is the program:

import OpenGL.platform.win32
from OpenGL.GL import *
from OpenGL.GLUT import *
from OpenGL.GLU import *
import sys
glutInit(sys.argv)

I am using Windows 7

Has anyone seen this problem before ?