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

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)

Edited by: sjoelund.se - Oct-13-21 09:17:40
There are 0 guests and 0 other users also viewing this topic
You are here: