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

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!

Edited by: zav1984 - Jul-17-11 02:04:51

Re: Latest Sources from repository do not compile on Ubuntu

You will need to update your rml to the latest revision.

Cheers,
Adrian Pop/

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/

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.

There are 0 guests and 0 other users also viewing this topic
You are here: