//////////////////////////////////////////// // // To run a sample program in Windows: // //////////////////////////////////////////// (if you have not already done so) 1. Download 'glut' from internet, follow installation instruction. 2. In the sample program (e.g., drawcurve.cpp), replace the code block /******************************************** #include << X11/Xlib.h> #include << GLUT/glut.h> //#include << OpenGL/gl.h> //#include << stdlib.h> #include << stdio.h> *********************************************/ with /******************************************** #include << stdio.h> #include << stdlib.h> #include << windows.h> #include << gl/glut.h> #include << gl/gl.h> *********************************************/ 3. create a new empty console project* 4. add the file into the project 5. push the compile button * To get help on step 3 and/or step 4, check out the following web site: http://www.cse.ohio-state.edu/~hwshen/781/opengl/