Dylab
02-05-2001, 01:17 PM
Ok... Well im trying to use DevC++ on this tutorial writen for DevC and opengl... These are the following headers that it gives me...
#include <windows.h>
#include <gl\gl.h>
#include <gl\glu.h>
Ok my question is what libraries should i use to link?
If i use glu32.lib file than i get rid of some of the errors... I also thought i was suppose to use OpenGl32.lib but when i use that it gives me several errors saying
C:\DYLAB\DEVC\BIN\ld.exe: C:\Dylab\DevC\Opengl32.lib(OPENGL32.dll): warning: ignoring duplicate section `.text'
stuff like that
if i dont use it then it gives me errors that it has functons undefined... I know this question is probally realy stupid but i have been trying to work it out forever... Do i have to get diffrent dlls sense for DevC... Thanx in advance
#include <windows.h>
#include <gl\gl.h>
#include <gl\glu.h>
Ok my question is what libraries should i use to link?
If i use glu32.lib file than i get rid of some of the errors... I also thought i was suppose to use OpenGl32.lib but when i use that it gives me several errors saying
C:\DYLAB\DEVC\BIN\ld.exe: C:\Dylab\DevC\Opengl32.lib(OPENGL32.dll): warning: ignoring duplicate section `.text'
stuff like that
if i dont use it then it gives me errors that it has functons undefined... I know this question is probally realy stupid but i have been trying to work it out forever... Do i have to get diffrent dlls sense for DevC... Thanx in advance