Thanks for the hints
Finally I got it to work.
I applied these changes:
- There was a mismatch between MMAPI version and the L4T core package (I renewed the API from this link accordingly: Jetson Linux 35.2.1 | NVIDIA Developer)
- I had
/usr/include/libdrm/drm.hdirectory linked to my project, which now I changed it to/usr/include/drm/drm.h - I already made the whole
/usr/lib/aarch64-linux-gnu/tegraaccessible for my project (usinglink_directoriescommand in cmake), but now I removed it and added the full path to the*.sofiles I am using in the project.
I don’t know which is exactly the root of the issue, but now it is resolved.