zed-sdk icon indicating copy to clipboard operation
zed-sdk copied to clipboard

SDK ver5.0.1 dont work for Csharp development

Open Kibry-spin opened this issue 4 months ago • 1 comments

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

  1. Install CUDA 12.8.
  2. Install ZED SDK 5.0.1.
  3. Confirm the installation is working using "ZED Depth Viewer".
  4. Create a new C# project.
  5. Install the Stereolabs.zed NuGet package, specifically version 5.0.0.
  6. Write basic code to initialize the camera.
  7. Build and run the application.

Image

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

Kibry-spin avatar Jun 14 '25 06:06 Kibry-spin