View Full Version : gluOrtho2D problem

12-12-2002, 12:49 AM

When I compile a small opengl program I get this error message

/tmp/ccV2U4BX.o: In function `SierpinskiWidget::resizeGL(int, int)':
/tmp/ccV2U4BX.o(.text+0x1ac): undefined reference to `gluOrtho2D'
collect2: ld returned 1 exit status

I think I am missing some lib files or something.

Any ideas

Regards Jerven

12-12-2002, 01:53 AM
Well, easy solution. I forgot the -lGLU link when compiling.