Cuda 12.4
johnnynunez opened this issue · comments
Johnny commented
(base) johnny@johnny-jetson:~/Projects$ git clone https://github.com/dusty-nv/jetson-utils
Cloning into 'jetson-utils'...
remote: Enumerating objects: 3505, done.
remote: Counting objects: 100% (1271/1271), done.
remote: Compressing objects: 100% (141/141), done.
remote: Total 3505 (delta 1169), reused 1141 (delta 1130), pack-reused 2234
Receiving objects: 100% (3505/3505), 1.43 MiB | 5.98 MiB/s, done.
Resolving deltas: 100% (2474/2474), done.
(base) johnny@johnny-jetson:~/Projects$ cd jetson-utils/
(base) johnny@johnny-jetson:~/Projects/jetson-utils$ mkdir build
(base) johnny@johnny-jetson:~/Projects/jetson-utils$ cd build/
(base) johnny@johnny-jetson:~/Projects/jetson-utils/build$ cmake ../
make -j$(nproc)
sudo make install
sudo ldconfig
CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- jetson-utils: building as standalone
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/ccache/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- using patched FindCUDA.cmake
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found CUDA: /usr/local/cuda-12.4 (found version "12.4")
-- CUDA version: 12.4
-- CUDA 12.4 detected (aarch64), enabling SM_53 SM_62
-- CUDA 12.4 detected (aarch64), enabling SM_72
-- CUDA 12.4 detected (aarch64), enabling SM_87
-- system arch: aarch64
-- output path: /home/johnny/Projects/jetson-utils/build/aarch64
-- distro ID: Ubuntu
-- distro version: 22.04
-- distro codename: jammy
-- nvbuf_utils: NVBUF_UTILS-NOTFOUND
-- NVMM zero-copy memory: ENABLE_NVMM=OFF
-- Copying /home/johnny/Projects/jetson-utils/alphanum.h
-- Copying /home/johnny/Projects/jetson-utils/camera/gstCamera.h
-- Copying /home/johnny/Projects/jetson-utils/camera/v4l2Camera.h
-- Copying /home/johnny/Projects/jetson-utils/codec/gstBufferManager.h
-- Copying /home/johnny/Projects/jetson-utils/codec/gstDecoder.h
-- Copying /home/johnny/Projects/jetson-utils/codec/gstEncoder.h
-- Copying /home/johnny/Projects/jetson-utils/codec/gstUtility.h
-- Copying /home/johnny/Projects/jetson-utils/codec/gstWebRTC.h
-- Copying /home/johnny/Projects/jetson-utils/codec/nvbuf_utils.h
-- Copying /home/johnny/Projects/jetson-utils/commandLine.h
-- Copying /home/johnny/Projects/jetson-utils/csvReader.h
-- Copying /home/johnny/Projects/jetson-utils/csvReader.hpp
-- Copying /home/johnny/Projects/jetson-utils/csvWriter.h
-- Copying /home/johnny/Projects/jetson-utils/csvWriter.hpp
-- Copying /home/johnny/Projects/jetson-utils/cuda/cudaAlphaBlend.cuh
-- Copying /home/johnny/Projects/jetson-utils/cuda/cudaBayer.h
-- Copying /home/johnny/Projects/jetson-utils/cuda/cudaColormap.h
-- Copying /home/johnny/Projects/jetson-utils/cuda/cudaColorspace.h
-- Copying /home/johnny/Projects/jetson-utils/cuda/cudaCrop.h
-- Copying /home/johnny/Projects/jetson-utils/cuda/cudaDraw.h
-- Copying /home/johnny/Projects/jetson-utils/cuda/cudaFilterMode.cuh
-- Copying /home/johnny/Projects/jetson-utils/cuda/cudaFilterMode.h
-- Copying /home/johnny/Projects/jetson-utils/cuda/cudaFont.h
-- Copying /home/johnny/Projects/jetson-utils/cuda/cudaGrayscale.h
-- Copying /home/johnny/Projects/jetson-utils/cuda/cudaMappedMemory.h
-- Copying /home/johnny/Projects/jetson-utils/cuda/cudaMath.h
-- Copying /home/johnny/Projects/jetson-utils/cuda/cudaNormalize.h
-- Copying /home/johnny/Projects/jetson-utils/cuda/cudaOverlay.h
-- Copying /home/johnny/Projects/jetson-utils/cuda/cudaPointCloud.h
-- Copying /home/johnny/Projects/jetson-utils/cuda/cudaRGB.h
-- Copying /home/johnny/Projects/jetson-utils/cuda/cudaResize.h
-- Copying /home/johnny/Projects/jetson-utils/cuda/cudaUtility.h
-- Copying /home/johnny/Projects/jetson-utils/cuda/cudaVector.h
-- Copying /home/johnny/Projects/jetson-utils/cuda/cudaWarp.h
-- Copying /home/johnny/Projects/jetson-utils/cuda/cudaYUV.h
-- Copying /home/johnny/Projects/jetson-utils/display/glBuffer.h
-- Copying /home/johnny/Projects/jetson-utils/display/glCamera.h
-- Copying /home/johnny/Projects/jetson-utils/display/glDisplay.h
-- Copying /home/johnny/Projects/jetson-utils/display/glEvents.h
-- Copying /home/johnny/Projects/jetson-utils/display/glTexture.h
-- Copying /home/johnny/Projects/jetson-utils/display/glUtility.h
-- Copying /home/johnny/Projects/jetson-utils/display/glWidget.h
-- Copying /home/johnny/Projects/jetson-utils/filesystem.h
-- Copying /home/johnny/Projects/jetson-utils/image/imageFormat.h
-- Copying /home/johnny/Projects/jetson-utils/image/imageFormat.inl
-- Copying /home/johnny/Projects/jetson-utils/image/imageIO.h
-- Copying /home/johnny/Projects/jetson-utils/image/imageLoader.h
-- Copying /home/johnny/Projects/jetson-utils/image/imageWriter.h
-- Copying /home/johnny/Projects/jetson-utils/image/loadImage.h
-- Copying /home/johnny/Projects/jetson-utils/input/devInput.h
-- Copying /home/johnny/Projects/jetson-utils/input/devJoystick.h
-- Copying /home/johnny/Projects/jetson-utils/input/devKeyboard.h
-- Copying /home/johnny/Projects/jetson-utils/json.hpp
-- Copying /home/johnny/Projects/jetson-utils/logging.h
-- Copying /home/johnny/Projects/jetson-utils/mat33.h
-- Copying /home/johnny/Projects/jetson-utils/network/Endian.h
-- Copying /home/johnny/Projects/jetson-utils/network/IPv4.h
-- Copying /home/johnny/Projects/jetson-utils/network/IPv6.h
-- Copying /home/johnny/Projects/jetson-utils/network/Networking.h
-- Copying /home/johnny/Projects/jetson-utils/network/RTSPServer.h
-- Copying /home/johnny/Projects/jetson-utils/network/Socket.h
-- Copying /home/johnny/Projects/jetson-utils/network/URI.h
-- Copying /home/johnny/Projects/jetson-utils/network/WebRTCServer.h
-- Copying /home/johnny/Projects/jetson-utils/pi.h
-- Copying /home/johnny/Projects/jetson-utils/rand.h
-- Copying /home/johnny/Projects/jetson-utils/threads/Event.h
-- Copying /home/johnny/Projects/jetson-utils/threads/Event.inl
-- Copying /home/johnny/Projects/jetson-utils/threads/Mutex.h
-- Copying /home/johnny/Projects/jetson-utils/threads/Mutex.inl
-- Copying /home/johnny/Projects/jetson-utils/threads/Process.h
-- Copying /home/johnny/Projects/jetson-utils/threads/RingBuffer.h
-- Copying /home/johnny/Projects/jetson-utils/threads/RingBuffer.inl
-- Copying /home/johnny/Projects/jetson-utils/threads/Thread.h
-- Copying /home/johnny/Projects/jetson-utils/timespec.h
-- Copying /home/johnny/Projects/jetson-utils/video/videoOptions.h
-- Copying /home/johnny/Projects/jetson-utils/video/videoOutput.h
-- Copying /home/johnny/Projects/jetson-utils/video/videoSource.h
-- Copying /home/johnny/Projects/jetson-utils/xml.h
-- trying to build Python bindings for Python versions: 3.10
-- detecting Python 3.10...
CMake Warning (dev) at python/bindings/CMakeLists.txt:24 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at python/bindings/CMakeLists.txt:25 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- found Python version: 3.10 (3.10.12)
-- found Python include: /usr/include/python3.10
-- found Python library: /usr/lib/aarch64-linux-gnu/libpython3.10.so
-- CMake module path: /home/johnny/Projects/jetson-utils/cuda;/home/johnny/Projects/jetson-utils/python/bindings
-- NumPy ver. 1.21.5 found (include: /usr/lib/python3/dist-packages/numpy/core/include)
-- found NumPy version: 1.21.5
-- found NumPy include: /usr/lib/python3/dist-packages/numpy/core/include
-- Copying /home/johnny/Projects/jetson-utils/python/examples/cuda-array-interface.py
-- Copying /home/johnny/Projects/jetson-utils/python/examples/cuda-examples.py
-- Copying /home/johnny/Projects/jetson-utils/python/examples/cuda-from-cv.py
-- Copying /home/johnny/Projects/jetson-utils/python/examples/cuda-from-numpy.py
-- Copying /home/johnny/Projects/jetson-utils/python/examples/cuda-from-pytorch.py
-- Copying /home/johnny/Projects/jetson-utils/python/examples/cuda-to-cv.py
-- Copying /home/johnny/Projects/jetson-utils/python/examples/cuda-to-numpy.py
-- Copying /home/johnny/Projects/jetson-utils/python/examples/cuda-to-pytorch.py
-- Copying /home/johnny/Projects/jetson-utils/python/examples/test-cuda.sh
-- Copying /home/johnny/Projects/jetson-utils/python/examples/test-display.py
-- Copying /home/johnny/Projects/jetson-utils/python/examples/test-logging.py
-- Copying /home/johnny/Projects/jetson-utils/python/examples/test-video.py
-- Copying /home/johnny/Projects/jetson-utils/python/examples/video-viewer.py
-- Configuring done (1.4s)
-- Generating done (0.0s)
-- Build files have been written to: /home/johnny/Projects/jetson-utils/build
[ 1%] Building NVCC (Device) object CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaYUV-YV12.cu.o
[ 2%] Building NVCC (Device) object CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaDraw.cu.o
[ 7%] Building NVCC (Device) object CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaFont.cu.o
[ 7%] Building NVCC (Device) object CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaColormap.cu.o
[ 7%] Building NVCC (Device) object CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaFilterMode.cu.o
[ 8%] Building NVCC (Device) object CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaNormalize.cu.o
[ 10%] Building NVCC (Device) object CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaCrop.cu.o
[ 11%] Building NVCC (Device) object CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaGrayscale.cu.o
[ 13%] Building NVCC (Device) object CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaPointCloud.cu.o
[ 16%] Building NVCC (Device) object CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaResize.cu.o
[ 16%] Building NVCC (Device) object CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaOverlay.cu.o
[ 17%] Building NVCC (Device) object CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaRGB.cu.o
[ 19%] Building NVCC (Device) object CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaWarp-affine.cu.o
[ 20%] Building NVCC (Device) object CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaWarp-fisheye.cu.o
[ 22%] Building NVCC (Device) object CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaWarp-intrinsic.cu.o
[ 23%] Building NVCC (Device) object CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaYUV-NV12.cu.o
[ 25%] Building NVCC (Device) object CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaYUV-YUYV.cu.o
[ 29%] Building CXX object CMakeFiles/jetson-utils.dir/codec/gstBufferManager.cpp.o
[ 29%] Building CXX object CMakeFiles/jetson-utils.dir/camera/v4l2Camera.cpp.o
[ 30%] Building CXX object CMakeFiles/jetson-utils.dir/camera/gstCamera.cpp.o
[ 33%] Building CXX object CMakeFiles/jetson-utils.dir/codec/gstDecoder.cpp.o
[ 39%] Building CXX object CMakeFiles/jetson-utils.dir/codec/gstWebRTC.cpp.o
[ 39%] Building CXX object CMakeFiles/jetson-utils.dir/commandLine.cpp.o
[ 39%] Building CXX object CMakeFiles/jetson-utils.dir/cuda/cudaBayer.cpp.o
[ 39%] Building CXX object CMakeFiles/jetson-utils.dir/codec/gstEncoder.cpp.o
[ 39%] Building CXX object CMakeFiles/jetson-utils.dir/codec/gstUtility.cpp.o
[ 39%] Building CXX object CMakeFiles/jetson-utils.dir/cuda/cudaColorspace.cpp.o
[ 42%] Building CXX object CMakeFiles/jetson-utils.dir/display/glBuffer.cpp.o
[ 42%] Building CXX object CMakeFiles/jetson-utils.dir/cuda/cudaPointCloud.cpp.o
In file included from /home/johnny/Projects/jetson-utils/codec/gstWebRTC.h:26,
from /home/johnny/Projects/jetson-utils/codec/gstWebRTC.cpp:23:
/home/johnny/Projects/jetson-utils/build/aarch64/include/jetson-utils/WebRTCServer.h:26:10: fatal error: libsoup/soup.h: No such file or directory
26 | #include <libsoup/soup.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/jetson-utils.dir/build.make:279: CMakeFiles/jetson-utils.dir/codec/gstWebRTC.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/johnny/Projects/jetson-utils/codec/gstWebRTC.h:26,
from /home/johnny/Projects/jetson-utils/codec/gstDecoder.cpp:24:
/home/johnny/Projects/jetson-utils/build/aarch64/include/jetson-utils/WebRTCServer.h:26:10: fatal error: libsoup/soup.h: No such file or directory
26 | #include <libsoup/soup.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/johnny/Projects/jetson-utils/codec/gstWebRTC.h:26,
from /home/johnny/Projects/jetson-utils/codec/gstEncoder.cpp:24:
/home/johnny/Projects/jetson-utils/build/aarch64/include/jetson-utils/WebRTCServer.h:26:10: fatal error: libsoup/soup.h: No such file or directory
26 | #include <libsoup/soup.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/jetson-utils.dir/build.make:237: CMakeFiles/jetson-utils.dir/codec/gstDecoder.cpp.o] Error 1
make[2]: *** [CMakeFiles/jetson-utils.dir/build.make:251: CMakeFiles/jetson-utils.dir/codec/gstEncoder.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:133: CMakeFiles/jetson-utils.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
Johnny commented
sorry, it is working