Opened 8 years ago
Closed 6 years ago
#4139 closed defect (fixed)
OMEdit fails to pass correct platform triplets when cross compiling an FMU
Reported by: | Owned by: | Anatoly Trosinenko | |
---|---|---|---|
Priority: | normal | Milestone: | 1.14.0 |
Component: | OMEdit | Version: | v1.11.0 |
Keywords: | Cc: |
Description
Some time ago the support for cross-compilation of FMUs was added to the OMEdit UI. Unfortunately, it is broken now. The settings dialog shows installed crosscompilers, but when I select any of them (even for my native platform) configure fails.
Steps to reproduce
- Go to Options dialog and on the FMI tab select some of target platform triplets. In my case the settings are: Version = 2.0, Type = ME&CS, Platforms: Static, x86_64-linux-gnu.
- Compile some model to FMU from the UI
model Test output Real x; equation x = time; end Test;
Expected result
Model compiles without errors.
Actual result
The following error is reported:
[1] 11:47:21 Translation Error Error building simulator. Build log: checking build system type... x86_64-unknown-linux-gnu checking host system type... Invalid configuration `&x86_64-linux-gnu': machine `&x86_64' not recognized configure: error: /bin/bash ./config.sub &x86_64-linux-gnu failed
Note the &
sign in the platform triplet.
Change History (2)
comment:1 by , 6 years ago
Milestone: | Future → 1.14.0 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Yeah that's right. I am closing this ticket.
Note:
See TracTickets
for help on using tickets.
Some time ago, https://github.com/OpenModelica/OMEdit/pull/186 was merged. Now it works for me on my Ubuntu 18.10 amd64.