[Dev-C++] Re: Trouble Compiling OpenGL apps
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <RPG...@ao...> - 2001-07-17 21:21:10
|
I searched for and found both _imp__glColor3f@ and _imp__glClear@ in the libopengl32.a file. I couldn't understand all the characters in the file, but those two strings were in it. Putting -lopengl32 has the same effect as putting C:\Dev-C++\lib\libopengl32.a further option files box, correct? They both result in these error messages. c:\my documents\simpleglmain.o(.text+0x19):simpleglmain.c: undefined reference to `_imp__glClear' c:\my documents\simpleglmain.o(.text+0x36):simpleglmain.c: undefined reference to `_imp__glColor3f' c:\my documents\simpleglmain.o(.text+0x46):simpleglmain.c: undefined reference to `_imp__glBegin' c:\my documents\simpleglmain.o(.text+0x6e):simpleglmain.c: undefined reference to `_imp__glVertex3f' c:\my documents\simpleglmain.o(.text+0x96):simpleglmain.c: undefined reference to `_imp__glVertex3f' c:\my documents\simpleglmain.o(.text+0xbe):simpleglmain.c: undefined reference to `_imp__glVertex3f' c:\my documents\simpleglmain.o(.text+0xe6):simpleglmain.c: undefined reference to `_imp__glVertex3f' c:\my documents\simpleglmain.o(.text+0xf1):simpleglmain.c: undefined reference to `_imp__glEnd' c:\my documents\simpleglmain.o(.text+0xf9):simpleglmain.c: undefined reference to `_imp__glFlush' c:\my documents\simpleglmain.o(.text+0x121):simpleglmain.c: undefined reference to `_imp__glClearColor' c:\my documents\simpleglmain.o(.text+0x134):simpleglmain.c: undefined reference to `_imp__glMatrixMode' c:\my documents\simpleglmain.o(.text+0x13f):simpleglmain.c: undefined reference to `_imp__glLoadIdentity' c:\my documents\simpleglmain.o(.text+0x170):simpleglmain.c: undefined reference to `_imp__glOrtho' c:\my documents\simpleglmain.o(.text+0x1a3):simpleglmain.c: undefined reference to `glutInit' c:\my documents\simpleglmain.o(.text+0x1b0):simpleglmain.c: undefined reference to `glutInitDisplayMode' c:\my documents\simpleglmain.o(.text+0x1c5):simpleglmain.c: undefined reference to `glutInitWindowSize' c:\my documents\simpleglmain.o(.text+0x1d4):simpleglmain.c: undefined reference to `glutInitWindowPosition' c:\my documents\simpleglmain.o(.text+0x1e4):simpleglmain.c: undefined reference to `glutCreateWindow' c:\my documents\simpleglmain.o(.text+0x1f9):simpleglmain.c: undefined reference to `glutDisplayFunc' c:\my documents\simpleglmain.o(.text+0x201):simpleglmain.c: undefined reference to `glutMainLoop' Are you using a different version of the libraries than I am? |