Original Question:
[Warning] passing
GLfloat' for converting 2 of
void glutSolidSphere(GLdouble, GLint, GLint)'
[Warning] passingGLfloat' for converting 3 of
void glutSolidSphere(GLdouble, GLint, GLint)'
After applying one of the poster's suggestions of including glut.h, I now get this problem.
I can't use glutSolidSphere() without it.
[Linker error] undefined reference to `__glutInitWithExit@12'
[Linker error] undefined reference to `__glutCreateWindowWithExit@8'
[Linker error] undefined reference to `__glutCreateMenuWithExit@8'
[Linker error] undefined reference to `glutSolidSphere@16'
I'm using DEV C++, if that helps.