D++ (DPP)
C++ Discord API Bot Library
Building on Windows

Building on Windows

To build on windows follow these steps exactly. The build process depends on specific libraries being installed on your system in specific locations.

Note
You should not need to build a copy of the library for windows - DLL and LIB files for Windows and visual studio 2019 64-bit are be provided in the github version releases. Unless you wish to submit fixes and enhancements to the library itself (or are running on 32 bit windows) you may find it easier to use these releases instead.

Instructions here are subject to change!

  1. Make sure you have Visual Studio 2019. Community, Professional or Enterprise work fine. You do NOT want to use Visual Studio Code for this. You can download the correct version here.
  2. Check out the DPP project source using git
  3. From within Visual Studio 2019, click the "File" menu, choose "Open" then "CMake", and select the CMakeLists.txt within the project folder
  4. Go to the "Build" menu and choose "Build all" or just press F7
  5. Check that compilation succeeded. You may now use the library in your projects!

Troubleshooting

  • If you do not have an option to open the CMakeLists.txt, ensure that you have installed the C++ development portions of visual studio (not just web development portions) with at least the default options.
  • If the project does not build, please ask for help on the official discord server

After compiling

After compilation you can directly reference the compiled project in your own CMakeLists.txt as a library or use the lib/dll/headers as you wish. Note that openssl and zlib will also be an indirect dependency of your program (as DLL files) and should be copied alongside dpp.dll.

D++ Library version 10.0.35D++ Library version 10.0.34D++ Library version 10.0.33D++ Library version 10.0.32D++ Library version 10.0.31D++ Library version 10.0.30D++ Library version 10.0.29D++ Library version 10.0.28D++ Library version 10.0.27D++ Library version 10.0.26D++ Library version 10.0.25D++ Library version 10.0.24D++ Library version 10.0.23D++ Library version 10.0.22D++ Library version 10.0.21D++ Library version 10.0.20D++ Library version 10.0.19D++ Library version 10.0.18D++ Library version 10.0.17D++ Library version 10.0.16D++ Library version 10.0.15D++ Library version 10.0.14D++ Library version 10.0.13D++ Library version 10.0.12D++ Library version 10.0.11D++ Library version 10.0.10D++ Library version 10.0.9D++ Library version 10.0.8D++ Library version 10.0.7D++ Library version 10.0.6D++ Library version 10.0.5D++ Library version 10.0.4D++ Library version 10.0.3D++ Library version 10.0.2D++ Library version 10.0.1D++ Library version 10.0.0D++ Library version 9.0.19D++ Library version 9.0.18D++ Library version 9.0.17D++ Library version 9.0.16D++ Library version 9.0.15D++ Library version 9.0.14D++ Library version 9.0.13D++ Library version 9.0.12D++ Library version 9.0.11D++ Library version 9.0.10D++ Library version 9.0.9D++ Library version 9.0.8D++ Library version 9.0.7D++ Library version 9.0.6D++ Library version 9.0.5D++ Library version 9.0.4D++ Library version 9.0.3D++ Library version 9.0.2D++ Library version 9.0.1D++ Library version 9.0.0D++ Library version 1.0.2D++ Library version 1.0.1D++ Library version 1.0.0