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="download/MinGW4Tscope5-0.6.exe"> here</a>. It is about 450 megabytes.
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="download/tscope5-0.6.exe"> here</a>.
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://notepad-plus-plus.org" target="_blank"> notepad++</a> that has some predefined <a href="md_tscope5-0_86_00compilation.html"> shortcuts </a> to compile and run Tscope5 programs.
31 You can also compile and run Tscope5 programs using the shell commands described in <a href="md_tscope5-0_86_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 a Terminal `(Applications/Utilities/Terminal)` and install the command line tools by typing
44 sudo xcode-select --install
48 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://www.macports.org/install.php" target="_blank"> here</a>.
50 Make sure you download a version that is compatible with your version of OS X (versions for Mavericks, Mountain Lion and Lion are available).
52 Once you have installed MacPorts open a Terminal `(Applications/Utilities/Terminal)` and copy-paste the commands described below.
54 First you will need to update your package repository list:
58 Then you can install the libraries that are needed by Allegro5:
60 sudo port install cmake wget gsl zlib freetype jpeg libogg physfs libpng flac libtheora +universal
62 That process will also take a while.
66 Then you can install Allegro5
72 sudo wget http://expsy.ugent.be/tscope5/download/allegro-5.1.13.tar.bz2
74 sudo tar -xjf allegro-5.1.13.tar.bz2
86 Install the fonts needed by Tscope5
89 sudo wget http://expsy.ugent.be/tscope5/download/tscope5_data.tar.bz2
91 sudo tar -xjf tscope5_data.tar.bz2
96 And finally install Tscope5
99 sudo wget http://expsy.ugent.be/tscope5/download/tscope5-0.6.tar.bz2
101 sudo tar -xjf tscope5-0.6.tar.bz2
104 sudo make install-macosx
106 If you want to update Tscope5 you will only need to run this last block of commands.
108 A good text editor for Mac OS X is textmate. It can be downloaded <a href="http://macromates.com/" target="_blank"> here</a>.
111 # Linux (Ubuntu) {#lininstall}
113 To get Tscope5 running on Linux, open a terminal window and copy-paste the commands described below.
118 First you will need to update your package repository list:
122 Then you can install the development tools
124 sudo apt-get install build-essential git cmake cmake-curses-gui xorg-dev libgl1-mesa-dev libglu-dev
126 And install the Allegro5 addons
128 sudo apt-get install libpng-dev libcurl4-openssl-dev libfreetype6-dev libjpeg-dev libvorbis-dev \
129 libopenal-dev libphysfs-dev libgtk2.0-dev \
130 libasound-dev libpulse-dev libflac-dev libdumb1-dev \
131 libtheora-dev libgsl0-dev
136 Then you can install Allegro5
141 sudo wget http://expsy.ugent.be/tscope5/download/allegro-5.1.13.tar.bz2
143 sudo tar -xjf allegro-5.1.13.tar.bz2
158 Install the fonts needed by Tscope5
161 sudo wget http://expsy.ugent.be/tscope5/download/tscope5_data.tar.bz2
163 sudo tar -xjf tscope5_data.tar.bz2
167 And finally install Tscope5
170 sudo wget http://expsy.ugent.be/tscope5/download/tscope5-0.6.tar.bz2
172 sudo tar -xjf tscope5-0.6.tar.bz2
175 sudo make install-linux
179 If you want to update Tscope5 you will only need to run this last block of commands.
182 # Raspberry Pi (Raspbian) {#raspinstall}
184 To get Tscope5 running on the Raspberry Pi, open a terminal window and copy-paste the commands described below.
189 First you will need to update your package repository list:
193 Then you can install the development tools
195 sudo apt-get install build-essential git cmake cmake-curses-gui xorg-dev libgl1-mesa-dev libglu-dev
200 Then you can install Wiring Pi, an interface to the GPIO
203 sudo apt-get install git-core
204 sudo git clone git://git.drogon.net/wiringPi
212 First install the Allegro5 addons
214 sudo apt-get install libpng-dev libcurl4-openssl-dev libfreetype6-dev libjpeg-dev libvorbis-dev \
215 libopenal-dev libphysfs-dev libgtk2.0-dev \
216 libasound-dev libpulse-dev libflac-dev libdumb1-dev \
217 libtheora-dev libgsl0-dev
220 Then you can install Allegro5
226 sudo wget http://expsy.ugent.be/tscope5/download/allegro-5.1.13.tar.bz2
228 sudo tar -xjf allegro-5.1.13.tar.bz2
231 On Raspbian the next step is:
236 sudo cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-raspberrypi.cmake -DFREETYPE_INCLUDE_DIRS=/usr/include/freetype2
240 sudo cp -r ../include/allegro5/* /usr/local/include/allegro5
247 Install the fonts needed by Tscope5
250 sudo wget http://expsy.ugent.be/tscope5/download/tscope5_data.tar.bz2
252 sudo tar -xjf tscope5_data.tar.bz2
257 And finally install Tscope5
260 sudo wget http://expsy.ugent.be/tscope5/download/tscope5-0.6.tar.bz2
262 sudo tar -xjf tscope5-0.6.tar.bz2
265 sudo make install-raspberrypi
269 If you want to update Tscope5 you will only need to run this last block of commands.