Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Papyrus-RT/User Guide/Cygwin Setup"
(Initial contrib) |
m (Added CMake warning.) |
||
Line 29: | Line 29: | ||
::* <code>cmake</code> | ::* <code>cmake</code> | ||
+ | {{ Note | CMake | We strongly recommend to install cmake from Cygwin and '''not''' from [http://cmake.org http://cmake.org]. The latter will likely fail to build correctly. }} | ||
== Setting up the runtime environment == | == Setting up the runtime environment == | ||
Follow the instructions at [[Papyrus-RT/User Guide/Compiling and running Papyrus for Real Time applications | Compiling and running Papyrus for Real Time applications]], paying attention to the ones that are specific to Cygwin. | Follow the instructions at [[Papyrus-RT/User Guide/Compiling and running Papyrus for Real Time applications | Compiling and running Papyrus for Real Time applications]], paying attention to the ones that are specific to Cygwin. |
Latest revision as of 15:14, 30 June 2017
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.