Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot find -lv4l2: No such file or directory #8

Open
mvp-cwlin opened this issue Aug 12, 2024 · 1 comment
Open

cannot find -lv4l2: No such file or directory #8

mvp-cwlin opened this issue Aug 12, 2024 · 1 comment

Comments

@mvp-cwlin
Copy link

mvp-cwlin commented Aug 12, 2024

I'm trying to calibrate two ZED X Ones in docker(stereolabs/zed:4.1-tools-devel-jetson-jp6.0.0).
I'm getting error messages while running "make".

[ 10%] Building CXX object CMakeFiles/arguscapture.dir/src/ArgusComponent.cpp.o
[ 25%] Building CXX object CMakeFiles/arguscapture.dir/usr/src/jetson_multimedia_api/samples/common/classes/NvBufSurface.cpp.o
[ 25%] Building CXX object CMakeFiles/arguscapture.dir/src/ArgusBayerCapture.cpp.o
[ 25%] Building CXX object CMakeFiles/arguscapture.dir/src/ArgusCapture.cpp.o
[ 30%] Building CXX object CMakeFiles/arguscapture.dir/src/ArgusV4l2Capture.cpp.o
[ 30%] Building CXX object CMakeFiles/arguscapture.dir/usr/src/jetson_multimedia_api/samples/common/classes/NvApplicationProfiler.cpp.o
[ 35%] Building CXX object CMakeFiles/arguscapture.dir/usr/src/jetson_multimedia_api/samples/common/classes/NvBuffer.cpp.o
[ 40%] Building CXX object CMakeFiles/arguscapture.dir/usr/src/jetson_multimedia_api/samples/common/classes/NvDrmRenderer.cpp.o
[ 45%] Building CXX object CMakeFiles/arguscapture.dir/usr/src/jetson_multimedia_api/samples/common/classes/NvEglRenderer.cpp.o
[ 50%] Building CXX object CMakeFiles/arguscapture.dir/usr/src/jetson_multimedia_api/samples/common/classes/NvElement.cpp.o
[ 55%] Building CXX object CMakeFiles/arguscapture.dir/usr/src/jetson_multimedia_api/samples/common/classes/NvElementProfiler.cpp.o
[ 60%] Building CXX object CMakeFiles/arguscapture.dir/usr/src/jetson_multimedia_api/samples/common/classes/NvJpegDecoder.cpp.o
[ 65%] Building CXX object CMakeFiles/arguscapture.dir/usr/src/jetson_multimedia_api/samples/common/classes/NvJpegEncoder.cpp.o
[ 70%] Building CXX object CMakeFiles/arguscapture.dir/usr/src/jetson_multimedia_api/samples/common/classes/NvLogging.cpp.o
[ 75%] Building CXX object CMakeFiles/arguscapture.dir/usr/src/jetson_multimedia_api/samples/common/classes/NvUtils.cpp.o
[ 80%] Building CXX object CMakeFiles/arguscapture.dir/usr/src/jetson_multimedia_api/samples/common/classes/NvV4l2Element.cpp.o
[ 85%] Building CXX object CMakeFiles/arguscapture.dir/usr/src/jetson_multimedia_api/samples/common/classes/NvV4l2ElementPlane.cpp.o
[ 90%] Building CXX object CMakeFiles/arguscapture.dir/usr/src/jetson_multimedia_api/samples/common/classes/NvVideoDecoder.cpp.o
[ 95%] Building CXX object CMakeFiles/arguscapture.dir/usr/src/jetson_multimedia_api/samples/common/classes/NvVideoEncoder.cpp.o
[100%] Linking CXX shared library libarguscapture.so
/usr/bin/ld: cannot find -lv4l2: No such file or directory
/usr/bin/ld: cannot find -lnvargus_socketclient: No such file or directory
/usr/bin/ld: cannot find -lnvbufsurftransform: No such file or directory
/usr/bin/ld: cannot find -lnvbufsurface: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/arguscapture.dir/build.make:385: libarguscapture.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/arguscapture.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

How can I install/find those missing files?

@Myzhar
Copy link
Member

Myzhar commented Aug 26, 2024

Hi @mvp-cwlin
are you using an official NVIDIA Jetson Docker image as the base?
Normally libraries should be available. Otherwise, you can install them by using the command

sudo apt install nvidia-jetpack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants