Open CasBex opened 1 year ago
This is exactly the problem, currently this only works on Windows because we are using a Windows-library (DLL-specific) in the considered file.
This could be fixed by adding a Linux-equivalent for the FMU2_init.h
-file and using the Linux-Version for islinux() == true
during export.
Further a solution for this is on todo, but with lower priority, so if this is urgent I have no problem and would appreciate if anyone else wants to contribute :)
Alright, thanks for the clarification. It's currently not very urgent and my C skills are not up to the task, but maybe later a solution will be coming your way :)
Hi there. I've been trying to export the BouncingBall example in
FmiExport.jl
but this fails with the following error:I don't really know how to fix this. In
template/ME/FMU2_init.h
it says the code is windows specific (I'm using Fedora38) and I think that is the problem? Are there any plans to make the fmu-generation linux compatible? Or am I missing something obvious?EDIT: I have tried generating BouncingBall.fmu on a Windows machine and this did work