Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » gl/glaux.h not found(opengl, eclipse, c++, win 7)
gl/glaux.h not found [message #629316] Mon, 27 September 2010 14:54 Go to next message
No real name is currently offline No real name
Messages: 1
Registered: September 2010
Junior Member
Hello,

i tried to getting started with opengl in eclipse.

I downloaded the cdt version of eclipse and i have mingw working.

normal projects compile without any problems.

When i try to compile a standard opengl prgram e.g. nehe.gamedev.net, Lesson 01 then i get the follwing:

in line:
#include <gl\glaux.h>                                // Header File For The GLaux Library


Quote:
Unresolved inclusion: <gl\glaux.h>


what do i have to do to get gl running properly?

thx
Re: gl/glaux.h not found [message #629392 is a reply to message #629316] Tue, 28 September 2010 02:53 Go to previous message
Axel Mueller is currently offline Axel Mueller
Messages: 1926
Registered: July 2009
Senior Member
You should add the include path for the external library.
In Project Properties->C/C++ General->Paths and Symbols go to the Includes tab. Add the path for C (and C++ if your header contains C++ elements).


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Previous Topic:File>Open doesn't
Next Topic:how to parse C file?
Goto Forum:
  


Current Time: Wed Apr 16 00:25:01 EDT 2014

Powered by FUDForum. Page generated in 0.08002 seconds