Hi,

I can run the RGB-Image Align example as expected using the Python example script. However when I run the C++ version of the example I get this error shown bellow.

I have checked that I have the correct project properties pointing to the correct paths for running the scripts. I have also tested with both depthai-core version 2.29 and 2.30 but I still get the error. I am using OpenCV 4.10. However, if I run any other depthai C++ code it runs perfectly.

I don't think its a Visual Studio setup issue otherwise no other depthai scripts would run in the same project with the same properties. This issue only happens when I am trying to use the Thermal-RGB Align example. Your help in this regard is highly appreciated.

Thanks,
Yishu

I found the solution. It was being caused because Windows was referring to Depthai-Core 2.25 during runtime even though the project properties were pointing to Depthai-core 2.29.

This happened because the environment variables had the path to depthai 2.25. Once i updated the environment variables with the correct path to depthai 2.29 it worked as expected.

Thanks,
Yishu