Update README.md

parent befe4d9f
Pipeline #79822 passed with stage
in 3 minutes and 31 seconds
......@@ -5,12 +5,33 @@
see [TUTORIAL_ADD_MIDDLEWARE.md](https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/blob/master/TUTORIAL_ADD_MIDDLEWARE.md)
## Dependencies needed to compile the generated projects
### CMake
CMake and Make are required to compile the generated projects.
### All generated projects
CMake, Make, and a C++ compiler are required to compile the generated projects.
#### Linux
Gcc is recommended as the C++ compiler.
Example install of all needed packages for ubuntu:
```bash
sudo apt install gcc cmake make
```
#### Windows
Mingw gcc is recommended as the C++ compiler. See http://www.mingw.org/wiki/howto_install_the_mingw_gcc_compiler_suite for installation details.
CMake for Windows: https://cmake.org/download/
Make for Windows: http://gnuwin32.sourceforge.net/packages/make.htm
Usage: Navigate to your build directory and run `cmake $srcPath`, where `$srcPath` is the path to the generated project to be compiled. Next run `make`
#### Linux
Navigate to your build directory and run
```bash
cmake /path/to/generated/project/source
make
```
#### Windows
Navigate to your build directory and run
```batch
cmake C:\path\to\generated\project\source
make
```
### Cpp
### Projects with cpp generator
Armadillo version 8 or higher.
The version used in EMAStudio can be downloaded from:
* [Windows](https://rwth-aachen.sciebo.de/s/igDWzLpdO5zYHBj/download?path=%2Fwin64&files=armadillo-8.200.2.zip)
......@@ -21,7 +42,7 @@ It is required by the code generated by EMAM2Cpp.
The environment variable `Armadillo_HOME` needs to be set to the base directory of your armadillo installation.
### Roscpp
### Projects with roscpp generator
Only for generated projects that contain a ROS adapter(e.g. -g=cpp,roscpp).
ROS Kinetic currently only supports Linux and the installation is described [here](http://wiki.ros.org/kinetic/Installation/Ubuntu).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment