Thanks, I couldn't figure out what the problem was, I got it all figured out now. Turns out that the IDE i am using only has GL/glut.h that was the only thing in the GL folder. That file just points to FL/glut.h. I fixed all that by getting an updated glut.h putting it in GL, installing the required .dll, and linking in my linker options with "-lglut". Now they all work, as long as I use the right include files.
Thanks again, --Adam > > 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
