Linker Errors
I''m curently using Dev-C++. I''ve been using the NeHe tutorials, and they compile fine except for the linker errors. OpenGl32.lib continues to run into problems, i''ll list the errors reported:
C:\DEV-C_~1\Bin\ld.exe: C:\Dev-C++\Lib\OPENGL32.LIB(OPENGL32.dll): warning: ignoring duplicate section `.text''
C:\DEV-C_~1\Bin\ld.exe: C:\Dev-C++\Lib\OPENGL32.LIB(OPENGL32.dll): warning: ignoring duplicate section `.idata$5''
and errors such as:
C:\Dev-C++\Lib\OPENGL32.LIB(OPENGL32.dll)(.debug$S+0x0): multiple definition of `idata$5''
C:\Dev-C++\Lib\GLU32.LIB(GLU32.dll)(.debug$S+0x0): first defined here
I''ve tried to dl the files from OpenGL.org, and have installed the files into my Lib directory, but to no avail. If any of you have any ideas and/or tips please let me know, or email me at Batta05@msn.com
I''ve gone off to find myself
Should i retUrn before i get back please keep me here
I've gone off to find myselfShould i return before i get back please keep me here
hmmm looks like your made two copys of a func or somthing.make sure your not.also make sure windows doesnt use a func with the same name
Free Your mind Free your Feeling~~~Working on~~~Nothing
January 29, 2003 01:45 PM
As far as I know, Dev-C++ (up to version 4 anyway) doesn''t support *.lib librarys. To link the OpenGl libraries you''ll have to dl DevC++ Versions (which are *.a files) or youcould try renaming the *.lib libraries to *.a (that might not work)
try...
libOpenGL32.a
libglut32.a
libglaux.a
libglu32.a
I think those are right, you might not need glut32 though.
libOpenGL32.a
libglut32.a
libglaux.a
libglu32.a
I think those are right, you might not need glut32 though.
Dev-C++ comes with the OpenGL library whos files are named as FireSlash described. To use them, add the following line to the linker options:
-lopengl32 -lglu32
And this for the rest of the libraries you might need:
lib name .a -> -l name
-lopengl32 -lglu32
And this for the rest of the libraries you might need:
lib name .a -> -l name
Chess is played by three people. Two people play the game; the third provides moral support for the pawns. The object of the game is to kill your opponent by flinging captured pieces at his head. Since the only piece that can be killed is a pawn, the two armies agree to meet in a pawn-infested area (or even a pawn shop) and kill as many pawns as possible in the crossfire. If the game goes on for an hour, one player may legally attempt to gouge out the other player's eyes with his King.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement