From 51e41b99485edf1f1613b6641b48866dbf5dace3 Mon Sep 17 00:00:00 2001 From: hsuys <30935677+hsuys@users.noreply.github.com> Date: Wed, 14 Dec 2022 11:56:10 -0800 Subject: [PATCH 1/3] Update distribution_windows.md Fix path issue with VS2022. Ref: #11171 --- doc/distribution_windows.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/distribution_windows.md b/doc/distribution_windows.md index 6dba8a75a9..10648ba3be 100644 --- a/doc/distribution_windows.md +++ b/doc/distribution_windows.md @@ -37,6 +37,12 @@ After plugging the camera into a USB3 port, you should be able to see the newly ![Step 4](./img/win_step4.PNG) +* Note: When building with Visual Studio 2022, open the intel.realsense.prop file under Intel RealSense SDK 2.0 folder with elevated permission and change librealsenseSDK macro:
+ + * `$(ProgramFiles)\Intel RealSense SDK 2.0`
+ to
+ * `$(MSBuildProgramFiles32)\Intel RealSense SDK 2.0`
+ 5. Open the `Intel® RealSense™ Samples`solution: ![Step 5](./img/win_shortcuts.PNG) From 540247b5ffd66c672f829a95dc46d9d01e05067e Mon Sep 17 00:00:00 2001 From: hsuys <30935677+hsuys@users.noreply.github.com> Date: Wed, 14 Dec 2022 12:12:41 -0800 Subject: [PATCH 2/3] Update distribution_windows.md --- doc/distribution_windows.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/distribution_windows.md b/doc/distribution_windows.md index 10648ba3be..5a61132290 100644 --- a/doc/distribution_windows.md +++ b/doc/distribution_windows.md @@ -37,7 +37,7 @@ After plugging the camera into a USB3 port, you should be able to see the newly ![Step 4](./img/win_step4.PNG) -* Note: When building with Visual Studio 2022, open the intel.realsense.prop file under Intel RealSense SDK 2.0 folder with elevated permission and change librealsenseSDK macro:
+* Note: For Visual Studio 2022, open the intel.realsense.prop file under Intel RealSense SDK 2.0 folder with elevated permission. Change librealsenseSDK macro:
* `$(ProgramFiles)\Intel RealSense SDK 2.0`
to
From f06a293aa4eea4f222884fbd28c73afe64d61018 Mon Sep 17 00:00:00 2001 From: Eran Date: Thu, 15 Dec 2022 09:58:34 +0200 Subject: [PATCH 3/3] Update distribution_windows.md --- doc/distribution_windows.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/doc/distribution_windows.md b/doc/distribution_windows.md index 5a61132290..018c00d811 100644 --- a/doc/distribution_windows.md +++ b/doc/distribution_windows.md @@ -23,32 +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: -* Note: For Visual Studio 2022, open the intel.realsense.prop file under Intel RealSense SDK 2.0 folder with elevated permission. Change librealsenseSDK macro:
+ Note: Visual Studio 2022 uses the 64-bit `Program Files` folder rather than the 32-bit `Program Files (x86)` where librealsense is located.
+ To fix this, open `Program Files (x86)/Intel RealSense SDK 2.0/intel.realsense.prop` (elevated permissions may be needed) and change librealsenseSDK macro:
* `$(ProgramFiles)\Intel RealSense SDK 2.0`
to
* `$(MSBuildProgramFiles32)\Intel RealSense SDK 2.0`
- -5. Open the `Intel® RealSense™ Samples`solution: -![Step 5](./img/win_shortcuts.PNG) + ![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!