tip for gstthetauvc on Jetson Xavier NX
credit alex-uam
reference on github issue
problem
I have compiled the gstthetauvc plugin and am attempting to run it on a Jetson Xavier NX, however I receive the error :
ERROR: from element /GstPipeline:pipeline0/GstThetauvcsrc:thetauvcsrc0: Found 1 Theta(s), but none available.
I have successfully gotten it running on a Jetson Xavier AGX, as well as an Ubuntu desktop PC. Just wondering if there are any obvious steps that I’ve missed for the NX? Possibly permission issues?
solution
We managed to find the solution. Turns out it was as simple as setting an environmental variable in bash:
export LD_LIBRARY_PATH=/usr/local/lib
For whatever reason, this is automatically set on Intel based Ubuntu, and the Xavier AGX series board, but not the NX!
other
on my (craig) system, this is my /etc/ld.so.conf.d/libc.conf
cd /etc/ld.so.conf.d/
craig@jetpack-4:/etc/ld.so.conf.d$ ls
aarch64-linux-gnu.conf fakeroot-aarch64-linux-gnu.conf
aarch64-linux-gnu_EGL.conf libc.conf
aarch64-linux-gnu_GL.conf nvidia-tegra.conf
cuda-10-2.conf vpi1.conf
fakechroot-aarch64-linux-gnu.conf
craig@jetpack-4:/etc/ld.so.conf.d$ cat libc.conf
# libc default configuration
/usr/local/lib