#3364 closed defect (fixed)
OMEdit crashes at once
Reported by: | Owned by: | somebody | |
---|---|---|---|
Priority: | high | Milestone: | 1.9.4 |
Component: | *unknown* | Version: | trunk |
Keywords: | Cc: |
Description
I installed OpenModelica 1.9.2 newly on my Windows 7 machine. When clicking on "C:\OpenModelica1.9.2\bin\OMEdit.exe" the following message appears:
Microsoft Visual C++ Runtime library:
This application has requested the Runtime to terminate it in an unusual way.
In fact, none of the executables can be started. E.g. clicking on OMShell.exe gives the error message: "Was unable to start OMC, therefore OMShell will not work correctly"
Maybe the Visual C++ runtime library that is installed on my computer is not compatible with the one used by OpenModelica. Any suggestions what to do?
Change History (6)
follow-up: 2 comment:1 by , 10 years ago
comment:2 by , 10 years ago
Replying to adrpo:
How did you installed it? For local user or all users?
For local user.
Have you logout/login after installation?
After installation, I logged out, and then logged in again.
comment:3 by , 10 years ago
Thanks for the info and sorry for these issues. It seems you always run into problems we never had before. Unfortunately is rather hard to understand what the problem is without more information or access to the computer.
It could be one of these issues:
- you had an old OpenModelica and it wasn't uninstalled properly
- the environment variables pointing to OPENMODELICAHOME and OPENMODELICALIBRARY point to the wrong directory
- omc.exe from previous installation was present in the task manager and the new installation did not update it
- visual studio runtime library incompatibility as you say
- some antivirus is preventing omc.exe from starting
- the firewall is not letting omc.exe communicate with OMEdit via CORBA
My suggestion is to do this:
- see if any omc.exe is in task manager and kill it (alternatively, restart the computer)
- uninstall OpenModelica
- install the nightly build (which does not have CORBA communication anymore)
The nightly build for windows is here:
https://build.openmodelica.org/omc/builds/windows/nightly-builds/
comment:4 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thanks for your advice. I uninstalled OpenModelica 1.9.2, removed the OPENMODELICAHOME environment variable, and removed all references to OpenModelica in the registry. Afterwards, I installed OpenModelica 1.9.3NightlyBuild.
When starting OMEdit, an error message appeared that the environment variable OPENMODELICAHOME is not defined. O.k. defined this environment variable, logged out, and logged in again. Now, OMEdit works and I am able to simulate models of the Modelica Standard Library.
As a minor issue: I expected that OpenModelica is then accessible in the "Start" menu under Windows 7, but it is not (I logged out and then logged in again).
comment:5 by , 9 years ago
Milestone: | Future → pre1.9.4 |
---|
It doesn't make sense to keep closed ticket in the "Future" milestone that were simply forgotten to assign to the correct milestone in the past.
comment:6 by , 7 years ago
Milestone: | pre1.9.4 → 1.9.4 |
---|
Removing the pre1.9.4 milestone in favor of 1.9.4.
How did you installed it? For local user or all users?
Have you logout/login after installation?