On this page... (hide)
The installation instructions seem to change over time, so your best bet is to review the instructions at https://www.openmodelica.org/
Below are notes about issues when building for Mac OS X and Linux.
While running ./configure ...
:
Solution: Run ./configure
with --with-lapack="-llapack -lblas"
Solution:
export PATH=/opt/local/libexec/qt4/bin:${PATH}
Installing with Macports as per https://openmodelica.org/download/download-mac results in an installation that cannot build fmus:
The workaround was to install and build from Github.
Solution: In OpenModelica/OMOptim/ParadisEO-2.0.1/cmake/Config.cmake
, change:
string(REGEX REPLACE "10\\.([0-9]).*" "\\1" MACOSX_VERSION "${MACOSX_VERSION_RAW}")
to:
string(REGEX REPLACE "10\\.([0-9]*).*" "\\1" MACOSX_VERSION "${MACOSX_VERSION_RAW}")
See Under RHEL, make install
in OMCompiler
failed for how to install.
Below are the various error messages I ran in to when determining the above.
The message error setting certificate verify locations
is from curl
. My workaround was:
The OpenModelica/README.md
file says to run autoconf
:
This is because the OpenModelica repo is a superproject and requires further work.
The OpenModelica GitHub repo is a superproject, see https://github.com/OpenModelica/OpenModelica RHEL 6.7
The README.md
file says
Under RHEL 6.7, configure fails:
Solution: Install qt4-devel
then
While running make
:
Solution:
make
To replicate:
#2512 can't compile trunk because of template incompatibilities suggests removing rm build/bin/omc
and then rerunning make
, which seemed to work. #2512 suggests configuring with --without-omc
, which we are already doing.
make install
in OMCompiler
failed:
My workaround was to run make -n install
and then run the remaining commands by hand:
Log in to terra as the jenkins user
autoconf
because configure was failing with config.status: error: cannot find input file: PythonInterface/Makefile.in'
--without-rml
because configure said configure: WARNING: unrecognized options: --without-rml
My pr
osetc 2015-03-02
魔镜主人 2014-12-02
牵马的蜘蛛 2012-09-13
张老先生 2019-09-11
爱你永不悔 2019-08-12
伍仔 2019-05-05
海阔天空 2018-05-10
吟风 2018-04-10
saya213 2013-05-12
木子 2019-05-06
求索 2025-03-27
藏家469 2025-03-27
dfzm9936 2025-03-27
求索 2025-03-27
求索 2025-03-27
光光 2025-03-26
甘霓夏 2025-03-27
黄蜂 2025-03-27
黄蜂 2025-03-27
anan 2025-03-27