CSCI 4972/6963 - Spring 2008
Advanced Computer Graphics
Home
  Contact Information
  Office Hours

Announcements

Syllabus
  Prerequisites
  Textbook

Grading
  Assigned Readings

Calendar
  Lecture notes
  Lab materials
  Homework
  Test reviews

Homework
  Collaboration Policy
  Compilers
    gcc/g++ notes
    GL/glut notes
  Homework Late Policy
  Electronic Submission

Final Project
   Spring '08 Projects
   Spring '07 Projects

Academic Integrity

OpenGL/glut Installation Notes

Using Dev C++

  • http://www.bloodshed.net/devcpp.html
  • Click "Go To Download Page"
  • Download from SourceForge
  • Once program is installed and set up, go to Tools/Check for Updates/Packages
  • Choose Community Devpacks in the drop down menu
  • Find and download the FreeGlut, glut, OpenGL and OpenGlut packages
  • Once the download and installation (all automatic) are complete, choose a new project.
  • Under the MultiMedia tab, choose FreeGlut.
  • You're all set. Start coding!
  • Note: If you're using Dev-C++ then you don't need the Makefile.

Using Cygwin on default RPI laptop w/ Windows Vista

  • Before starting close any running cygwin based programs.
  • Get the cygwin setup program from http://www.cygwin.com/setup.exe, e.g., C:\cygwin but it shouldn't matter where you put it.
  • Run the downloaded setup program ("setup.exe") as an administrator (say allow to all the Vista security prompts). Click next. Choose "Install from Internet". Click next.
  • Root Directory should already be filled in with "C:\cygwin" and Install for All users should be checked. After verifying these options click next.
  • The local package Directory can be any temporary directory but the default "C:\cygwin\packagefiles" is probably a good idea. Click next.
  • Set the connection options appropriately for your situation. Direct Connection works on the RPI network. Click next.
  • Choose a mirror. My machine automatically picked http://mirror.mcs.anl.gov which seems to be reasonably fast but any of them should work with varying speeds. Click next.
  • The next step is to pick what you want to install. It might be easiest to use "Full" mode instead of "Category" mode which can be chosen by clicking the "View" button. You need to install "freeglut" and "opengl". Find these packages in the list and click where it says "Skip" (under the "New" column). Skip should be replaced by a version number. You may also want to install ImageMagick (and any other open source software you want to have on your computer) while you're at it. When you're done click next.
  • Now all you need to do is wait for the software you selected (and any out of date software that was automatically selected) to be downloaded and installed (hint: go do something else).
  • At the last screen uncheck "Create icon on Desktop" (you probably already have one) and click Finish.
  • If Vista's Program Compatibility Assistant pops up just click "This program installed correctly".
  • Start cygwin as you normally would and navigate to the directory with your source code and the Makefile (make sure your browser didn't rename it to Makefile.htm).
  • Type "make cygwin_a" and press enter. With any luck you should now have a working executable.
Please contact the TA or instructor if you have questions or installation instructions for other platforms.