NTNU-IHB / FMI4cpp

FMI 2.0 implementation written in modern C++.
MIT License
96 stars 36 forks source link

unable to compile the fmi4cpp #141

Closed netpay2007 closed 1 month ago

netpay2007 commented 1 year ago

hi, i am trying to compile the fmi4cpp, but it signal a error: fatal error: pugixml.hpp: No such file or directory. In fact, i have include the dir of the pugixml.hpp, is there any wrong in the setting? image image image

netpay2007 commented 1 year ago

image

markaren commented 1 year ago

I dunno, but I'd consider using conan 1.x or vcpkg: https://github.com/NTNU-IHB/FMI4cpp/pull/139 for handlig depedencies. Or just run CMake directly without the CMake GUI: https://github.com/NTNU-IHB/FMI4cpp/blob/d5f7147e0f2ee42a5bbdd17b25163fb6b825c5ad/.github/workflows/config.yml#L63

netpay2007 commented 1 year ago

OK,thinks, i will have a try