I am trying to make a 3D Engine in OpenGL!
I can not find any tutorials or web links that help with this. ?
When I compile I get this error!
fatal error C1083: Cannot open include file: ‘gl\gl.h’: No such file or directory
I have it written like this!
#include <windows.h> #include <gl\gl.h>// Header File For The OpenGL32 Library #include <gl\glu.h>// Header File For The GLu32 Library #include <gl\glaux.h>// Header File For The GLaux Library
What am I doing wrong?
I am using MSVC++ and I made a Win32 App.
I went into "Project,settigns,link, and added OpenGL32.lib GLu32.lib GLaux.lib .
Under windows and MSVC on the includes not sure but you may need to switch the slash. I think some take it ether way. but worth a try, also look and see if the file is in the correct directory.
#include<gl/gl.h>
Originally posted by BamBamm:
[b]I am trying to make a 3D Engine in OpenGL!
I can not find any tutorials or web links that help with this. ?
When I compile I get this error!
fatal error C1083: Cannot open include file: ‘gl\gl.h’: No such file or directory
I have it written like this!
#include <windows.h> #include <gl\gl.h>// Header File For The OpenGL32 Library #include <gl\glu.h>// Header File For The GLu32 Library #include <gl\glaux.h>// Header File For The GLaux Library
What am I doing wrong?
I am using MSVC++ and I made a Win32 App.
I went into "Project,settigns,link, and added OpenGL32.lib GLu32.lib GLaux.lib .