JuPedSim / jpseditor

Editor for the goemetry
Other
4 stars 6 forks source link

path to jpsvis; hardcode "src/widgets/runningwidget.cpp" #222

Open Tito-Li opened 3 years ago

Tito-Li commented 3 years ago

I tried to run jpsvis from JPSeditor.

The system is ARCH Linux x86_64, i can start the program and can change the path to jpsvis. I can change the path out of the editor an also in ~/.config/FZJ/JPSeditor.conf.

The app search for "/Contents/MacOS/jpsvis" and i have to modify "src/widgets/runningwidget.cpp".

After that it works.

sainho93 commented 3 years ago

The hardcode "/Contents/MacOS/jpsvis" in "src/widgets/runningwidget.cpp" is to walk around the permission issue in zsh, it's designed for the jpsvis as a complete application.

If you use the compiled version of jpsvis, this hardcode will be a problem. But because the jpsvis isn't in development any more, so here I'd like to recommand the complete application of jpsvis. So you can modify source code to match up the compiled version.