FMI4cpp icon indicating copy to clipboard operation
FMI4cpp copied to clipboard

unable to compile the fmi4cpp

Open netpay2007 opened this issue 2 years ago • 3 comments

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 avatar Apr 26 '23 08:04 netpay2007

image

netpay2007 avatar Apr 26 '23 08:04 netpay2007

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

markaren avatar Apr 26 '23 09:04 markaren

OK,thinks, i will have a try

netpay2007 avatar Apr 26 '23 09:04 netpay2007