Building windows old solution - VowpalWabbit/vowpal_wabbit GitHub Wiki
- Open
vowpalwabbit\vw.sln
in Visual Studio 2017 - Do not retarget projects if prompted
- Set startup project as vw (or the test project)
- Select x64 platform (Configuration Manager>Active solution platform)
- Select x64 as test platform (Test>Test settings>Default Processor Architecture)
- Build solution by clicking Build>Rebuild Solution
Available configurations are "Release" and "Debug". Available platforms are "x64" and "Win32":
msbuild /p:Configuration="Release" /p:Platform="x64" vw.sln
- Open CMake GUI
- Specify the following entries:
CMAKE_TOOLCHAIN_FILE=<vcpkg_root>/scripts/buildsystems/vcpkg.cmake
VCPKG_TARGET_TRIPLET=x64-windows
- Configure
- Choose generator (for example, Visual Studio 15 2017 Win64)
- Generate
- Open Project
mkdir build
cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=<vcpkg_root>\scripts\buildsystems\vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows
.\vowpal_wabbit.sln