This guide will help you build High Fidelity if you’re using a system with Windows 64 bit. The prerequisites will require about 10 GB of space on your drive.
We use Visual Studio 2017 and Qt 5.10.1. If you are upgrading from Visual Studio 2013 and Qt 5.6.2, do a clean uninstall of those versions before going through this guide.
On This Page:
If you don’t have the Community or Professional edition of Visual Studio 2017:
If you already have Visual Studio installed and need to add Python:
If you don't wish to use the Python installation bundled with Visual Studio, you can download the installer here. Ensure you get version 3.6.6 or higher.
Note: Installing the Sources is optional but recommended if you have room for them (~2GB).
Go to Control Panel > System > Advanced System Settings > Environment Variables > New... (or search “Environment Variables” in Start Search).
Run Command Prompt from Start. Type and run the following commands:
cd "%HIFI_DIR%" mkdir build cd build cmake .. -G "Visual Studio 15 Win64"
%HIFI_DIR% is the directory for the High Fidelity repository.
%HIFI_DIR%\build\hifi.slnusing Visual Studio.
Create an environment variable named
_NO_DEBUG_HEAP. Go to Control Panel > System > Advanced System Settings > Environment Variables > New... (or search “Environment Variables” in Start Search).
In Visual Studio, right-click "Interface" under the Apps folder in Solution Explorer and select "Set as Startup Project". Run Debug > Start Debugging from the menu bar.
Now, you should have a full build of High Fidelity and be able to run the Interface using Visual Studio. Please check our documentation for more information on the programming workflow.
You can also run Interface by launching it from command line or File Explorer from
If you face any problems once you start trying to generate build files using CMake, there are couple of things you could try to solve any issues.
%HIFI_DIR%\builddirectory. Verify that your
VCPKG_ROOTenvironment variable is set and pointing to the correct location. Verify that the file
QT_CMAKE_PREFIX_PATHenvironment variable is set correctly.