Page 1 of 1

GL/GL.h

Posted: Sun May 17, 2009 12:19 pm
by Jookia
Where the hell is this GL/gl.h file i've been hearing about?

Posted: Sun May 17, 2009 1:06 pm
by CuteAlien
It's part of the opengl development libraries. On debian you could install it for example with: apt-get install mesa-common-dev

Posted: Mon May 18, 2009 1:25 am
by Jookia
I'm on win32 and I can't find it.

Posted: Mon May 18, 2009 3:26 am
by twilight17
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\gl

Posted: Mon May 18, 2009 3:36 am
by Jookia
I have CodeBlocks. D:

Posted: Mon May 18, 2009 5:00 am
by abhishekdey1985
Then u must have installed MinGW or other GCC package. Go to MinGW Installation Directory /include/GL/gl.h . OpenGL Default comes with MinGW.

Posted: Mon May 18, 2009 7:13 am
by Jookia
Thanks.

Code: Select all

Linking console executable: ..\bin\Vox.exe
..\..\lib\Win32-gcc\libIrrlicht.a(Irrlicht.o):Irrlicht.cpp:(.text+0x0): multiple definition of `_createDevice'
..\..\lib\Win32-gcc\libIrrlicht.a(d000012.o):(.text+0x0): first defined here
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 4 seconds)
0 errors, 1 warnings