Install Windows SDK v7.1, WinDDK v7.1, and then Visual C++ Compiler 2010 SP1. Install OpenSSL with the link specified in the official guide.
As vcvarsall.bat
won't recognize amd64, you'll need to run a slightly different command to initialize the build environment:
"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 /Release
Build libcurl using the official instructions (don't forget to change build environment to build x86!)
Then, build Qt 5.6.3 with this configuration (nmake can be used however jom is much faster):
configure -release -nomake examples -nomake tests -opensource -opengl desktop -confirm-license -platform win32-msvc2010 -prefix <output dir>
jom
jom install
With amd64 vc10 build environment, run this from the root of VBox source:
cscript configure.vbs --with-vc="C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC" --with-vc-common="C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7" --with-mingw-w64="<path to mingw>" --with-libsdl="<path to libsdl>" --with-openssl="<path to OpenSSL-Win64>" --with-openssl32="<path to OpenSSL-Win32>" --with-libcurl="<path to libcurl-vc10-x64-release-dll-ipv6-sspi-winssl>" --with-libcurl32="<path to libcurl-vc10-x86-release-dll-ipv6-sspi-winssl>" --with-qt5="<path to x64build>" --with-python=C:\Python27
Setup test certificate, add as "Personal" in the build machine (TODO: maybe make signtool use file instead of local store?) and as Root CA in the target machine.
Create a "LocalConfig.kmk" file with the following contents:
VBOX_WITH_TESTCASES :=
VBOX_WITH_VALIDATIONKIT :=
VBOX_WITH_ADDITIONS :=
VBOX_WITH_STATISTICS :=
VBOX_PATH_SIGN_TOOLS=C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64
VBOX_INF2CAT="C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x86\inf2cat.exe"
VBOX_PATH_WISUMINFO=C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64\WiSumInf.vbs
VBOX_SIGNING_MODE=test
VBOX_WITHOUT_HARDENING=1
VBOX_WITH_VALIDATIONKIT=
VBOX_WITH_WEBSERVICES=
VBOX_WITH_RAW_MODE=
Then, initiate the build process:
env.bat
kmk
Run this command with the build environment:
kmk_ash tools\bin\gen-slickedit-workspace.sh --windows-host --slickedit-config "<path to Documents folder>/My SlickEdit Config"