-
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
Hello-World xcopy error #11171
Comments
Hi @KirkPen Windows has two program directories, 'Program Files' and 'Program Files (x86)' The RealSense SDK 2.0 installs to Program Files (x86) on a Windows computer. The realsense2.dll file is located in the
|
Why does it look for it there? That is what needs to be fixed. That is why I made this ticket for you. |
I will highlight this issue to my Intel RealSense colleagues. Thanks very much for your patience! |
Please check the path in the project property page -> Build-Events -> Post-Built event. If the path contains macro variable (i.e., librealsenseSDK), please check path of the variable as well. Thank you. Attachment(s): |
The librealsenseSDK path is based on the ProgramFiles path and it looks like VC2022 has changed the ProgramFiles directory from "Program Files (x86)" to "Program Files" The macro is defined in the intel.realsense.prop file under Intel RealSense SDK2.0 folder. After that, the project should be built correctly on vc2022. Attachment(s): |
Thank you, that did it. I did spend some time trying to make the enviorment variable for programfiles (x86) to work but it did not like it. |
@KirkPen It's great to hear that you had success! @RealSenseCustomerSupport Thanks so much for helping @KirkPen |
Hi @KirkPen Do you require further assistance with this case, please? Thanks! |
No i edit the file. Can you get them to update to fix or put a note in
about it?
…On Wed, Dec 14, 2022 at 2:08 AM MartyG-RealSense ***@***.***> wrote:
Hi @KirkPen <https://github.com/KirkPen> Do you require further
assistance with this case, please? Thanks!
—
Reply to this email directly, view it on GitHub
<#11171 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJCTE5PN33KETLDJU7CQW5DWNGMB3ANCNFSM6AAAAAASUKE55Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I have passed your suggestion to update the intel.realsense.prop file to @RealSenseCustomerSupport - thanks again! |
Fix path issue with VS2022. Ref: IntelRealSense#11171
A proposal has been submitted to the RealSense developer team to provide compatibility with VS2022 in a future SDK release, as described at hsuys@51e41b9 |
Update: the change has been merged into the RealSense SDK so that it will be in the next SDK release, as described at #11217 |
Case closed due to the proposed change having been merged into the RealSense SDK to be available in an upcoming release. |
Thank you.
…On Wed, Dec 28, 2022 at 9:33 AM MartyG-RealSense ***@***.***> wrote:
Case closed due to the proposed change having been merged into the
RealSense SDK to be available in an upcoming release.
—
Reply to this email directly, view it on GitHub
<#11171 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJCTE5JQPY36WKXTWP2UD3DWPR2YLANCNFSM6AAAAAASUKE55Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
| Camera Model | {D435i} |
| Firmware Version | (Open RealSense Viewer --> Click info) |
| Operating System & Version | Win (10)
| Kernel Version (Linux Only) | |
| Platform | PC
| SDK Version | 2.51.1.4348 |
| Language | C++ |
| Segment | {Robot |
Issue Description
Trying to build, debug in vs2022 the xcopy tries to copy from a path that does not exsist.
Error MSB3073 The command "xcopy /y "C:\Program Files\Intel RealSense SDK 2.0\bin\x64\realsense2.dll" "C:\Program Files (x86)\Intel RealSense SDK 2.0\samples\x64\Debug"
:VCEnd" exited with code 4. hello-realsense C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets 159
The text was updated successfully, but these errors were encountered: