CaptureSession fails to create after updating to L4T35.4.1/JP5.1.2, seems to be related to the compiler

I had a working camera system on L4T35.3.1/Jetpack 5.1.1 with two IMX568 on a Jetson Orin NX. We had to update to L4T35.4.1/Jetpack5.1.2, now the captureSession fails to create. The camera devices are recognized.
I tried some jetson_multimedia_api samples and they work. They are compiled using gcc9. We compiled our project in the past with clang10, which I would prefer to keep as compiler. I realized, that that seems to be the difference and after compiling the samples with clang they throw the same error with creating the capture session.
Can that be? What changed between L4t35.3.1 and L4t35.4.1, so that the error appears? Did I misinterpret the compilers as the source of the error and is there something else changed? And can I solve that while keeping clang?
I would be happy about some help.

Do you recompile it base on r35.4.1?

Yes. I updated the version by flashing the Jetson new with the newer L4T/JP version.

I mean do you download the MMAPI and recompile it?

Okay I found the problem.
The libargus version did not change, but the header file CameraProvider.h from Argus did change and added the function “setSyncSensorSessionsCount” where “createCaptureSession” was before. And because the version of argus did not change, we did not update the header files.
Which solves the problem, but it would be important to be able to notice such changes.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.