Back to Mrs. King's AP Computer Science Page

CMU Graphics Package

CMU graphics package

The Carnegie Mellon University graphics package is available for several different compilers. It runs under MetroWerks CodeWarrior Windows version, MicroSoft Visual C++, and Borland C++. There is also Macintosh CodeWarrior version, but it is an older version than the most current version for the other compilers. You can ftp these packages from here:
http://www.cs.cmu.edu/afs/cs.cmu.edu/user/mjs/ftp/

Running CMU graphics under CodeWarrior5 Academic Install

Recently, I tried to install the CMU package on the computers in my school's computer lab. We are using somewhat older, slower machines with a small amount of available space remaining on the hard drives. Therefore, I only used the Academic Install of CodeWarrior 5 at school. On my home machine, however, I have a full install. I had no problem installing the CMU package and running it at home. However, at school it did not run. I eventually figured out, that the academic install does not include all the Windows support libraries needed in order to get CMU package to run.

I have since found all the necessary files and if you are in a similar situation, you can download them from this website.

Files needed to run CMU under Academic Install of CW5

I have made self-extracting zip file archives of the following two things:

1. The CMU graphics package.
2. The necessary header files missing in the academic install of CW5.

These are for the Windows 95/98/NT version of CW 5 ONLY!!!

I suggest that you right click on each of the links below and use the "save link as" command to save the files to your computer hard drive. Follow my suggestions/instructions for where to unzip them on your home computer.

CMUgraphics.exe
After saving this to your computer, when you double click on it, it will pop up a dialog box and allow you to choose a folder to save it to. You should use the "Browse" button to select C:/MetroWerks/CodeWarrior/Stationery/ or the corresponding folder, depending on how you have installed CodeWarrior on your home machine. Then click on the "Unzip" button.
Win32SDKfiles.exe
Similar to the above, double click after downloading this file, to launch dialog box. "Browse" to the directory C:/MetroWerks/CodeWarrior/Win32-x86 Support/Headers/Win32 SDK and after you have selected that directory (or corresponding one on your computer) click on the "Unzip" button to install all files in that directory.

After installing these files as described above, you should be able to boot up your copy of CodeWarrior, open the graphics-prj.mcp file under the Stationery/CMU graphics directory and run the demo.cpp program as we did in class today (Thurs. 5/11/00).

Let me know if you have any problems.

Other related graphics pages.

<Coming soon!>

Back to Mrs. King's AP Computer Science Page