- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Latest Sources from repository do not...
Latest Sources from repository do not compile on Ubuntu
Latest Sources from repository do not compile on Ubuntu
Hi, I just tried to compile the latest version from the repository on Ubuntu.
I get the following error when running: make omc
AvlTree.mo:103.5-103.8 Error: wrong number of arguments to type function Key
expected: 1 arguments in type:
Key
but got: 0 arguments!AvlTree.mo:103.5-103.8 Error: wrong number of arguments to type function Key
Error: StaticElaborationError
Does anyone has an idea why? Thanks!
Re: Latest Sources from repository do not compile on Ubuntu
You will need to update your rml to the latest revision.
Cheers,
Adrian Pop/
- adrpo
- 885 Posts
Re: Latest Sources from repository do not compile on Ubuntu
I have downloaded my version from the following location, as stated in the README.Linux.txt
https://openmodelica.org/svn/MetaModelica/trunk mmc
Has it been moved?
Thanks,
Fritz
Re: Latest Sources from repository do not compile on Ubuntu
No, that's the Subversion URL.
See if you don't have some other version in your path or in your configure.
Cheers,
Adrian Pop/
- adrpo
- 885 Posts
Re: Latest Sources from repository do not compile on Ubuntu
Yeah, I think I had the wrong version on the path. Now it worked :-).
But, when I run the testsuite, I get one error:
RedeclareFunction (Bug1432) ... execution failed
Error: Variable RedeclareFunction.b in package RedeclareFunction is not constant
[RedeclareFunction.mo:16:13-16:27:writable] Error: Variable RedeclareFunction.b not found in scope RedeclareFunction.B.A2.f
All the other tests succeed.
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Latest Sources from repository do not...