Closed lausdahl closed 8 years ago
Probably a dependency of the msxsl.exe tool that we are using is missing when running under Wine. I'm currently testing 20-sim 4.6.2 under Wine on MacOSX, so I will check if I can figure out which DLLs are needed to run this tool.
It turns out that the Wine command processor cmd.exe does not like our batch script. I have to find a different way to generate the modelDescription.xml and guid...
Should be fixed in the latest 20-sim 4.6.2-intocps Wine build.
I tried to export the FMU2 standalone FMU on Mac and it almost generated enough code + config to be useful.
However, the xslt transformation fails, and the fmiGUID.h file is not generated:
I manually created the
fmiGUID.h
header from theguid.txt
and the XSLT transformation using http://www.freeformatter.com/xsl-transformer.html#ad-output and copied the source files to the correct location, inserted the guid in themodelDescription.xml
and compiled it and it worked.This is not an issue report but information to improve the generator to work on mac. It could be cool if it could generate all the source files and modelDescription.xml so the user only had to compile it.