CSCI 4530/6530 - Spring 2010
Advanced Computer Graphics
Home
  Contact Information
  Office Hours

Announcements
  LMS

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 '10 Projects
   Spring '09 Projects
   Spring '08 Projects
   Spring '07 Projects

Academic Integrity

OpenGL/glut Installation Tips

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 Ubuntu (or another Debian system)

On Debian, you will need the following packages:
  • libglut3-dev
  • glutg3-dev
  • freeglut3-dev
  • build-essential
Open up a terminal and type:
  apt-get install libglut3-dev glutg3-dev freeglut3-dev

Notes for Fedora Core users

On Fedora Core you need to install:
  • freeglut
  • freeglut-devel
Using yum:
  yum install freeglut freeglut-devel
Using rpm:
  rpm -ivh freeglut-*
or download the rpm files and use:
  rpm -i freeglut-*

Using Cygwin on default RPI laptop w/ Windows Vista

From a helpful student in a prior term...
  • Before starting close any running cygwin based programs.
  • Get the cygwin setup program from http://www.cygwin.com/setup.exe. I saved it in 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. I have unix text file format selected but that setting shouldn't be critical. 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 to use (I'm assuming I didn't create that directory the last time I added cygwin packages). 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. I find it easiest to use "Full" mode instead of "Category" mode which can be chosen by clicking the "View" button. You need to install "freeglut", "opengl", "make", and "gcc" ("gcc-g++" and "gcc-core"). 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 the assignment source code.
  • Type "make cygwin_a" and press enter. With any luck you should now have a working executable.