> Hello,
> I'm new to openGL, but have been using FLTK for about 6 months (guess i'm 
> still new at that too.)  While trying to do some example programs, I've come 
> across the problem of things not included in my openGL installation (i think.)
>
> I get errors such as "glutWireCube was not declared in this scope"
> and "gluPerspective was not declared in this scope."
>
> I am running winXP, and I am using Quincy2005 IDE (which uses Mingw to 
> compile)  Am I missing something?
>
> here is the link to the example i am trying to run:
> http://www.videotutorialsrock.com/opengl_tutorial/basic_shapes/home.php
>
> Thanks,
> Adam

Check these:

glutWireCube() requires that you:
   #include <GL/glut.h>     and link with glut32.lib, or
   #include <GL/freeglut.h> and link with freeglut.lib, or
   #include <FL/glut.H>     and link with fltkgl.lib or fltkdll.lib

gluPerspective() requires that you:
   #include <GL/glu.h> and link with glu32.lib

Don.

_______________________________________________
fltk-opengl mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-opengl

Reply via email to