Re: [Dev-C++] Basic GLUT application - Linker error
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Karthik K. <akk...@ya...> - 2004-09-03 19:18:05
|
Instead of FreeGLUT library, I used the GLUT library that was distributed with DevC++ itself. <---- Compile Log --- > gcc.exe display.o -o "Display.exe" -L"C:/Programs/Dev-Cpp/lib" -lopengl32 -lwinmm -lgdi32 -lglut32 display.o(.text+0x1c):display.cpp: undefined reference to `__glutInitWithExit' display.o(.text+0x37):display.cpp: undefined reference to `__glutCreateWindowWithExit' display.o(.text+0x53):display.cpp: undefined reference to `__glutCreateMenuWithExit' display.o(.text+0x68):display.cpp: undefined reference to `_imp__glClear' display.o(.text+0x76):display.cpp: undefined reference to `_imp__glBegin' display.o(.text+0x8e):display.cpp: undefined reference to `_imp__glVertex2f' display.o(.text+0xa6):display.cpp: undefined reference to `_imp__glVertex2f' display.o(.text+0xbe):display.cpp: undefined reference to `_imp__glVertex2f' display.o(.text+0xd6):display.cpp: undefined reference to `_imp__glVertex2f' display.o(.text+0xdd):display.cpp: undefined reference to `_imp__glEnd' display.o(.text+0xe4):display.cpp: undefined reference to `_imp__glFlush' display.o(.text+0x138):display.cpp: undefined reference to `glutDisplayFunc' display.o(.text+0x13d):display.cpp: undefined reference to `glutMainLoop' <--- End Compile Log ---> Thanks for any help in this regard. __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail |