Papyrus-RT/User Guide/Cygwin Setup
Papyrus-RT consists of two major components: a modelling environment, and a runtime environment. The modelling environment provides a GUI where you can create and edit models, as well as generate code from them. This is an Eclipse-based application. The runtime environment is a runtime system (RTS) together with a runtime services library that are used to run generated code.
Because the Papyrus-RT modelling environment is based on Eclipse, it runs on all major platforms. This means that you can use it in your preferred operating system to do modelling.
However, in the current version of Papyrus-RT (0.8), the runtime system runs on Linux. This means that if you do modelling on Windows or macOS, you will need to do some additional setup to be able to execute code generated in the modelling environment.
These instructions describe how to setup the runtime environment on Windows using Cygwin. macOS users should follow these instructions. Linux users can skip these and go directly to Compiling and running Papyrus for Real Time applications.
Prerequisites
- Install Cygwin
- Go to Installing and Updating Cygwin Packages
- Download the appropriate installer:
- If you are on a 32-bit machine, download and run setup-x86.exe.
- If you are on a 64-bit machine, doanload and run setup-x86_64.exe.
- When running the installer, select the following packages for installation:
-
gcc
-
make
-
cmake
-
Setting up the runtime environment
Follow the instructions at Compiling and running Papyrus for Real Time applications, paying attention to the ones that are specific to Cygwin.