Wie man GCC fatal error behebt: arrow/api.h: No such file or directory auf Ubuntu
Problem:
Beim Kompilieren Ihrer C++-Anwendung sehen Sie eine Fehlermeldung wie
arrow_api_error.txt
src/main.cpp:3:10: fatal error: arrow/api.h: No such file or directory
3 | #include <arrow/api.h>Lösung
Sie müssen die Arrow C++-Bibliotheken installieren.
Auf Ubuntu können Sie dies mit
install_libarrow_dev.sh
sudo apt update
sudo apt install -y -V ca-certificates lsb-release wget
wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
sudo apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
sudo apt update -y
sudo apt -y install libarrow-devFür andere Betriebssysteme siehe den offiziellen Arrow-Installationsleitfaden,
Check 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