Opened 11 years ago
Closed 11 years ago
#2512 closed defect (worksforme)
can't compile trunk because of template incompatibilities
Reported by: | Bill Janssen | Owned by: | Adeel Asghar |
---|---|---|---|
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 by , 11 years ago
comment:2 by , 11 years ago
./configure --without-omc
if you are using a pre-compiled omc that is not up to date.
comment:3 by , 11 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
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).