Under OpenGL programming at Code::Blocks, all complied executeable file would run only with the dynamic library glut32.dll in the same folder. It's quite inconvenience to get the file work only together with glut32.dll. I did try to use freeglut_static.lib and take away glut32.dll, but doesn't work. Should there be any static library that can be used for compliation without the need of glut32.dll, so that the executeable file can work alone? Tks.