user1814893
user1814893

Reputation:

unresolved inclusion <GL/glut.h>

I am trying to get opengl to work with eclipse and I keep getting the following error unresolved inclusion however when i run some sample code it still works, it's just an issue of loads of errors showing up- which would make debugging next to impossible.

enter image description here

this is my path

enter image description here

Upvotes: 1

Views: 1491

Answers (2)

datenwolf
datenwolf

Reputation: 162327

GLUT is not a standard library, shipping with the OpenGL development resources. Most likely you either don't have installed GLUT or the examples you were compiling did configure additional include file search directories in their build options.

Make sure you have installed GLUT and your project build options cover the include and library paths the GLUT development files have been installed to.

Upvotes: 3

mwerschy
mwerschy

Reputation: 1708

You probably don't have the GL directory in your include path.

Upvotes: 0

Related Questions