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

Error when build openmodelica_1_9_1

Error when build openmodelica_1_9_1

I have the following error when i try to build OMC:
"GlobalScriptUtil.mo:283.10-283.15 Error: unbound module id SCode"


The svn tag used is openmodelica_1_9_1

Re: Error when build openmodelica_1_9_1

I succeeded to compile this file when i change the following line:

"protected import SCode;"

in

"public import SCode;"

But i have an error when i compile FCore.mo. There is an error at line 511:
"
FCore.mo:511.20-511.41 Error: while processing this CALL goal:  int_eq
type int differs from:
type char
reason: different type names
Error: StaticElaborationError
"

Thanks for your help

Re: Error when build openmodelica_1_9_1

Are you using the latest version of rml-mmc?

Re: Error when build openmodelica_1_9_1

i use rml-mmc 2.3.8

Re: Error when build openmodelica_1_9_1

You need to specify the svn revision number since you need the very latest one.

Re: Error when build openmodelica_1_9_1

the svn revision i use is 258

Re: Error when build openmodelica_1_9_1

You need revision 280

Re: Error when build openmodelica_1_9_1

Thanks for your help

when i upgrade rml-mmc, the compilation works !! perhaps you need to indicate in README file that a minimum version of rml-mmc is needed

Re: Error when build openmodelica_1_9_1

There is no point doing that now. OpenModelica can no longer be compiled using rml-mmc (1.9.1 is the last version we use rml-mmc).

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