-
Notifications
You must be signed in to change notification settings - Fork 18
1. Compilation & Linking
If you're using precompiled Monero Tipbot you can skip to Setup.
Monero Tipbot uses the following compiled dependencies
- POCO C++ Libraries 1.9.0
- Sleepy-Discord 0cab605
- OpenSSL 1.0.2g
- libcurl4 w/ OpenSSL
All of these libraries are precompiled for you. For any newer OpenSSL version or libcurl sleepy-discord will have to be manually recompiled. To manually recompile you must clone sleepy-discord and compile it from this link. Then you should place the new headers in extern/sleepy-discord/include/
and the new .lib or .a file in extern/sleepy-discord/lib/
.
Requires at minimum a compiler with C++14 support.
NO_CHAISCRIPT
-- This will disable the scripting engine from being compiled which will speed up complication greatly. However, you won't be able to use scripts.
Monero Tipbot is tested and developed on Visual Studio 2017. Any other version of Visual Studio is not supported as Visual Studio 2017 is the first Visual Studio with cmake. However, if older Visual Studio versions is needed the sln can be generated from cmake-gui
(can be downloaded from here)
Compiling and linking on Visual Studio is simple. To compile on Visual Studio 2017 in the top left click File
select Open
then select CMake
then navigate to where Monero Tipbot is and click CMakeLists.txt
. Change the default build mode from x86-Debug
to x86-Release
and build. Everything should be configured to work out of the box after that point.
It is required to place the dlls from extern\poco-1.9.0\bin
in the same folder where Tipbot is compiled.
Note: x64-Release
and x64-Debug
is not supported due to issues with sleepy-discord.
Navigate to where Monero Tipbot is located. Execute the command cmake .
which will configure Tipbot in the default configuration which is release mode or cmake . -DNO_CHAISCRIPT
for no script engine. Then to build Tipbot type make
and Tipbot will automatically build to the current directory with an output file name TIPBOT
Doc Version: 1.0 -- This doc is intended for the develop branch of this project.
© Brandan Tyler Lasley 2018
- BTC: 1KsX66J98WMgtSbFA5UZhVDn1iuhN5B6Hm
- LTHN: iz5ZrkSjiYiCMMzPKY8JANbHuyChEHh8aEVHNCcRa2nFaSKPqKwGCGuUMUMNWRyTNKewpk9vHFTVsHu32X3P8QJD21mfWJogf
- XMR: 44DudyMoSZ5as1Q9MTV6ydh4BYT6BMCvxNZ8HAgeZo9SatDVixVjZzvRiq9fiTneykievrWjrUvsy2dKciwwoUv15B9MzWS
- MSR: 5h9GZz5bbvUK5TPb1KB8J7FnbQHyEd1z93scwhu3WZ9m3YJwCAUVyz3FoKh4JiTTWPKcGmJkxBWS2YkmzJoXTimqTbCKFKm
Direct questions/concerns to Discord https://discord.gg/TyD4jfU