Skip to content

Commit

Permalink
PR IntelRealSense#11217 from hsuys: docs for MSVC 2022
Browse files Browse the repository at this point in the history
  • Loading branch information
maloel committed Dec 15, 2022
2 parents b761504 + f06a293 commit bac0bea
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions doc/distribution_windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,33 @@ After plugging the camera into a USB3 port, you should be able to see the newly
* Click through several simple steps of the installer:
1. Intel® RealSense™ SDK 2.0 is distributed under the [Apache 2.0](../LICENSE) permissive open-source license:

![Step 1](./img/win_step1.PNG)
![Step 1](./img/win_step1.PNG)

2. The SDK includes the RealSense Viewer, as well as development packages for various programming languages:

![Step 2](./img/win_step2.PNG)
![Step 2](./img/win_step2.PNG)

3. Approve adding two shortcuts to your desktop:

![Step 3](./img/win_step3.PNG)
![Step 3](./img/win_step3.PNG)

4. Review before installing:

![Step 4](./img/win_step4.PNG)
![Step 4](./img/win_step4.PNG)

5. Open the `Intel® RealSense™ Samples` solution:

5. Open the `Intel® RealSense™ Samples`solution:
Note: Visual Studio 2022 uses the 64-bit `Program Files` folder rather than the 32-bit `Program Files (x86)` where librealsense is located. </br>
To fix this, open `Program Files (x86)/Intel RealSense SDK 2.0/intel.realsense.prop` (elevated permissions may be needed) and change librealsenseSDK macro: </br>

![Step 5](./img/win_shortcuts.PNG)
* `<librealsenseSDK>$(ProgramFiles)\Intel RealSense SDK 2.0</librealsenseSDK>` </br>
to </br>
* `<librealsenseSDK>$(MSBuildProgramFiles32)\Intel RealSense SDK 2.0</librealsenseSDK>` </br>

![Step 5](./img/win_shortcuts.PNG)

6. Press `F5` to compile and run the demos:

![Step 6](./img/win_samples.PNG)
![Step 6](./img/win_samples.PNG)

7. Success!

0 comments on commit bac0bea

Please sign in to comment.