如何修复 Ubuntu 上的 C++ fatal error: pugixml.hpp: No such file or directory
问题:
尝试编译 C++ 项目时,你看到类似这样的错误消息
error.txt
minio-cpp/include/select.h:19:10: fatal error: pugixml.hpp: No such file or directory
19 | #include <pugixml.hpp>解决方案
你需要安装 PugiXML 库。在 Ubuntu 或 Debian 上,你可以使用
install_pugixml.sh
sudo apt -y install libpugixml-devCheck out similar posts by category:
C/C++, GCC Errors
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow