This is the official repository for Framebot.
First you need to install the dependencies
# apt install jansson openssl libcurl4-openssl-dev
then you use cmake to create the build files
mkdir build
cd build
cmake ..
and use make to build and install
make
make install
The required packages can be installed using either ports:
make -C /usr/ports/{cmake,jansson,openssl,curl} install clean
Or binary packages:
pkg install cmake jansson openssl curl
After that, cd into the framebot repository continue the same way as above:
mkdir build
cd build
cmake ..
make
make install
For windows builds, you're gonna need:
Install dependencies with vcpkg
vcpkg install curl
vcpkg install jansson
Assuming you installed vcpkg
inside C:\tools\vcpkg
mkdir build
cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=C:\tools\vcpkg\scripts\buildsystems\vcpkg.cmake
cmake --build .
To install you need a prompt with admin rights
cmake --build . --target INSTALL --config Release
Builds with MinGW
are not supported yet.
See our Examples folder.
If you want to contribute to the project, follow the instructions on CONTRIBUTING