- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Installing OMSimulator Stand Alone
Installing OMSimulator Stand Alone
Installing OMSimulator Stand Alone
Hi,
I recently installed OM 1.18 stable version on my Linux (Ubuntu 16.04) machine. For some unknown reasons, OMSimulator was not installed while it's supposed to be, based on OM GitHub. When I run OMSimulator command on my terminal it showed:
Code:
OMSimulator: command not found
With that being said, I tried to install OMSimulator following the guidelines on https://github.com/OpenModelica/OMSimulator
I clone the repo and fetch the sub-modules:
Code:
git submodule update --init
then I proceeded by installing libxml2-dev and configuring the 3rd-party dependencies:
Code:
make config-3rdParty
When configuring the 3rd party, I got an error:
Code:
lua.c:82:31: fatal error: readline/readline.h: No such file or directory
compilation terminated.
<builtin>: recipe for target 'lua.o' failed
make[4]: *** [lua.o] Error 1
I have two big questions:
1. Why OMSimulator was not installed in the first place when I finished installing OpenModelica?
2. How to deal with the fatal error when configuring the 3rd party?
Thanks a lot and any help will be very much appreciated.
Cheers,
Phil
Re: Installing OMSimulator Stand Alone
Did you sudo apt install omsimulator?
(I will add it to the openmodelica meta-package for 1.19.0, but for 1.18.0 it's not included)
- sjoelund.se
- 1700 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Installing OMSimulator Stand Alone