This guide explains how to build CCExtractor on Windows using WSL (Ubuntu). It is based on a fresh setup and includes all required dependencies and common build issues encountered during compilation.
- Windows 10 or Windows 11
- WSL enabled
- Ubuntu installed via Microsoft Store
From PowerShell (run as Administrator):
wsl --install -d UbuntuRestart the system if prompted, then launch Ubuntu from the Start menu.
sudo apt updatesudo apt install -y build-essential git pkg-configCCExtractor includes Rust components, so Rust and Cargo are required.
curl https://sh.rustup.rs -sSf | sh
source ~/.cargo/envVerify installation:
cargo --version
rustc --versionsudo apt install -y \
libclang-dev clang \
libtesseract-dev tesseract-ocr \
libgpac-devgit clone https://github.com/CCExtractor/ccextractor.git
cd ccextractorcd linux
./buildAfter a successful build, verify by running:
./ccextractorYou should see the help/usage output.
source ~/.cargo/envsudo apt install libclang-dev clangsudo apt install libgpac-devsudo apt install libtesseract-dev tesseract-ocr- Compiler warnings during the build process are expected and do not indicate failure.
- This guide was tested on Ubuntu (WSL) running on Windows 11.