Hi,
you come at almost the right time: in the next few weeks I'll start looking into some
general/automatic way to export FMUs out of Chrono and I plan to be able to generate the first
Cosimulation FMUs within September.
I recently spent some time upgrading and fixing the Chrono serialization feature that should come in handy for the FMU exporting process so it's one issue less.
However, I won't probably have time to deal with the ModelExchange version any time soon. Same applies for the most advanced features like fmi2GetDirectionalDerivative for which I don't have an immediate need.
In any case, please consider that I'm looking for a general/automatic process: it should be
WAY easier if you just want to
manually create an FMU for your specific code.
In this case you should start from downloading the FMI headers
https://fmi-standard.org/ and create the definition for the functions that you find in
FunctionTypes.h.
This approach is easier, but you still need to have some knowledge about the compilation and linking process, especially if you go for the runtime dynamic linking.
Hope to have better news soon.
Dario