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
  • » Jadon
  • » Profile

Posts

Posts

In OMEdit
I get the error:

C:/OpenModelica1.9.6//share/omc/scripts/Compile.bat Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody gcc parallel 32 0
PATH = "C:\OpenModelica1.9.6\MinGW\bin;C:\OpenModelica1.9.6\MinGW\bin\..\libexec\gcc\mingw32\4.4.0\;"
\MinGW\bin\mingw32-make: Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile: No such file or directory
\MinGW\bin\mingw32-make: *** No rule to make target `Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile'.  Stop.
Compilation process failed. Exited with code 2.

I also get the errors

[1] 15:37:01 Translation Error
[Modelica.Mechanics.MultiBody.Visualizers: 1986:8-1987:83]: PartialModelicaServices is partial, name lookup is not allowed in partial classes.

[2] 15:37:01 Translation Error
[ModelicaServices: 653:5-654:81]: PartialModelicaServices is partial, name lookup is not allowed in partial classes.

[3] 15:37:37 Translation Error
[ModelicaServices: 674:5-674:89]: PartialModelicaServices is partial, name lookup is not allowed in partial classes.


I have tried several examples - I've read that not all of them work.

If someone could direct me to one that definitiely does work that would be great.

In installed a nightly build last week and replaced it with the last stable build this week.
Results are the same with both.

I did use OM succesfully a couple of years ago so I'm sure there is something simple I've forgotten to do.

Windows 8, 64bit system.

  • Index
  • » Users
  • » Jadon
  • » Profile
You are here: