riisXIV
December 30, 2000, 1:15am
1
I’m trying to learn OpenGL and I’m using dev-c++ as my compiler. Everytime I compile something the linker comes up with this message:
c:\my docs\file2.o(.text+0x11a):file2.cpp: undefined reference to `gluOrtho2D@32’
Can someone give me an alternitive?
system
December 30, 2000, 2:06am
2
The message is about a link error. You are not linking to libglu32.a from a prompt would it be something like:
gcc mycode.c -mwindows -lglu32 -lopengl32
riisXIV
December 30, 2000, 3:23am
3
I already had that ( -opengl32 -glu32 ) inserted in the [project options/further object files or linker] list.
Still doesn’t work.