Installation Guide
The use of FLAME requires a C compiler (GCC)
This can be easily installed under the following operations systems:
Windows
- Install MinGW following the Getting Started guide at Getting Started
- Remember to change the Environment Settings to add MinGW to the path
- Change the name of C:\MinGW\bin\mingw32-make.exe to just make.exe
Mac OSX
- Install Xcode
- From the Mac App Store
- Newer versions might require you to download the Command Line Tools from the preferences panel.
Linux
- Should already be installed or use your distributions Package Manager to install GCC
Obtain Xparser
Xparser is the program that parses a model file and produces source code for a simulation program.
- Download Xparser
- Unzip the package
- On the command line change to the xparser directory and run make
- This creates the xparser executable
Obtain libmboard
Libmboard is the communication library used by simulation programs. It can be compiled or a compiled (binary) version is available for Windows:
- Download libmboard
- Untar the package
- Follow the instructions within README to compile and install
If you have installed to your own location then when compiling models using make on the command line append the location as a parameter by using LIBMBOARD_DIR=
or
- Download the Windows binary version here
- Unzip the package
- Rename the folder from libmboard-0.2.1 to just libmboard and copy the folder to folders that contain models
Viewing model state graphs requires:
- Dotty
- Install Graphviz