im includeing

#include <windows.h>		// Header File For Windows
#include <gl\gl.h>			// Header File For The OpenGL32 Library
#include <gl\glu.h>			// Header File For The GLu32 Library
#include <gl\glaux.h>

how do i link this(the opengl headers) in the cmd console window im using mingw and g++ any ideas?

this is what ive already tried

tried
g++ test.cpp -lopengl32 -lglu32
test.cpp:12:69: gl\glaux.h: No such file or directory

g++ test.cpp -lopengl32 -lglu32 -lglaux32
test.cpp:12:69: gl\glaux.h: No such file or directory

g++ test.cpp -lopengl32 -lglu32 -lglaux
test.cpp:12:69: gl\glaux.h: No such file or directory

it compiles fine in Vis C++ but i much prefer cmd line

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.