Opened 10 years ago

Closed 10 years ago

#2512 closed defect (worksforme)

can't compile trunk because of template incompatibilities

Reported by: janssen Owned by: adeas31
Priority: high Milestone: 1.9.1
Component: Build Environment Version: trunk
Keywords: Cc:

Description

I can't seem to compile the trunk anymore, because of template issues:

...
make -C susan_codegen/
make[2]: Nothing to be done for `all'.
make -C Template/
 ** CodegenCSharp template compilation ** 
/local/open-modelica/bin/omc +d=failtrace CodegenCSharp.tpl > CodegenCSharp.mo.log || (cat CodegenCSharp.mo.log && false)
Execution failed!

Processing file 'CodegenCSharp.tpl'

Susan parse error(s):
SimCodeTV.mo:84.16-84.16 Error:(parser)Expected an identifier at the position.(col 16)

### translation of file 'CodegenCSharp.tpl' failed!  ###
### Error Buffer ###
TplParser.parseError msg: SimCodeTV.mo:84.16-84.16 Error:(parser)Expected an identifier at the position.(col 16)
Parse error - TplParser.templPackageFromFile failed for file 'CodegenCSharp.tpl'.

### End of Error Buffer ###
Error processing file: CodegenCSharp.tpl
# Error encountered! Exiting...
# Please check the error message and the flags.

make[2]: *** [CodegenCSharp.mo] Error 1
make[1]: *** [simcode] Error 2
make: *** [omc-rml] Error 2
%

/local/open-modelica/bin/omc is the version from 9 December. I can't tell whether it is the problem, or whether the template files are the problem.

Change History (3)

comment:1 Changed 10 years ago by adrpo

delete your build/bin/omc and try again.
the idea is to compile without an old omc (remove it from path or whatever) by using the already existing .mo files (and not generate new .mo files from templates .tpl).

comment:2 Changed 10 years ago by sjoelund.se

./configure --without-omc if you are using a pre-compiled omc that is not up to date.

comment:3 Changed 10 years ago by sjoelund.se

  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.