Search code examples
simulationomnet++

Omnet++ simulation stopped at setting up qtenv and loading images


I am using Omnet++ since a while, but this time I face a strange error. My simulation works properly until suddenly without I make any changes in the code the simulation starts hanging at "Setting up Qtenv" when loading images from the images path. I tried everything even uninstalling Avira antivirus but still the problem not solved.

The following images are related to the issue: 1- this image is when the simulation starts: enter image description here

2- this image remains like this forever until I kill the process: enter image description here

3- and this image I found in the progress tab enter image description here

I thought that the problem is in the java runtime error but I am not sure. So, I made a small change in the environment variables. I just changed the forward slash to the backward slash as shown in the image bellow. enter image description here

still not working.


Solution

  • Delete .qtenvrc from the main directory of your project.