Reputation: 49
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?
Upvotes: 0
Views: 1680
Reputation: 31
I use the centos os , When I install soft from the vcpkg , it allways pop the error , here is how i fix it .
Upvotes: 0