PDA

View Full Version : OpenGL program crash



05-19-2005, 09:46 AM
I'm tring to run the most simple program which uses the GLUT library.
For example:
int main(char **argv, int argc) {
glutInit(&argc, argv);
return 0;
}

The program compiles but crashes...
Does anyone know what can be the problem?

RigidBody
05-19-2005, 09:55 AM
try this:

int main(int argc, char *argv[])