1 # Tscope5 installation manual
5 # Windows {#wininstall}
7 We bundled all the tools (compiler, libraries, fonts, custom scripts) that Tscope5 relies on into a single installer
package called Mingw4Tscope5.
9 Tscope5 itself is not part of MinGW4Tscope5, as it is updated more frequently.
11 After the installation of MinGW4Tscope5, you will still need to install Tscope5 as described in the next section.
15 Download the installer <a href="http:
17 - Execute the installer. You will need administrative rights to run the installer. A power user account is not enough. If you don't have administrative rights,
18 the installer will tell you and abort.
19 - There are not many installation options. Mingw4Tscope5 will not install in the standard Program Files directory because of the space in that directory's name. It will be installed in C:\\Mingw4Tscope5 instead. (Actually, Mingw4Tscope5 will be installed on the same drive as your Windows system - so if Windows is installed on the D: drive, Mingw4Tscope5 will be installed in D:\\Mingw4Tscope5, etc. All further information on this site assumes Mingw4Tscope5 is installed in C:\\Mingw4Tscope5, but please note that on your system this also might be D:\\Mingw4Tscope5 or any other drive).
20 - If everything is ok, the installer will extract all the necessary files. This can take a while - the fully extracted system takes about 500 megabytes of disk space.
22 After installation an icon called 'MinGW4Tscope5 will be added to your desktop. Double clicking this icon will open a bash shell where you can enter your compilation commands.
26 - For Windows we provide an automatic installer that can be downloaded <a href="http:
27 - Execute the installer in the same way as the MinGW4Tscope5 installer. Again there are no installation options. After installation you are ready to start developing Tscope5 programs.
29 The distribution currently contains a version of <a href="http:
31 You can also compile and run Tscope5 programs using the shell commands described in <a href="md_tscope5-0_84_00compilation.html"> the compilation manual </a>.
34 # Mac OS X {#macinstall}
38 First you will need to install Xcode, Apple's development environment. It can be downloaded for free from the App Store. The download can take a while, it is about 3.5 Gigabytes.
40 Once it is installed open it (you can find it in the Applications folder). At first launch, some components will be installed or upgraded. That may also take a while.
42 Then open Preferences in the Xcode menu and choose the Downloads tab. Click on the Install button next to Command Line Tools. When finished, you can close Xcode.
46 The next step is to install MacPorts. MacPorts provides an infrastructure for building, installing and packaging open source software. It can be downloaded <a href="http:
48 Make sure you download a version that is compatible with your version of OS X (versions for Mavericks, Mountain Lion and Lion are available).
50 Once you have installed MacPorts open a Terminal `(Applications/Utilities/Terminal)` and copy-paste the commands described below.
52 First you will need to update your package repository list:
56 Then you can install the libraries that are needed by Allegro5:
58 sudo port install cmake wget gsl zlib freetype jpeg libogg physfs libpng flac libtheora +universal
60 That process will also take a while.
64 Then you can install Allegro5
72 sudo tar -xjf allegro-5.1.9.tar.bz2
84 Install the fonts needed by Tscope5
89 sudo tar -xjf tscope5_data.tar.bz2
94 And finally install Tscope5
99 sudo tar -xjf tscope5-0.5.tar.bz2
102 sudo make install-macosx
104 If you want to update Tscope5 you will only need to run this last block of commands.
106 A good text editor for Mac OS X is textmate. It can be downloaded <a href="http:
109 # Linux (Ubuntu) {#lininstall}
111 To get Tscope5 running on Linux, open a terminal window and copy-paste the commands described below.
116 First you will need to update your package repository list:
120 Then you can install the development tools
122 sudo apt-get install build-essential git cmake cmake-curses-gui xorg-dev libgl1-mesa-dev libglu-dev
124 And install the Allegro5 addons
126 sudo apt-get install libpng-dev libcurl4-openssl-dev libfreetype6-dev libjpeg-dev libvorbis-dev \
127 libopenal-dev libphysfs-dev libgtk2.0-dev \
128 libasound-dev libpulse-dev libflac-dev libdumb1-dev \
129 libtheora-dev libgsl0-dev
134 Then you can install Allegro5
141 sudo tar -xjf allegro-5.1.9.tar.bz2
156 Install the fonts needed by Tscope5
161 sudo tar -xjf tscope5_data.tar.bz2
165 And finally install Tscope5
170 sudo tar -xjf tscope5-0.5.tar.bz2
173 sudo make install-linux
177 If you want to update Tscope5 you will only need to run this last block of commands.
180 # Raspberry Pi (Raspbian) {#raspinstall}
182 To get Tscope5 running on the Raspberry Pi, open a terminal window and copy-paste the commands described below.
187 First you will need to update your package repository list:
191 Then you can install the development tools
193 sudo apt-get install build-essential git cmake cmake-curses-gui xorg-dev libgl1-mesa-dev libglu-dev
198 Then you can install Wiring Pi, an interface to the GPIO
201 sudo apt-get install git-core
210 First install the Allegro5 addons
212 sudo apt-get install libpng-dev libcurl4-openssl-dev libfreetype6-dev libjpeg-dev libvorbis-dev \
213 libopenal-dev libphysfs-dev libgtk2.0-dev \
214 libasound-dev libpulse-dev libflac-dev libdumb1-dev \
215 libtheora-dev libgsl0-dev
217 Then you can install Allegro5
225 sudo tar -xjf allegro-5.1.9.tar.bz2
228 On Raspbian the next step is:
233 sudo cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-raspberrypi.cmake
237 sudo cp -r ../include/allegro5