Hopsan
|
To create your own Hopsan components (writing them as C++ code) you need to install the necessary compiler but you can use whatever code (text) editor that you want. You can choose to use the built in code editor inside HopsanGUI, it offers basic code editing functionality. An alternative is to use a full-fledged external C++ IDE. This guide describes the first simpler option.
You only need to install the compiler if:
If you want to write a lot of new/advanced code yourself and use the debugger, then it is recommended that you install a full development environment.
Download the version of Hopsan that comes with the compiler included to ensure that you get the correct version. The compiler will be located in the mingw or mingw64 sub directories of the Hopsan installation.
Install the compiler (GCC) and other tools from you package repository using: sudo apt-get install build-essential