Wie man nlohmann/json ohne sudo installiert
Auch ohne Root-Berechtigungen ist es wirklich einfach, nlohmann/json auf Ihrem System zu installieren.
In diesem Beispiel installieren wir es nach $HOME/usr.
install_nlohmann_json.sh
git clone -b v3.11.3 https://github.com/nlohmann/json.git
cmake -DCMAKE_INSTALL_PREFIX=$HOME/usr .
make -j8 installCheck out similar posts by category:
C/C++
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow