Can't create a window with freeglut

#ifdef __APPLE__
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif

#include <math.h>
#include <iostream>

using namespace std;

const int WINDOWWIDTH = 500, WINDOWHEIGHT = 500;

int main(int* argc, char** argv)
{
glutInit(&argc, argv);

glutInitWindowSize(WINDOWWIDTH, WINDOWHEIGHT);
glutInitWindowPosition(100, 100);
glutCreateWindow("Pig");

glutMainLoop();

return 0;
}

I'm new to freeglut and opengl, I'm pretty sure I have everything installed properly, perhaps I still don't get how these functions work. The error's are:
in function int main()
can't convert int** to int* for argument 1 to void glutInit()
Topic archived. No new replies allowed.