- Index
- » Developer
- » OpenModelica development
- » Compilation Failure
Compilation Failure
Compilation Failure
Hi OpenModelica community!
I have recently checked out openmodelica (SVN 24030) and attempted to build on OSX. Here is my config line and make invocation
./configure --prefix=/usr/local --disable-modelica3d --without-CORBA --disable-omnotebook --without-paradiseo
make omc
however, the compilation process eventually terminates with the following:
(cd "libraries/Modelica 2.2.2" && find . -type d -not -path "*svn*" -exec install -m755 -d "../../build/lib/omlibrary/Modelica 2.2.2/{}" \
/bin/sh: line 0: cd: libraries/Modelica 2.2.2: No such file or directory
make[3]: *** [omlibrary-222] Error 1
make[2]: *** [build/lib/omlibrary/stamp] Error 2
make[1]: *** [omc-bootstrapped] Error 2
make: *** [all] Error 2
Did I miss something? Is there some step to procure the 'libraries/Modelica 2.2.2' folder. I have checked the libraries folder and that subfolder is indeed missing.
Thanks
~ ry
Re: Compilation Failure
so to answer my own question, I got the Modelica 2.2.2 library from here:
https://github.com/modelica/Modelica/tr … 2/Modelica
and copied it into the <modelica_source_dir>/libraries folder and that seems to have worked.
~ ry
p.s. it seems that this step should not be necessary to compile. Should the Modelica 2.2.2 library source be included in the overall trunk source? I would be happy to make a patch and submit.
Re: Compilation Failure
It is in the trunk sources:
svn propget svn:externals libraries/
https://svn.modelica.org/projects/Model … elica@7415 'Modelica 2.2.2'
https://svn.modelica.org/projects/Model … e/3.1@7446 'Modelica 3.1'
https://svn.modelica.org/projects/Model … 3.2.1@8055 'Modelica 3.2.1'
The libraries are stripped from the source tarball; compile using make NOLIBRARIES=Yes
- sjoelund.se
- 1700 Posts
- Index
- » Developer
- » OpenModelica development
- » Compilation Failure