Exception while running image viewer sample cpp (ZED SDK 4)

i followed all the steps to run the image viewer sample on visual studio 2019 but i keep getting this exception .i tried running VS as administrator and uncheck the break when this exception type happened option but still nothing changes.


Hi,

Can you build your program in RelWithDebInfo configuration ? (Debug might not work). You’ll get more information.
Also, can the log you see printed be found in the code ?

Regards,

Antoine Lassagne
Senior Developer - ZED SDK
Stereolabs Support

this is what i get when i build the program in RelWithDebInfo


and this is the part of the code that has the print statement

Are you running this sample ? zed-sdk/object detection/image viewer at master · stereolabs/zed-sdk · GitHub
If so, make sure you use the latest version, with the latest version of the SDK. If you use SDK 3.8.2, use the 3.8.2 tag too on github.

Also, what happens when you run ZED_Depth_Viewer ? Can you share the diagnostic from ZED_Diagnostics ?

i’m using the 4.0 image viewer sample with SDK 4.0. i am not connected to a real camera instead i am using an svo file

What happens when you run ZED_Depth_Viewer ? Can you share the diagnostic from ZED_Diagnostics ?