Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Compiling the whole project
Notice: It is important to install the exact versions of the tools mentioned hereafter (special exception for Visual Studio 2013, for which you can also use the Professional or Enterprise editions). Do not come complaining if you didn't install the correct versions of the tools.
- Download Visual Studio 2013 Community Edition (make sure to install MFC)
- Download Qt 5.6.2 (x32) for MSVC2013, install in
- Download Qt 5.6.2 (x64) for MSVC2013, install in
- Download Qt Creator 4.3.1, install in
- Clone the repository to your local drive. Make sure to include the submodules in your clone command!
git clone --recurse-submodules https://github.com/x64dbg/x64dbg.git
set VSVARSALLPATH=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat
install.batto initialize the pre-commit formatting hooks
setupdeps.batto copy the dependencies
x64dbg.slnin Visual Studio 2013
- Compile the solution (F7)
src\gui\x64dbg.proin Qt Creator
- Compile the GUI.
Compiling with different Visual Studio/Qt versions
While unsupported (as in don't come complain), people have built x64dbg with Visual Studio 2015/2017 and/or newer Qt versions. If you use a different Qt version you have to recompile snowman (or use SnowmanDummy) and delete all Qt-related DLLs from the
bin directory and replace them with ones from your Qt version.
If you encounter build errors with newer Qt or Visual Studio versions, a pull request is appreciated.
This video is slightly outdated. The process is still the same, except that you have to install Qt 5.6.0 (see the first section of this documented).
This is a video by
a_a_ but it uses Visual Studio 2017 and Qt 5.8 (both of which are currently not officially supported): https://vimeo.com/213004417 Note: The video is a bit dated, and the
copy_libs.bat script displayed in the video does not copy all required DLLs to the output folder. Make sure to run
setupdeps.bat before running the
copy_libs.bat displayed in the video in order to copy all required DLLs to the output folder. Alternatively, run
setupdeps.bat and then delete all the Qt DLLs in the output bin folder, and replace them with ones from your Qt version.