You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.
I cloned the repository with its dependencies, and built the lib:
git clone --recursive git@github.com:zeroxs/aegis.cpp
cd aegis.cpp
mkdir build
cd build
cmake ..
make
sudo make install
No error until here.
Then I created a little project, with a single main.cpp file, containing the template code given in the Readme - in which I took care to replace "TOKEN" with my bot's token, obviously.
When compiling it with
g++ -o bot src/main.cpp -Wall -Wextra -Werror
I get an error:
/usr/local/include/aegis/fwd.hpp:12:10: fatal error: nlohmann/json_fwd.hpp: No such file or directory
I'm investigating on this, looking for some lib I wouldn't have installed on my PC.
The text was updated successfully, but these errors were encountered:
No. Right now, you are calling g++ and telling it to only compile the main.cpp. Nothing more. What about the json lib? g++ doesn't know where it is. zlib, openssl, asio, etc. You're missing all the parameters for g++. I would highly recommend using cmake as it does it all for you.
I cloned the repository with its dependencies, and built the lib:
No error until here.
Then I created a little project, with a single
main.cpp
file, containing the template code given in the Readme - in which I took care to replace "TOKEN" with my bot's token, obviously.When compiling it with
I get an error:
I'm investigating on this, looking for some lib I wouldn't have installed on my PC.
The text was updated successfully, but these errors were encountered: