Homework Late Policy
Spring '11 Projects
Spring '10 Projects
Spring '09 Projects
Spring '08 Projects
Spring '07 Projects
OpenGL/glut Installation Tips
Using Dev C++
- 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
- 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:
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:
yum install freeglut freeglut-devel
rpm -ivh freeglut-*
or download the rpm files and use:
rpm -i freeglut-*
Using Cygwin on default RPI laptop w/ XP, Vista or Windows 7
From a helpful student in a prior term...
Before starting close any running cygwin based programs.
Get the cygwin setup program from
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 Windows security prompts).
Choose "Install from Internet".
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
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
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 Windows' 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" and press enter.
With any luck you should now have a working executable.
Using Visual Studio
Please see these detailed instructions by Chris
Wyman at University of Iowa.