Skip to content

Dev_Building

ufrisk edited this page Aug 3, 2020 · 4 revisions

Building LeechCore

Windows:

The LeechCore library and the LeechAgent binaries are built with Visual Studio 2019. Please ensure that the C/C++ development environment and the Visual Studio Python Tools are both installed.

LeechCore and LeechAgent supports both 32-bit and 64-bit Windows 7 or later. Windows 10 is recommended for improved performance.

Note! Additional device plugin modules exists in the LeechCore-plugins repository. Plugins will build to .dll files which should be placed alongside leechcore.dll.

Linux:

The LeechCore library is supported on 64-bit Linux.

To build for Linux ensure the dependencies are met by running:
apt-get install libusb-1.0-0-dev pkg-config. Then move into the LeechCore/leechcore directory and execute: make. The resulting library leechcore.so will be placed in the LeechCore/files directory after a successful build.

LeechAgent is not supported on Linux.

Note! Additional device plugin modules exists in the LeechCore-plugins repository. The FT601 user-mode USB-driver also exists as a separate driver compiled to .so. Plugins will build to .so files which should be placed alongside leechcore.so.