I am trying to build a tool from a git repo and after executing "cmake.." I get the following error:
Could not find a package configuration file provided by "PugiXml" with any
of the following names:
PugiXmlConfig.cmake
pugixml-config.cmake
Add the installation prefix of "PugiXml" to CMAKE_PREFIX_PATH or set
"PugiXml_DIR" to a directory containing one of the above files. If
"PugiXml" provides a separate development package or SDK, be sure it has
been installed.
I also got this error for Eigen3 and Qt5. I solved them by executing sudo apt install libeigen3-dev
/ sudo apt install libqt5svg5-dev
. But apparently this is not working for pugiXml with sudo apt install libpugixml-dev
.
Anyone got a solution for this?
I use the centos os, When I install soft from the vcpkg , it allways pop the error, here is how i fix it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.