CS 5620: Computer Graphics

Setting up MSYS/MinGW

  1. Download and run mingw-get-setup from sourceforge.net/projects/mingw. Use the default settings.
  2. Once mingw-get is installed and open, in the "Basic Setup" section select all 7 packages.
    • mingw-developer-toolkit
    • mingw32-base
    • mingw32-gcc-ada
    • mingw32-gcc-fortran
    • mingw32-gcc-g++
    • mingw32-gcc-objc
    • msys-base
  3. From the "Installation" menu, select "Mark all Upgrades".
  4. From the "Installation" menu, select "Apply Changes".
  5. Close mingw-get.
  6. Open the "Control Panel", navigate to "System and Security", then "System", then click on "Change settings".
  7. Click on the "Advanced" tab, and then click on "Environment Variables...".
  8. In "User variables for <username>", select "New...".
  9. Create the "HOME" variable with string "C:\Users\<username>" where username is your username.
  10. In "System variables", find and select the "Path" variable and click "Edit...".
  11. Copy "C:\MinGW\msys\1.0\bin;C:\MinGW\bin;" (or whatever you made your mingw and msys paths) and paste it in front of the current path string, do not delete any of the existing path string.
  12. Close out all of the preferences.
  13. download the following and place them in your home directory "C:/Users/<username>".

Setting up GIT

  1. Download PortableGit, not the installer from github.com/msysgit/msysgit/releases.
  2. You might need 7zip to open the archive. www.7-zip.org/download.html.
  3. Navigate to the MSYS installation directory. The default path is "C:\Mingw\msys\1.0".
  4. Copy everything from the PortableGit archive into the MSYS installation directory, replacing everything.
  5. Close the archive.

Setting up a bash terminal

  1. Download and install ConEmu from github.com/Maximus5/ConEmu/releases.
  2. Download this ConEmu configuration file.
  3. Open ConEmu, click on the icon in the top left of the window to get the menu, open "Settings...".
  4. From the "Main" section click "Import..." near the bottom of the settings window.
  5. Import the ConEmu.xml you just downloaded.

Setting up the OpenGL libraries

  1. Download FreeGLUT from freeglut.sourceforge.net.
  2. Copy bin, lib and include into "C:\MinGW", merging folders as necessary.
  3. Download GLEW from sourceforge.net/projects/glew.
  4. From the GLEW archive:
    • copy everything in "bin\Release\Win32" to "C:\MinGW\bin".
    • copy everything in "lib\Release\Win32" to "C:\MinGW\lib".
    • copy "include" to "C:\MinGW", merging folders as necessary.