-
-
Notifications
You must be signed in to change notification settings - Fork 398
Compiling on Windows (Visual Studio Solution)
Majesty edited this page Jan 12, 2026
·
5 revisions
To compile on Windows, you will need to download and install:
- Git
- Visual Studio 2026 Community (compiler and english language pack)
- vcpkg (package manager)
Make sure to follow full installation of vcpkg, per Official Quickstart execute the following in Powershell:
To open Powershell navigate to your desired directory e.g. C:\ and choose Open PowerShell window here (shift + right click).
Then you can safely proceed with configuring vcpkg:
git clone https://github.com/microsoft/vcpkg
cd vcpkg
.\bootstrap-vcpkg.bat
.\vcpkg integrate installExecute the following command in Powershell with Administrator permission to set vcpkg environment variable:
[System.Environment]::SetEnvironmentVariable('VCPKG_ROOT','C:\vcpkg', [System.EnvironmentVariableTarget]::Machine)cd C:\
git clone --recursive https://github.com/mehah/otclient.gitThe libs are installed automatically following the next step.
-
Open
vc17\otclient.sln. This should launch Visual Studio. -
Choose build configuration from the drop downs (Release and x64).
-
To start compiling go to the menu Build and choose Build Solution.