#Include Errors

11 messages · Page 1 of 1 (latest)

silver rock
#

Im Working On This Discord Bot and i keep getting include errors

cold ledgeBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

silver rock
#

i just dont know what im doing wrong

rocky elm
silver rock
#

Yeah i do

#

But some reason it's not accepting it

silver rock
#

Could it be linking issues

rocky elm
#

What editor are you using

quasi leaf
#

This is a compilation error, not a linking error. Look for this file here: /usr/include/nlohmann/json.hpp. My guess is that you have not installed nlohmann-json3-dev with sudo apt install nlohmann-json3-dev. If the nlohmann folder does not exist in /usr/include this is likely the solution. If you are on windows, I am unable to direct you how to install it, but I would start here: https://json.nlohmann.me/

silver rock