| D++ (DPP) C++ Discord API Bot Library

Search
Loading...
Searching...
No Matches
Installing from Homebrew (OSX)

To install D++ from brew, follow the steps below:

brew install libdpp
brew link libdpp

This command will install libdpp and setup links.

If it can't detect libdpp, please do brew update and repeat the steps above.

You will now be able to use D++ by including its library on the command line:

clang++ -std=c++20 -L/opt/homebrew/lib -I/opt/homebrew/include -ldpp mybot.cpp -o mybot

Note
  Compiling your bot with a raw g++ command is not advised in any real project, and the example above should be used only as a test. From here, you should learn to create a bot in D++ by moving on to Building a Discord Bot Using CMake (UNIX) or if you have not yet created a token for your bot, Creating a Bot Token - If you are having trouble setting up CMake, you can try our template cmake bot project.

## Uninstalling & Unlinking

To unlink and uninstall dpp, run

brew unlink libdpp
brew uninstall libdpp

Note
  As a precaution, double check inside /opt/homebrew/lib and /opt/homebrew/include to make sure that libdpp does not exist. If it does, remove files/folders relating to libdpp. If there are files left here and you don't remove them, you may see issues arise with different versions of D++. Sometimes, it may still act like some version of D++ exists, if it does that then please restart your system!

Have fun!

D++ Library version 9.0.13 D++ Library version 9.0.12 D++ Library version 9.0.11 D++ Library version 9.0.10 D++ Library version 9.0.9 D++ Library version 9.0.8 D++ Library version 9.0.7 D++ Library version 9.0.6 D++ Library version 9.0.5 D++ Library version 9.0.4 D++ Library version 9.0.3 D++ Library version 9.0.2 D++ Library version 9.0.1 D++ Library version 9.0.0 D++ Library version 1.0.2 D++ Library version 1.0.1 D++ Library version 1.0.0