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

external library

external library

Hi!
I want to use an external library with OpenModelica. The new library is called "newlib" and
is located in /home/openmodelica, so I changed the OPENMODELICALIBRARY entry in
/etc/environment from
OPENMODELICALIBRARY=/home/share/OpenModelica/Source/trunk/libraries
to
OPENMODELICALIBRARY="/home/share/OpenModelica/Source/trunk/libraries:/home/openmodelica"
But in the OMShell the command "loadModel(newlib)" doesn't work, I get a "false".
"loadModel(Modelica)" is working fine, of course.
There is Kubuntu and the latest nightly build on the PC.
Thanks for any advice!

Re: external library

To debug this I would need the output of checkSettings() in OMShell. As well as the output of "find /home/openmodelica" run from a terminal.

There are 0 guests and 0 other users also viewing this topic