Skip to content

TDM GCC Mingw64 Installation

Sebastian Schalow edited this page Aug 7, 2017 · 12 revisions

Windows 8 Image

Content Overview:
#Basics
#SDL
#SDL Mixer
#GLEW
#ZLIB x64
#Env. Variables
#Git Config
#win-askpass

Basics

  1. download and install TDM GCC Mingw64
    1. add \TDM\bin to PATH
  2. download and install QtCreator (Qt Creator 3.* for Windows)
  3. download and install CMake
  4. download and install Git
  5. download GLEW(tarball)
  6. download and unzip SDL2
  7. download and unzip SDL2_Mixer
  8. download and install MSYS
  9. download and unzip ZLIBx64

SDL

  1. copy \SDL*\x86_64-w64-mingw32\include to \TDM\include
  2. copy \SDL^\x86_64-w64-mingw32\bin\SDL*.dll to \TDM\bin
  3. copy \SDL2*\x86_64-w64-mingw32\lib to \TDM\lib

SDL Mixer

  1. copy _\SDL_Mixer*\x86_64-w64-mingw32\bin to \TDM\bin
  2. copy _\SDL_Mixer*\x86_64-w64-mingw32\include\SDL2 to \TDM\include\SDL2
  3. copy _\SDL_Mixer*\x86_64-w64-mingw32\lib to _\TDM\lib_

GLEW

  1. run MSYS Tool which has been previously downloaded

  2. change directory where you downloaded glew*.tar.gz to

  3. run the following commands:

    1. tar -xf glew*.tgz
    2. cd glew*
    3. export SYSTEM=mingw
    4. export GLEW_DEST=/<target directory>
    5. make all
    6. make install
  4. copy <target directory>subfolders content into corresponding TDM subfolders

ZLIB x64

  1. copy _\zlib\bin to \TDM\bin
  2. copy _\zlib\bin to \Git\bin
  3. copy \zlib\include to \TDM\include
  4. copy \zlib\lib to \TDM\lib

Environment variables

  1. add <directory>\TDM\include to PATH
  2. add <directory>\Git\bin to PATH
  3. add CMAKE with value <directory>\TDM\bin
  4. add SDL2 with value <directory>\TDM\bin
  5. add GLEW_INCLUDE_DIR with value <directory>\TDM\include\GL

Git config

  1. git config --global push.default simple

## Using win-askpass

If you want to use QtCreators integrated git-module you have to download a graphical interface to communicate with to transfer Username and password. Best choice at this time is win-askpass.

Install it anywhere you want to. A copy of VCL50.BPL is needed in the same folder.

To use this tool with QtCreator follow these menu instructions:

  1. extras
  2. settings
  3. version control
  4. common
  5. set path to the tool at the bottom of the screen
Clone this wiki locally