You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I hope I am not duplicating an issue or question, however my researches did not find a lot regarding the compilation of FMUs (that contain source code) on macOS for macOS Silicon.
If my question seems ignorant, then I would appreciate any pointer towards a tutorial or concrete example procedure on how to achieve this compilation. The fmpy command line also offers a compile command list that seems to support this principally (unless I am wrongly interpreting it), however can't get it working.
Related to issue #623 I also would like to then simulate an FMU in my python-environment on my Mac (silicon, M1, M2, ...) and it seems that there also would be some enhancements needed.
Which compiler flags would I need to set for clang concretely to achieve the compilation of the sources/ and to create the binaries/darwin64 with all required files to make it run also on Mac silicon.... maybe the cmake already supports all that and I am simply missing the description or guidelines to follow through.
The text was updated successfully, but these errors were encountered:
im using fmpy on apple silicon m1. I can compile and simulate source code fmus with fmpy 0.3.19. if your fmu has the sources, then run: fmpy compile myfmu.fmu
that will generate a darwin64 directory and its correspondent .dylib file
then simulate with: fmpy simulate myfmu.fmu
I hope I am not duplicating an issue or question, however my researches did not find a lot regarding the compilation of FMUs (that contain source code) on macOS for macOS Silicon.
If my question seems ignorant, then I would appreciate any pointer towards a tutorial or concrete example procedure on how to achieve this compilation. The
fmpy
command line also offers acompile
command list that seems to support this principally (unless I am wrongly interpreting it), however can't get it working.Related to issue #623 I also would like to then simulate an FMU in my python-environment on my Mac (silicon, M1, M2, ...) and it seems that there also would be some enhancements needed.
Which compiler flags would I need to set for
clang
concretely to achieve the compilation of thesources/
and to create thebinaries/darwin64
with all required files to make it run also on Mac silicon.... maybe the cmake already supports all that and I am simply missing the description or guidelines to follow through.The text was updated successfully, but these errors were encountered: