Skip to content

Compiling the whole project

Duncan Ogilvie edited this page Jul 5, 2025 · 67 revisions

Prerequisites

  • Install Visual Studio
    • Select Desktop development with C++, CMake and Git.

Below is a video showing the installation process from start to finish:

x64dbg-vs-install.mp4

Compilation

You need to clone the repository on your local drive:

git clone --recursive https://github.com/x64dbg/x64dbg.git

The project uses a CMake project, which automatically fetches all the necessary dependencies. You can use many IDEs to work with CMake projects:

Open the project folder in your favorite IDE and hit Build to compile the project.

Below is a video showing the compilation process in Visual Studio:

x64dbg-build.mp4

Manual CMake configuration

Sometimes the Visual Studio CMake integration does not work correctly when opening the folder. If this happens you can install CMake in your path (Windows x64 Installer) and run the following commands from the cloned folder:

cmake -B build64 -A x64
start build64\x64dbg.sln

Then you can build the solution and run the exe project to start x64dbg. If you want to build x32dbg you can configure like this:

cmake -B build32 -A Win32
start build32\x64dbg.sln

Clone this wiki locally