Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register
  • Index
  • » Users
  • » bengt.jacobson@chalmers.se
  • » Profile

Posts

Posts

Jan-14-18 10:23:46
Probably OpenModelica does not find my c-compiler

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.

  • Index
  • » Users
  • » bengt.jacobson@chalmers.se
  • » Profile
You are here: