-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor Windows documentation #12013
Changes from 4 commits
b87bea6
3e67c2b
1923071
32f5255
7c5e356
3b3f24f
dce9942
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,13 @@ | ||
# Windows 8.1 & Windows 10 Installation | ||
# Windows 10 & Windows 11 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 v3.8+](https://cmake.org/download/) and Visual Studio 2015 / 2017: | ||
librealsense shall be built on Windows using [CMake v3.8+](https://cmake.org/download/) and Visual Studio 2015 / 2017 / 2019 / 2022: | ||
(MSVC2013 and older are not fully compatible with the C++11 feature-set). | ||
maloel marked this conversation as resolved.
Show resolved
Hide resolved
|
||
<a name="cmake_snapshot_win"> | ||
![Windows CMake](./img/windows_cmake.png) | ||
</a> | ||
![link text][Win_cmake_image] | ||
|
||
Don't forget to check `BUILD_EXAMPLES` if you wish to use librealsense samples. | ||
![Windows CMake](./img/windows_cmake.png) | ||
|
||
## Windows 8.1: | ||
When working on Windows 8.1, make sure you have [KB3075872](https://support.microsoft.com/en-us/kb/3075872) and [KB2919355](https://support.microsoft.com/en-us/kb/2919355) installed. These patches are addressing issues specific to 8.1 video drivers, that were later resolved in Windows 10. | ||
Don't forget to check `BUILD_EXAMPLES` if you wish to use librealsense samples. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Down in the document please update according to this: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A build number and screenshot updated. |
||
|
||
## Enabling metadata on Windows | ||
Metadata attributes is an advanced capability provided by librealsense. | ||
|
@@ -25,14 +20,16 @@ Prerequisites: | |
|
||
#### Installation: | ||
- Verify OS version: | ||
- Run `winver` command from desktop/terminal - "Version 1607" or later is expected. | ||
- Run `winver` command from desktop/terminal - "Windows 10 (Build 15063 or later, 17763+ recommended) or Windows 11" is expected. | ||
|
||
![winver](./img/winver_Win10.png) | ||
|
||
- Install WinSDK ver10: | ||
- Navigate to "Control Panel" -> "Programs and Features" | ||
- Double-click on "Microsoft Visual Studio" and select "Modify" | ||
- Check that SDK version 10.0.10586 or later is present, install if needed: | ||
![winsdk](./img/WinSDK_10.0.10586.png) | ||
|
||
- ![winsdk](./img/WinSDK_10.0.10586.png) | ||
|
||
##### Update Registry: | ||
- Windows OS requires a dedicated registry entry to be present for each unique video device in order to provide metadata. | ||
|
@@ -92,3 +89,9 @@ When set, the compiler will check the target WinSDK version, and abort the build | |
|
||
**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](./img/win_retarget_platform.png) | ||
|
||
## Troubleshooting Issues | ||
|
||
| Error | Cause | Correction Steps | | ||
|-----------------------------------------|----------------------------------|-----------------------------------------------------------------------------------------------------------------------------| | ||
| The camera is not recognized by the SDK | The SDK has not access to camera | Make sure that "Allow desktop apps to access your camera" setting is set to on in Windows OS (Setting -> Privacy -> Camera) | | ||
maloel marked this conversation as resolved.
Show resolved
Hide resolved
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove 2015
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also we know Cmake 3.8 is not supported, we need to make sure which one is supported and list it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According the test that we performed CMake 3.14 is minimal supported version.
Are you think we need perform other test to validate it? Maybe, install CMake 3.13 locally and build?