Skip to content

Building ADC on Windows

Nathan du Buy edited this page Jun 26, 2026 · 3 revisions

Building ADC on Windows

Note

For compiling on Python 3.13 and up, a C compiler is required. On Linux, GCC is sufficient. On Windows, MSVC (cl.exe) is required via Visual Studio Build Tools 2022. Python 3.12 can compile without a C compiler using MinGW64.

Building on Windows

Preparing build environment on Windows

Please disable Windows Defender as it may block compilation.

Installing Make

Options to install GNU Make:

Option 1 — WinGet

winget install GnuWin32.Make

Add Make to PATH. More info

Option 2 — Chocolatey (Recommended)

choco install make
Downloading and extracting source code
  1. Download and extract: source_code.zip
Installing Python and VS Build Tools
  1. Install Python 3.13.x (64-bit). Ensure pip is installed and Python is added to PATH.
python --version
  1. Install Visual Studio Build Tools 2022:
winget install Microsoft.VisualStudio.2022.BuildTools --override "--add Microsoft.VisualStudio.Workload.VCTools --includeRecommended"
  1. Open VS Developer PowerShell:
Import-Module "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"
Enter-VsDevShell -VsInstallPath "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools" -DevCmdArguments "-arch=x64 -host_arch=x64"

Then:

cd ArchivedDataCodec-1.4.5

Then:

make deps-windows

Start building on Windows

Warning

Do NOT run the binary while compiling!

Warning

Do NOT install MinGW64 if Nuitka asks for it. You CAN install depends.exe if Nuitka asks for it.

Compile the latest version:

make windows

Run the binary:

cd dist
./adc.exe

Clean build:

make clean-windows

Debug build (Optional) Only use if you really need to, normally make windows is the best option:

make debug-windows

Clone this wiki locally