Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Papyrus-RT/User Guide/Cygwin Setup

< Papyrus-RT‎ | User Guide
Revision as of 15:14, 30 June 2017 by Eposse.gmail.com (Talk | contribs) (Added CMake warning.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

Note.png
Paths on Windows vs. paths on Linux and macOS
When writing paths, the standard convention used by Unix-like operating systems like Linux and macOS is to use the slash character / as separator for folders. For example
/Users/yourusername/somefolder/

If you are on Windows, you will need to use the corresponding convention, which starts paths with the drive letter and uses backslash \ as separator. The example above would be written as

C:\Users\yourusername\somefolder\


Prerequisites

  1. Install Cygwin
  1. Go to Installing and Updating Cygwin Packages
  2. Download the appropriate installer:
  1. When running the installer, select the following packages for installation:
  • gcc
  • make
  • cmake
Note.png
CMake
We strongly recommend to install cmake from Cygwin and not from http://cmake.org. The latter will likely fail to build correctly.


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.

Back to the top