I’m looking for the argus_camera application mentioned in the D3 Jetson BSP v5.0.0-pre.3 Release Notes
I installed the nvidia-l4t-jetson-multimedia-api and also ran d3-build-tegra-media-api (as mentioned in the Release Notes).
I’d appreciate any help so that I can get the cameras on my D3 board working.
Here’s the CMakeError.log:
Determining if the pthread_create exist failed with the following output:
Change Dir: /home/dev/jetson_multimedia_api/argus/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_2effb/fast"
/usr/bin/make -f CMakeFiles/cmTC_2effb.dir/build.make CMakeFiles/cmTC_2effb.dir/build
make[1]: Entering directory '/home/dev/jetson_multimedia_api/argus/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_2effb.dir/CheckSymbolExists.c.o
/usr/bin/cc -fPIC -o CMakeFiles/cmTC_2effb.dir/CheckSymbolExists.c.o -c /home/dev/jetson_multimedia_api/argus/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_2effb
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2effb.dir/link.txt --verbose=1
/usr/bin/cc -fPIC -rdynamic CMakeFiles/cmTC_2effb.dir/CheckSymbolExists.c.o -o cmTC_2effb
CMakeFiles/cmTC_2effb.dir/CheckSymbolExists.c.o: In function `main':
CheckSymbolExists.c:(.text+0x14): undefined reference to `pthread_create'
CheckSymbolExists.c:(.text+0x18): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_2effb.dir/build.make:97: recipe for target 'cmTC_2effb' failed
make[1]: *** [cmTC_2effb] Error 1
make[1]: Leaving directory '/home/dev/jetson_multimedia_api/argus/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_2effb/fast' failed
make: *** [cmTC_2effb/fast] Error 2
File /home/dev/jetson_multimedia_api/argus/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef pthread_create
return ((int*)(&pthread_create))[argc];
#else
(void)argc;
return 0;
#endif
}
Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /home/dev/jetson_multimedia_api/argus/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_daddc/fast"
/usr/bin/make -f CMakeFiles/cmTC_daddc.dir/build.make CMakeFiles/cmTC_daddc.dir/build
make[1]: Entering directory '/home/dev/jetson_multimedia_api/argus/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_daddc.dir/CheckFunctionExists.c.o
/usr/bin/cc -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_daddc.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c
Linking C executable cmTC_daddc
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_daddc.dir/link.txt --verbose=1
/usr/bin/cc -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_daddc.dir/CheckFunctionExists.c.o -o cmTC_daddc -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_daddc.dir/build.make:97: recipe for target 'cmTC_daddc' failed
make[1]: *** [cmTC_daddc] Error 1
make[1]: Leaving directory '/home/dev/jetson_multimedia_api/argus/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_daddc/fast' failed
make: *** [cmTC_daddc/fast] Error 2
How can I fix these to get the argus_camera working?
Thanks,
Mechi
I’m now trying to use the latest - JetPack 5.0.2 - which I downloaded from the site.
I’ve been following the directions in the D3 Jetson NX Carrier Bringup (dated Nov 4 '22).
I installed everything successfully using the SDK Manager.
I tried to flash the d3-xavier-16x-fpdlink.dtb using the command:
sudo ./flash.sh -r -k kernel-dtb -d ./d3-xavier-16x-fpdlink.dtb jetson-xavier mmcblk0p1
CONFIDENTIALITY: The content of this email message and any files transmitted with it is confidential and/or privileged and is intended for the recipient(s) specified in message only. It is strictly forbidden to share any part of this message with any third party, without a written consent of the sender. If you received this message by mistake, please reply to this message and follow with its deletion, so that we can ensure such a mistake does not occur in the future.
Hi,
So you use AGX Xavier, not Jetson Nano. The category is in Jetson Nano so I thought you use Jetson Nano. Do you use Xavier developer kit or D3’s carrier board?
I ran d3-build-tegra-media-api and received the following:
Warning: Target Tegra Multi Media API version is unknown for
this L4T version. Will continue without explicit
versioning! (This can break other packages)
Reading package lists… Done-c to cancel)
Building dependency tree
Reading state information… Done
build-essential is already the newest version (12.4ubuntu1).
libjpeg-dev is already the newest version (8c-2ubuntu8).
libv4l-dev is already the newest version (1.14.2-1).
pkg-config is already the newest version (0.29.1-0ubuntu2).
cmake is already the newest version (3.10.2-1ubuntu2.18.04.2).
libexpat1-dev is already the newest version (2.2.5-3ubuntu0.9).
libgstreamer1.0-dev is already the newest version (1.14.5-0ubuntu1~18.04.2).
libgtk-3-dev is already the newest version (3.22.30-1ubuntu4).
libx11-dev is already the newest version (2:1.6.4-3ubuntu0.4).
gcc-6 is already the newest version (6.5.0-2ubuntu1~18.04).
nvidia-l4t-jetson-multimedia-api is already the newest version (32.7.3-20221122092958).
0 upgraded, 0 newly installed, 0 to remove and 217 not upgraded.
~/jetson_multimedia_api/argus ~
CMake Error at CMakeLists.txt:37 (add_subdirectory):
add_subdirectory given source “samples/l4t_droid” which is not an existing
directory.
CMake Error at CMakeLists.txt:38 (add_subdirectory):
add_subdirectory given source “samples/l4tdroid_App” which is not an
existing directory.
– Configuring incomplete, errors occurred!
See also “/home/dev/jetson_multimedia_api/argus/build/CMakeFiles/CMakeOutput.log”.
See also “/home/dev/jetson_multimedia_api/argus/build/CMakeFiles/CMakeError.log”.
I don’t need the l4tdroid libraries…
But how do I fix the version mis-match?
I finally reinstalled the L4T nvidia version 32.7.1:
a) sudo apt-get install nvidia-l4t-3d-core=32.7.1-20220219090344
b) sudo apt-get install nvidia-l4t-cuda=32.7.1-20220219090344
c) sudo apt-get install nvidia-l4t-multimedia-utils=32.7.1-20220219090344
d) sudo apt-get install nvidia-l4t-camera=32.7.1-20220219090344
e) sudo apt-get install nvidia-l4t-multimedia=32.7.1-20220219090344
f) sudo apt-get install **nvidia-l4t-jetson-multimedia-api**=32.7.1-20220219090344
and then tried to run the d3-build-tegra-media-api, but got the following errors:
/usr/bin/ld: warning: libcuda.so.1, needed by //usr/lib/aarch64-linux-gnu/tegra/libnvscf.so, not found (try using -rpath or -rpath-link)