Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
Windows 8.1 & Windows 10 Installation

Note: Due to the USB 3.0 translation layer between native hardware and virtual machine, the librealsense team does not recommend or support installation in a VM.

librealsense shall be built on Windows using CMake and Visual Studio 2015 / 2017: (MSVC2013 and older are not fully compatible with the C++11 feature-set).

Windows CMake

![link text][Win_cmake_image]

Don't forget to check BUILD_EXAMPLES if you wish to use librealsense samples.

Windows 8.1:

When working on Windows 8.1, make sure you have KB3075872 and KB2919355 installed. These patches are addressing issues specific to 8.1 video drivers, that were later resolved in Windows 10.

Enabling metadata on Windows

Metadata attributes is an advanced capability provided by librealsense. Read more on this feature in ./frame_metadata.md "link". Follow the instructions to enable metadata generation:

Prerequisites:

Installation:

Update Registry:
Use automation script:
Modifying the registry manually

In case the script cannot be executed due to permissions, or other Host-related issue please follow the instructions to update the registry manually:

Modifying the Windows Registry:

Repeat the procedure for all the additional RealSense devices (e.g. Intel® RealSense™ Camera SR300 RGB)

Compiling Librealsense with Metadata support:

During compilation the library will automatically detect and enable/disable metadata functionality according to the WinSDK version selected. In case the installed WinSDK doesn't expose metadata the user will be notified that the build does not include metadata generation: Librealsense notification: Featuring UVC Metadata requires WinSDK 10.0.10586.0 toolset. The library will be compiled without the metadata support!

In order to ensure compilation with metadata support check the ENFORCE_METADATA in the Cmake configuration stage. When set, the compiler will check the target WinSDK version, and abort the build if it is not compatible with metadata requirements.

Note In case of multiple WinSDK version installed, CMake automatically selects the latest version of SDK. In some cases, however, the automatic selection may fail. Then you need to manually retarget the solution for the proper WinSDK version:

win_retarget_platform