Wie man C++ "fatal error: curlpp/Easy.hpp: No such file or directory" auf Ubuntu behebt
Problem:
Beim Versuch, Ihr C++-Projekt zu kompilieren, sehen Sie eine Fehlermeldung wie
error.txt
minio-cpp/include/http.h:21:10: fatal error: curlpp/Easy.hpp: No such file or directory
21 | #include <curlpp/Easy.hpp>
| ^~~~~~~~~~~~~~~~~
compilation terminated.Lösung
Sie müssen die curlpp-Bibliothek installieren, einen C++-Wrapper um libcurl. Auf Ubuntu oder Debian können Sie dies tun mit
install_curlpp.sh
sudo apt -y install libcurlpp-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