OpenGL program crash

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?

try this:

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