File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -66,14 +66,14 @@ On macOS you need to install:
6666- macports: https://guide.macports.org/#installing.macports
6767 ``` sudo port install cmake ccache qt5 qt5-qtwebkit autoconf boost OpenSceneGraph gfortran ```
6868- Compile OpenModelica via:
69- ```
70- git clone https://github.com/OpenModelica/OpenModelica.git --recursive
71- cd OpenModelica
72- cmake -S . -B build_cmake -DCMAKE_PREFIX_PATH=/opt/local -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DOM_OMC_ENABLE_FORTRAN=OFF -DOM_OMC_ENABLE_IPOPT=OFF
73- cmake --build build_cmake --parallel 10 --target install
74- ```
69+ ```
70+ git clone https://github.com/OpenModelica/OpenModelica.git --recursive
71+ cd OpenModelica
72+ cmake -S . -B build_cmake -DCMAKE_PREFIX_PATH=/opt/local -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DOM_OMC_ENABLE_FORTRAN=OFF -DOM_OMC_ENABLE_IPOPT=OFF
73+ cmake --build build_cmake --parallel 10 --target install
74+ ```
7575
76- It some of the above instructions fail, read on below.
76+ If some of the above instructions fail, read on below.
7777On macOS there are a few pitfalls/issues which need attention.
7878
7979- if building simulation code fails go OMEdit -> Preferences -> Simulation and change the C / C++ compiler to gcc/g++.
You can’t perform that action at this time.
0 commit comments