Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

OpenModelica/OMEdit

Repository files navigation

OMEdit

A Modelica connection editor for OpenModelica.

Dependencies

Build instructions

Install the dependencies.

Unix

$ autoconf
# OPENMODELICAHOME is usually /usr, /opt, /opt/openmodelica, or /path/to/OpenModelica/build
$ ./configure --prefix=/path/to/OPENMODELICAHOME
$ make
$ make install

Windows MinGW

  • If you don't have OMDev then download it from the svn repository here.
  • Follow the instructions in INSTALL.txt.
  • Open msys terminal. Either $OMDEV/tools/msys/mingw32_shell.bat OR $OMDEV/tools/msys/mingw64_shell.bat.
$ cd /path/to/OpenModelica
$ make -f Makefile.omdev.mingw omedit
  • Start OMEdit from /path/to/OpenModelica/build/bin/OMEdit.exe

Coding Style

  • 2 spaces not tab
  • CamelCase except that first letter should be small.
  • Member variables should start with m and member pointers should start with mp.
  • Local pointers should start with p.
  • Use meaningful name for variables and functions.

Bug Reports