Closed kepakiano closed 5 years ago
Yes, this is a bug I discovered recently. It was fixed 4 days ago in a335a32e7634fe68c224bad7dba514db79cb6ad4.
https://github.com/NTNU-IHB/FMI4cpp/blob/master/src/fmu_resource.cpp
Which version of FMI4cpp are you using btw, and how are you getting it? This fix will be in 0.7.0 which will be a pretty major release as far as breaking changes are concerned.
Closing since this fix is present on the master branch
When using the current master of
omc
to generate an FMU, the file<model>_info.json
is put directly into theresources
folder inside the FMU. However, FMI4cpp looks for it in the folder"resources" + getOs() + "/" + getLibExt()
, which for me isresources/linux64/.so
and thus cannot find the file. Is this a bug? When I remove addinggetOs()
andgetLibExt()
everything works as expected.