-
-
Notifications
You must be signed in to change notification settings - Fork 285
Build and install in Windows
hipersayanX edited this page Jan 29, 2022
·
17 revisions
Please, read the raw build guide and deploy guide before reading this guide, there you will find all available configurations to tweak the build.
For building and developing Webcamoid in Windows, you need to install MSYS2, go to MSYS2 website and follow their install instructions, then install the required dependencies.
Open a MSYS2 terminal (check all MSYS2 supported environments, here) and run the following commands:
mkdir -p webcamoid-build
cmake \
-S webcamoid \
-B webcamoid-build \
-G "MSYS Makefiles" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX="${PWD}/webcamoid-data"
cmake --build webcamoid-build --parallel 4
cmake --install webcamoid-build
First at all clone the Webcamoid deploy tools repository.
git clone https://github.com/webcamoid/DeployTools.git
then run the deploy script as
export PYTHONPATH="${PWD}/DeployTools"
python3 DeployTools/deploy.py \
-d "${PWD}/webcamoid-data" \
-c "${PWD}/webcamoid-build/package_info.conf" \
-o "${PWD}/webcamoid-packages"