modelica / Reference-FMUs

Functional Mock-up Units for development, testing and debugging
Other
129 stars 60 forks source link

Building FMUs/fmusim on aarch64-darwin #514

Closed Maplesoft-fmigroup closed 3 weeks ago

Maplesoft-fmigroup commented 3 weeks ago

@t-sommer I was able to build 'fmusim' and reference FMUs on ARM M2 Mac. When running build.py I had to fix the following: Reference-FMUs/src/fmi3Functions.c:241:27: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] const char* fmi3GetVersion() {
by changing it to const char* fmi3GetVersion(void). There were also a bunch of warnings. Let me know if you want the list.

t-sommer commented 3 weeks ago

Yes, please!

Maplesoft-fmigroup commented 3 weeks ago

Buildfmusim.txt