[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 18:16:09
|
Hi, I wanted to run my first GLUT application as following. I am attaching a barebones glut application herewith. I am getting a lot of linking errors. I am attaching the error herewith. <-- Compile Log --> gcc.exe display.o -o "Display.exe" -L"C:/Programs/Dev-Cpp/lib" -mwindows -lfreeglut -lglu32 -lopengl32 -lwinmm -lgdi32 Warning: resolving __imp__glBegin by linking to __imp__glBegin@4 Use --enable-stdcall-fixup to disable these warnings Use --disable-stdcall-fixup to disable these fixups Warning: resolving __imp__glVertex2f by linking to __imp__glVertex2f@8 Warning: resolving __imp__glEnd by linking to __imp__glEnd@0 Warning: resolving __imp__glFlush by linking to __imp__glFlush@0 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' make.exe: *** [Display.exe] Error 1 Execution terminated <--- End Compiler Log --> Please let me know what I am doing wrong. I am having the latest version of Dev-cpp - 4.9.9.0 . -- Karthik. __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail |