- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Compilation problem
Compilation problem
Compilation problem
Hi
I am beginner in OpenModelica.
I would like to install OpenModelica and simulate a sample model.
The same model simulates well in Dymola, but not in OpenModelica.
Error dialogue from OpenModelica is:
C:/Program Files//share/omc/scripts/Compile.bat Modelica.Blocks.Examples.PID_Controller gcc mingw64 parallel 4 0
PATH = "C:\Program Files\tools\msys\mingw64\bin;C:\Program Files\tools\msys\mingw64\bin\..\..\usr\bin;"
'C:/Program' is not recognized as an internal or external command,
operable program or batch file.
Compilation process failed. Exited with code 9009.
In Dymola, I have given this path to c-compiler:
C:/ProgramData/MATLAB/SupportPackages/R2016b/3P.instrset/mingw_492.instrset/bin/gcc.exe
In OpenModelica I don't find where to give any path to c-compiler. But I think the error message indicates that OpenModelica does not find any c-compiler.
Re: Compilation problem
The OpenModelica installer tells you to not install into a path containing a space for good reason; it doesn't work if you do that.
- sjoelund.se
- 1700 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Compilation problem