Tracing that error code in the source, I see this:
case sl::ERROR_CODE::CORRUPTED_SDK_INSTALLATION: /**< The SDK wasn't able to load its dependencies or somes assets are missing, the installer should be launched. */
But when I run the ZED Diagnostic tool, it shows no installation errors.
I’m actually the same person that reported the CUDA 12.1 path problem. I discovered that when working to get the ZEDSamples to compile. Interestingly the precompiled tools/samples do run correctly with CUDA 12.1.
I’m unblocked now that I’ve moved back to CUDA 11.8, but I’m happy to try something on my end with 12.1 if you have suggestions.
I’m pretty sure I rebooted after installing 12.1, but I’m not 100%. One thing I did notice is that when I downgraded to CUDA 11.8, that installer set both CUDA_PATH and CUDA_PATH_V11_8. I wonder if the CUDA installer only sets the general CUDA_PATH variable if it already exists?
I’ll try to find some time in the next day or so to go through the install process again and see if I can figure out what went wrong.