-
Download and install Visual Studio Community 2017.
1.1. Desktop development with C++ workload should be selected when installing.
1.2. SDK 10.0.17763.0 and 8.1 should be selected when installing.
-
Download and install CMake.
-
Download and install vcpkg.
-
In vcpkg, you need to install the following libraries (use triplet x86-windows-static in all cases):
- asio
- gtest
- libvpx
- libyuv
- openssl
- opus
- protobuf
- qt5-base
- qt5-translations
- qt5-winextras (only for Windows)
- rapidjson
- rapidxml
- sqlite3
- zstd
-
Go to the source directory and run the following commands:
mkdir build
cd build
cmake ..\ -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE=<vcpkg_path>\scripts\buildsystems\vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x86-windows-static
(replace <vcpkg_path> with real path to vcpkg)You can also use CMake GUI for these purposes.
After these actions, the aspia.sln file will be generated in directory "build". -
Open aspia.sln in Visual Studio and build the project.
- Download, unpack and add to PATH
sw
tool from https://github.com/SoftwareNetwork/binaries - Run
sw build source
in the project root. Binaries will be available under.sw
directory. - To generate VS solution, run
sw generate source
.