zed-sdk
zed-sdk copied to clipboard
SDK ver5.0.1 dont work for Csharp development
Preliminary Checks
- [x] This issue is not a duplicate. Before opening a new issue, please search existing issues.
- [x] This issue is not a question, feature request, or anything other than a bug report directly related to this project.
Description
Title: Version Mismatch: ZED C# NuGet 5.0.0 Fails with SDK 5.0.1
Bug Description
The ZED SDK v5.0.1 and CUDA v12.8 are correctly installed and function perfectly with official applications like "ZED Depth Viewer" and with Python programs.
However, when using the ZED C# API NuGet package version 5.0.0, the application fails to run. This indicates a compatibility issue or a breaking change between the C# wrapper (v5.0.0) and the newer SDK library (v5.0.1), likely resulting in an EntryPointNotFoundException at runtime.
Environment
- ZED SDK Version: 5.0.1
- ZED C# API (NuGet) Version: 5.0.0
- CUDA Version: 12.8
- Operating System: Windows 11
- .NET Version: NET 8.0
Steps to Reproduce
- Install CUDA 12.8.
- Install ZED SDK 5.0.1.
- Confirm the installation is working using "ZED Depth Viewer".
- Create a new C# project.
- Install the
Stereolabs.zedNuGet package, specifically version 5.0.0. - Write basic code to initialize the camera.
- Build and run the application.
Steps to Reproduce
...
Expected Result
The C# application should initialize the camera and run without errors.
Actual Result
"An exception was thrown: 'System.DllNotFoundException' in Stereolabs.zed.dll" "An unhandled exception of type 'System.DllNotFoundException' occurred in Stereolabs.zed.dll" "Unable to load DLL 'sl_zed_c.dll' or one of its dependencies: The specified module could not be found. (0x8007007F)"
ZED Camera model
ZED Mini
Environment
ZED SDK Version: 5.0.1
ZED C# API (NuGet) Version: 5.0.0
CUDA Version: 12.8
Operating System: Windows 11
.NET Version: NET 8.0
Anything else?
No response