Qt Creator - Example camera project: Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
-
Where do I get libvdpau_nvidia.so?
- QT Version: 6.7.3
- Device: NVIDIA Jetson Orin Nano (with JetPack 6)
- O.S.: Ubuntu 22.04.5 LTS
- Camera Connector: CSI (Camera Serial Interface)
Hello, I am trying to run your 'camera' project example on the NVIDIA Jetson Orin Nano device.
When I run the the program, I get the error shown in the subject of this message. The QT example camera application launches but it won't display anything from the camera. I verified through the terminal that the CSI camera is connected and working by using the command: nvgstcapture-1.0
Application Output:
19:47:07: Starting /home/xxxxxx/Qt/Examples/Qt-6.7.3/multimedia/camera/build/Desktop_Qt_6_7_3-Debug/camera... Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
More information:
xxxxx@xxxxxx-nvidia:/lib/aarch64-linux-gnu$ find libvdpau* libvdpau.so libvdpau.so.1 libvdpau.so.1.0.0
Thank you for the help
-
Hi and welcome to devnet,
What about
/usr/lib
? -
@SGaist
oh wow /usr/lib/libvdpau_nvidia.so exists!
How do I get QT Creator to find it? -
@QTDeveloper2023 said in Qt Creator - Example camera project: Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory:
How do I get QT Creator to find it?
The loader should actually look there by default. Try to add that folder to LD_LIBRARY_PATH env variable (in Run config in QtCreator).
-
This post is deleted!
-
@SGaist It turns out that the /usr/lib/libvdpau_nvidia.so is a symlink to a non-existing file.
Where do I get libvdpau_nvidia.so?Thank you
-
@QtFriend2024 are you sure your NVIDIA setup is complete ?
-
@SGaist I followed the setup guide: https://developer.nvidia.com/embedded/learn/get-started-jetson-orin-nano-devkit
-
What is the exact name of the missing file ?