I included this with the default Win32 GUI code
#define WIN32_LEAN_AND_MEAN
#include "resource.h"
#include <windows.h>
#include <gl\gl.h>
#include <gl\glu.h>
#include <gl\glaux.h>
The build log said:
-------------- Build: Debug in Triangles ---------------
Compiling: main.cpp
D:\Programs\CodeBlocks\openGL tutorials\Triangles\main.cpp:7:60: error: gl\glaux.h: No such file or directory
mingw32-g++.exe: tutorials\Triangles": No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings
This line here, mingw32-g++.exe: tutorials\Triangles", 'Triangles' should be in 'openGL tutorials' folder and it is there if i search on my own.
When i make #include <gl\glaux.h> as comment
massage pop-up said:
"It seems that this project has not been built yet. Do you wish to build it?"
When i press "Yes":
-------------- Build: Debug in Triangles ---------------
Linking console executable: bin\Debug\Triangles.exe
mingw32-g++.exe: tutorials\Triangles": No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings