Skip to content

Latest commit

 

History

History
71 lines (47 loc) · 2.76 KB

doc_compilation_windows.md

File metadata and controls

71 lines (47 loc) · 2.76 KB
layout title permalink creator contentdescription subject
default
Compilation instruction for Windows
/doc/compilation/windows/
necropotame
Help page instructing to compile TeeUniverse on a Windows operating system
compilation of TeeUniverse; compilation on Windows; compilation; compilation with MinGW; compilation with CMake

This page describes how to compile TeeUniverse on Windows

Installation of MinGW

Installation of CMake

Download CMake from its official webpage. If you are using Windows 32-bit, download this installer (official download page). If you are using Windows 64-bit, download this installer (official download page)

Execute the downloaded MSI file and install CMake. Default options are fine.

Sources and needed libraries

Download the sources from GitHub (ZIP file) and extract the content of this archive in your computer. We will refer to this extracted directory as “TeeUniverse directory”.

Download all needed libraries and sources from the official website of TeeUniverse (ZIP file), and extract the content of this archive in the TeeUniverse directory.

Your TeeUniverse directory should look like this:

Screenshot of the TeeUniverse directory{:class="screenshot"}

Generate the Makefile

Execute CMake (cmake-gui).

Click on “Browse Source...” and select the TeeUniverse directory.

Click on “Browse Build...” and select the TeeUniverse directory.

Click on “Add Entry”, fill the “Name” field with “WITHOUT_HARFBUZZ”, the “Type” field with “BOOL”, keep the “Value” field empty. Click on “OK”

Click on “Configure”. check that “MinGW Makefiles” is selected and click on “Finish”. Other generators maybe be possible to use, but has not been tested yet.

Click on “Generate”.

Your CMake Window should look like this:

Screenshot of CMake{:class="screenshot"}

You can now close CMake.

Compilation

Execute MinGW Command Prompt and type the following command to go in the TeeUniverse directory (please replace “C:\path\to\teeuniverse\directory” by your actual path to the TeeUniverse directory):

cd C:\path\to\teeuniverse\directory

Type the following command to compile TeeUniverse in 32-bit (TeeUniverse may be compatible with 64-bit compilation but was never tested. Please use this command even if you are using Windows 64-bit):

mingw32-make

Type the following command to execute TeeUniverse editor:

cd build\release\win
teeuniverse_editor.exe