TouchGFX is installed by simply running the TouchGFX MSI Installer.
This will give you:
- The TouchGFX Designer application
- The TouchGFX Environment shell
- The TouchGFX Framework + example applications
We recommend using the TouchGFX Designer to create applications. A Designer-based getting started guide is here. The rest of this guide will be for those of you not wanting to use the Designer.
In order to compile the distributed examples (and your own applications), start by opening the TouchGFX Environment shell (link on your Desktop). It will give you a welcome message illustrating how to compile and run one of the examples.
TouchGFX environment installation on Linux
Installation on Linux is a bit more involved. Basic requirements are
- GCC/G++ (4.9.1+)
- Make (3.8.1+)
- Ruby (1.9.x)
- Roo (Ruby gem)
It is not a completely general description, but for Ubuntu 14.04 you can install prerequisites for building TouchGFX applications
sudo apt-get update sudo apt-get install -y ruby-dev zlib1g-dev g++ sudo apt-get install -y libasound-dev libpulse-dev libjpeg-dev libtiff-dev sudo gem install nokogiri -v "1.6.1" sudo gem install roo
This should give you the same setup as being provided by the environment shell on Windows. Now download TouchGFX (the framework zip file, not the MSI), and unpack it wherever you wish.
You will need to change the permissions for the following two files
chmod a+x <touchgfx_folder>/touchgfx/framework/tools/imageconvert/build/linux/imageconvert.out chmod a+x <touchgfx_folder>/touchgfx/framework/tools/fontconvert/build/linux/fontconvert.out
This section will be updated and detailed as soon as possible.
Move on to the next step when ready.