-
Notifications
You must be signed in to change notification settings - Fork 3k
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
install jetson-inference in Jetson orin nano with JetPack 6.1 #1898
Comments
I got the same error . Maybe solve later. When I checked the repo, there is no release for R36.4 yet |
same error. NVIDIA NVIDIA Jetson AGX Orin Developer Kit Package: nvidia-jetpack |
Same issue here. |
Will there be an image for r36.4.0? |
hi, I use Jetson orin nano with JetPack 6.1 and follow the step of Building the Project from Source
I got the following error information when I executed make -j$(nproc), is there any suggestion to install jetson-inference successfully? Thanks for your reading!
conley@conley-desktop:~/jetson-inference/build$ make -j$(nproc)
[ 5%] Building NVCC (Device) object utils/CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaColormap.cu.o
[ 5%] Building NVCC (Device) object utils/CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaCrop.cu.o
[ 5%] Building NVCC (Device) object utils/CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaDraw.cu.o
[ 5%] Building NVCC (Device) object utils/CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaFilterMode.cu.o
[ 5%] Building NVCC (Device) object utils/CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaYUV-YV12.cu.o
[ 5%] Building NVCC (Device) object utils/CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaFont.cu.o
[ 6%] Building NVCC (Device) object utils/CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaGrayscale.cu.o
[ 7%] Building NVCC (Device) object utils/CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaNormalize.cu.o
[ 8%] Building NVCC (Device) object utils/CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaOverlay.cu.o
[ 9%] Building NVCC (Device) object utils/CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaPointCloud.cu.o
[ 9%] Building NVCC (Device) object utils/CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaRGB.cu.o
[ 10%] Building NVCC (Device) object utils/CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaResize.cu.o
[ 11%] Building NVCC (Device) object utils/CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaWarp-affine.cu.o
[ 12%] Building NVCC (Device) object utils/CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaWarp-fisheye.cu.o
[ 12%] Building NVCC (Device) object utils/CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaWarp-intrinsic.cu.o
[ 13%] Building NVCC (Device) object utils/CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaYUV-NV12.cu.o
[ 14%] Building NVCC (Device) object utils/CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaYUV-YUYV.cu.o
[ 19%] Building CXX object utils/CMakeFiles/jetson-utils.dir/codec/gstDecoder.cpp.o
[ 19%] Building CXX object utils/CMakeFiles/jetson-utils.dir/camera/gstCamera.cpp.o
[ 19%] Building CXX object utils/CMakeFiles/jetson-utils.dir/camera/v4l2Camera.cpp.o
[ 19%] Building CXX object utils/CMakeFiles/jetson-utils.dir/codec/gstEncoder.cpp.o
[ 19%] Building CXX object utils/CMakeFiles/jetson-utils.dir/codec/gstUtility.cpp.o
[ 19%] Building CXX object utils/CMakeFiles/jetson-utils.dir/codec/gstBufferManager.cpp.o
[ 19%] Building CXX object utils/CMakeFiles/jetson-utils.dir/codec/gstWebRTC.cpp.o
[ 20%] Building CXX object utils/CMakeFiles/jetson-utils.dir/commandLine.cpp.o
[ 21%] Building CXX object utils/CMakeFiles/jetson-utils.dir/cuda/cudaBayer.cpp.o
[ 22%] Building CXX object utils/CMakeFiles/jetson-utils.dir/cuda/cudaColorspace.cpp.o
[ 23%] Building CXX object utils/CMakeFiles/jetson-utils.dir/cuda/cudaPointCloud.cpp.o
[ 23%] Building CXX object utils/CMakeFiles/jetson-utils.dir/display/glBuffer.cpp.o
[ 24%] Building CXX object utils/CMakeFiles/jetson-utils.dir/display/glCamera.cpp.o
[ 25%] Building CXX object utils/CMakeFiles/jetson-utils.dir/display/glDisplay.cpp.o
[ 26%] Building CXX object utils/CMakeFiles/jetson-utils.dir/display/glEvents.cpp.o
[ 27%] Building CXX object utils/CMakeFiles/jetson-utils.dir/display/glTexture.cpp.o
[ 27%] Building CXX object utils/CMakeFiles/jetson-utils.dir/display/glWidget.cpp.o
[ 28%] Building CXX object utils/CMakeFiles/jetson-utils.dir/filesystem.cpp.o
[ 29%] Building CXX object utils/CMakeFiles/jetson-utils.dir/image/imageIO.cpp.o
[ 30%] Building CXX object utils/CMakeFiles/jetson-utils.dir/image/imageLoader.cpp.o
[ 31%] Building CXX object utils/CMakeFiles/jetson-utils.dir/image/imageWriter.cpp.o
[ 31%] Building CXX object utils/CMakeFiles/jetson-utils.dir/input/devInput.cpp.o
[ 32%] Building CXX object utils/CMakeFiles/jetson-utils.dir/input/devJoystick.cpp.o
[ 33%] Building CXX object utils/CMakeFiles/jetson-utils.dir/input/devKeyboard.cpp.o
[ 34%] Building CXX object utils/CMakeFiles/jetson-utils.dir/logging.cpp.o
[ 34%] Building CXX object utils/CMakeFiles/jetson-utils.dir/network/IPv4.cpp.o
[ 35%] Building CXX object utils/CMakeFiles/jetson-utils.dir/network/IPv6.cpp.o
[ 36%] Building CXX object utils/CMakeFiles/jetson-utils.dir/network/Networking.cpp.o
[ 37%] Building CXX object utils/CMakeFiles/jetson-utils.dir/network/RTSPServer.cpp.o
[ 38%] Building CXX object utils/CMakeFiles/jetson-utils.dir/network/Socket.cpp.o
[ 38%] Building CXX object utils/CMakeFiles/jetson-utils.dir/network/URI.cpp.o
[ 39%] Building CXX object utils/CMakeFiles/jetson-utils.dir/network/WebRTCServer.cpp.o
[ 40%] Building CXX object utils/CMakeFiles/jetson-utils.dir/threads/Process.cpp.o
[ 41%] Building CXX object utils/CMakeFiles/jetson-utils.dir/threads/Thread.cpp.o
[ 42%] Building CXX object utils/CMakeFiles/jetson-utils.dir/timespec.cpp.o
[ 42%] Building CXX object utils/CMakeFiles/jetson-utils.dir/video/videoOptions.cpp.o
[ 43%] Building CXX object utils/CMakeFiles/jetson-utils.dir/video/videoOutput.cpp.o
[ 44%] Building CXX object utils/CMakeFiles/jetson-utils.dir/video/videoSource.cpp.o
[ 45%] Building CXX object utils/CMakeFiles/jetson-utils.dir/xml.cpp.o
[ 46%] Linking CXX shared library ../aarch64/lib/libjetson-utils.so
[ 46%] Built target jetson-utils
[ 47%] Building NVCC (Device) object CMakeFiles/jetson-inference.dir/c/jetson-inference_generated_tensorConvert.cu.o
[ 48%] Building NVCC (Device) object CMakeFiles/jetson-inference.dir/c/jetson-inference_generated_detectNet.cu.o
[ 48%] Building NVCC (Device) object CMakeFiles/jetson-inference.dir/c/jetson-inference_generated_depthNet.cu.o
[ 49%] Building NVCC (Device) object CMakeFiles/jetson-inference.dir/c/jetson-inference_generated_backgroundNet.cu.o
[ 50%] Building CXX object utils/video/video-viewer/CMakeFiles/video-viewer.dir/video-viewer.cpp.o
[ 50%] Building CXX object utils/python/bindings_python_3.10/CMakeFiles/jetson-utils-python-310.dir/PyCUDA.cpp.o
[ 51%] Linking CXX executable ../../../aarch64/bin/video-viewer
[ 51%] Built target video-viewer
[ 52%] Building NVCC (Device) object CMakeFiles/jetson-inference.dir/c/jetson-inference_generated_segNet.cu.o
[ 53%] Building CXX object utils/python/bindings_python_3.10/CMakeFiles/jetson-utils-python-310.dir/PyCamera.cpp.o
[ 54%] Building CXX object utils/python/bindings_python_3.10/CMakeFiles/jetson-utils-python-310.dir/PyGL.cpp.o
[ 55%] Building CXX object utils/python/bindings_python_3.10/CMakeFiles/jetson-utils-python-310.dir/PyImageIO.cpp.o
[ 56%] Building CXX object utils/python/bindings_python_3.10/CMakeFiles/jetson-utils-python-310.dir/PyLogging.cpp.o
[ 56%] Building CXX object utils/python/bindings_python_3.10/CMakeFiles/jetson-utils-python-310.dir/PyNumpy.cpp.o
/home/conley/jetson-inference/utils/python/bindings/PyNumpy.cpp: In function ‘PyObject* PyNumpy_ImportNumpy()’:
/home/conley/jetson-inference/utils/python/bindings/PyNumpy.cpp:313:1: warning: control reaches end of non-void function [-Wreturn-type]
313 | }
| ^
[ 57%] Building CXX object utils/python/bindings_python_3.10/CMakeFiles/jetson-utils-python-310.dir/PyUtils.cpp.o
[ 58%] Building CXX object utils/python/bindings_python_3.10/CMakeFiles/jetson-utils-python-310.dir/PyVideo.cpp.o
[ 59%] Linking CXX shared library ../../../aarch64/lib/python/3.10/jetson_utils_python.so
[ 59%] Built target jetson-utils-python-310
[ 63%] Building CXX object CMakeFiles/jetson-inference.dir/c/backgroundNet.cpp.o
[ 63%] Building CXX object CMakeFiles/jetson-inference.dir/c/detectNet.cpp.o
[ 63%] Building CXX object CMakeFiles/jetson-inference.dir/c/calibration/randInt8Calibrator.cpp.o
[ 63%] Building CXX object CMakeFiles/jetson-inference.dir/c/depthNet.cpp.o
[ 63%] Building CXX object CMakeFiles/jetson-inference.dir/c/actionNet.cpp.o
[ 64%] Building CXX object CMakeFiles/jetson-inference.dir/c/imageNet.cpp.o
[ 64%] Building CXX object CMakeFiles/jetson-inference.dir/c/modelDownloader.cpp.o
In file included from /home/conley/jetson-inference/build/aarch64/include/jetson-utils/cudaUtility.h:33,
from /home/conley/jetson-inference/c/tensorNet.h:32,
from /home/conley/jetson-inference/c/detectNet.h:27,
from /home/conley/jetson-inference/c/detectNet.cpp:23:
/home/conley/jetson-inference/c/detectNet.cpp: In member function ‘bool detectNet::allocDetections()’:
/home/conley/jetson-inference/build/aarch64/include/jetson-utils/logging.h:225:49: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘int64_t’ {aka ‘long int’} [-Wformat=]
225 | #define LOG_LEVEL_PREFIX_INFO ""
/home/conley/jetson-inference/build/aarch64/include/jetson-utils/logging.h:144:106: note: in definition of macro ‘GenericLogMessage’
144 | #define GenericLogMessage(level, format, args...) if( level <= Log::GetLevel() ) fprintf(Log::GetFile(), format, ## args)
| ^~~~~~
/home/conley/jetson-inference/build/aarch64/include/jetson-utils/logging.h:168:78: note: in expansion of macro ‘LOG_LEVEL_PREFIX_INFO’
168 | #define LogInfo(format, args...) GenericLogMessage(Log::INFO, LOG_LEVEL_PREFIX_INFO format, ## args)
| ^~~~~~~~~~~~~~~~~~~~~
/home/conley/jetson-inference/c/detectNet.cpp:404:17: note: in expansion of macro ‘LogInfo’
404 | LogInfo(LOG_TRT "W = %u H = %u C = %u\n", DIMS_W(mOutputs[OUTPUT_UFF].dims), DIMS_H(mOutputs[OUTPUT_UFF].dims), DIMS_C(mOutputs[OUTPUT_UFF].dims));
| ^~~~~~~
/home/conley/jetson-inference/c/detectNet.cpp:404:39: note: format string is defined here
404 | LogInfo(LOG_TRT "W = %u H = %u C = %u\n", DIMS_W(mOutputs[OUTPUT_UFF].dims), DIMS_H(mOutputs[OUTPUT_UFF].dims), DIMS_C(mOutputs[OUTPUT_UFF].dims));
| ~^
| |
| unsigned int
| %lu
In file included from /home/conley/jetson-inference/build/aarch64/include/jetson-utils/cudaUtility.h:33,
from /home/conley/jetson-inference/c/tensorNet.h:32,
from /home/conley/jetson-inference/c/detectNet.h:27,
from /home/conley/jetson-inference/c/detectNet.cpp:23:
/home/conley/jetson-inference/build/aarch64/include/jetson-utils/logging.h:225:49: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘int64_t’ {aka ‘long int’} [-Wformat=]
225 | #define LOG_LEVEL_PREFIX_INFO ""
/home/conley/jetson-inference/build/aarch64/include/jetson-utils/logging.h:144:106: note: in definition of macro ‘GenericLogMessage’
144 | #define GenericLogMessage(level, format, args...) if( level <= Log::GetLevel() ) fprintf(Log::GetFile(), format, ## args)
| ^~~~~~
/home/conley/jetson-inference/build/aarch64/include/jetson-utils/logging.h:168:78: note: in expansion of macro ‘LOG_LEVEL_PREFIX_INFO’
168 | #define LogInfo(format, args...) GenericLogMessage(Log::INFO, LOG_LEVEL_PREFIX_INFO format, ## args)
| ^~~~~~~~~~~~~~~~~~~~~
/home/conley/jetson-inference/c/detectNet.cpp:404:17: note: in expansion of macro ‘LogInfo’
404 | LogInfo(LOG_TRT "W = %u H = %u C = %u\n", DIMS_W(mOutputs[OUTPUT_UFF].dims), DIMS_H(mOutputs[OUTPUT_UFF].dims), DIMS_C(mOutputs[OUTPUT_UFF].dims));
| ^~~~~~~
/home/conley/jetson-inference/c/detectNet.cpp:404:47: note: format string is defined here
404 | LogInfo(LOG_TRT "W = %u H = %u C = %u\n", DIMS_W(mOutputs[OUTPUT_UFF].dims), DIMS_H(mOutputs[OUTPUT_UFF].dims), DIMS_C(mOutputs[OUTPUT_UFF].dims));
| ~^
| |
| unsigned int
| %lu
In file included from /home/conley/jetson-inference/build/aarch64/include/jetson-utils/cudaUtility.h:33,
from /home/conley/jetson-inference/c/tensorNet.h:32,
from /home/conley/jetson-inference/c/detectNet.h:27,
from /home/conley/jetson-inference/c/detectNet.cpp:23:
/home/conley/jetson-inference/build/aarch64/include/jetson-utils/logging.h:225:49: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 5 has type ‘int64_t’ {aka ‘long int’} [-Wformat=]
225 | #define LOG_LEVEL_PREFIX_INFO ""
/home/conley/jetson-inference/build/aarch64/include/jetson-utils/logging.h:144:106: note: in definition of macro ‘GenericLogMessage’
144 | #define GenericLogMessage(level, format, args...) if( level <= Log::GetLevel() ) fprintf(Log::GetFile(), format, ## args)
| ^~~~~~
/home/conley/jetson-inference/build/aarch64/include/jetson-utils/logging.h:168:78: note: in expansion of macro ‘LOG_LEVEL_PREFIX_INFO’
168 | #define LogInfo(format, args...) GenericLogMessage(Log::INFO, LOG_LEVEL_PREFIX_INFO format, ## args)
| ^~~~~~~~~~~~~~~~~~~~~
/home/conley/jetson-inference/c/detectNet.cpp:404:17: note: in expansion of macro ‘LogInfo’
404 | LogInfo(LOG_TRT "W = %u H = %u C = %u\n", DIMS_W(mOutputs[OUTPUT_UFF].dims), DIMS_H(mOutputs[OUTPUT_UFF].dims), DIMS_C(mOutputs[OUTPUT_UFF].dims));
| ^~~~~~~
/home/conley/jetson-inference/c/detectNet.cpp:404:55: note: format string is defined here
404 | LogInfo(LOG_TRT "W = %u H = %u C = %u\n", DIMS_W(mOutputs[OUTPUT_UFF].dims), DIMS_H(mOutputs[OUTPUT_UFF].dims), DIMS_C(mOutputs[OUTPUT_UFF].dims));
| ~^
| |
| unsigned int
| %lu
[ 65%] Building CXX object CMakeFiles/jetson-inference.dir/c/poseNet.cpp.o
[ 66%] Building CXX object CMakeFiles/jetson-inference.dir/c/segNet.cpp.o
[ 67%] Building CXX object CMakeFiles/jetson-inference.dir/c/tensorNet.cpp.o
/home/conley/jetson-inference/c/tensorNet.cpp:29:10: fatal error: NvCaffeParser.h: No such file or directory
29 | #include "NvCaffeParser.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/jetson-inference.dir/build.make:237: CMakeFiles/jetson-inference.dir/c/tensorNet.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 67%] Building CXX object CMakeFiles/jetson-inference.dir/c/tracking/objectTracker.cpp.o
In file included from /home/conley/jetson-inference/build/aarch64/include/jetson-utils/cudaUtility.h:33,
from /home/conley/jetson-inference/c/tensorNet.h:32,
from /home/conley/jetson-inference/c/poseNet.h:27,
from /home/conley/jetson-inference/c/poseNet.cpp:23:
/home/conley/jetson-inference/c/poseNet.cpp: In member function ‘bool poseNet::init(const char*, const char*, const char*, float, const char*, const char*, const char*, uint32_t, precisionType, deviceType, bool)’:
/home/conley/jetson-inference/build/aarch64/include/jetson-utils/logging.h:204:38: warning: format ‘%i’ expects argument of type ‘int’, but argument 3 has type ‘int64_t’ {aka ‘long int’} [-Wformat=]
204 | #define LOG_COLOR_RED "\033[0;31m"
| ^
/home/conley/jetson-inference/build/aarch64/include/jetson-utils/logging.h:144:106: note: in definition of macro ‘GenericLogMessage’
144 | #define GenericLogMessage(level, format, args...) if( level <= Log::GetLevel() ) fprintf(Log::GetFile(), format, ## args)
| ^~~~~~
/home/conley/jetson-inference/build/aarch64/include/jetson-utils/logging.h:150:79: note: in expansion of macro ‘LOG_COLOR_RED’
150 | #define LogError(format, args...) GenericLogMessage(Log::ERROR, LOG_COLOR_RED LOG_LEVEL_PREFIX_ERROR format LOG_COLOR_RESET, ## args)
| ^~~~~~~~~~~~~
/home/conley/jetson-inference/c/poseNet.cpp:160:17: note: in expansion of macro ‘LogError’
160 | LogError("poseNet -- cmap dims (C=%i, H=%i, W=%i) don't match paf dims (C=%i, H=%i, W=%i)\n", DIMS_C(mOutputs[CMAP].dims), DIMS_H(mOutputs[CMAP].dims), DIMS_W(mOutputs[CMAP].dims), DIMS_C(mOutputs[PAF].dims), DIMS_H(mOutputs[PAF].dims), DIMS_W(mOutputs[PAF].dims));
| ^~~~~~~~
/home/conley/jetson-inference/c/poseNet.cpp:160:52: note: format string is defined here
160 | LogError("poseNet -- cmap dims (C=%i, H=%i, W=%i) don't match paf dims (C=%i, H=%i, W=%i)\n", DIMS_C(mOutputs[CMAP].dims), DIMS_H(mOutputs[CMAP].dims), DIMS_W(mOutputs[CMAP].dims), DIMS_C(mOutputs[PAF].dims), DIMS_H(mOutputs[PAF].dims), DIMS_W(mOutputs[PAF].dims));
| ~^
| |
| int
| %li
In file included from /home/conley/jetson-inference/build/aarch64/include/jetson-utils/cudaUtility.h:33,
from /home/conley/jetson-inference/c/tensorNet.h:32,
from /home/conley/jetson-inference/c/poseNet.h:27,
from /home/conley/jetson-inference/c/poseNet.cpp:23:
/home/conley/jetson-inference/build/aarch64/include/jetson-utils/logging.h:204:38: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘int64_t’ {aka ‘long int’} [-Wformat=]
204 | #define LOG_COLOR_RED "\033[0;31m"
| ^
/home/conley/jetson-inference/build/aarch64/include/jetson-utils/logging.h:144:106: note: in definition of macro ‘GenericLogMessage’
144 | #define GenericLogMessage(level, format, args...) if( level <= Log::GetLevel() ) fprintf(Log::GetFile(), format, ## args)
| ^~~~~~
/home/conley/jetson-inference/build/aarch64/include/jetson-utils/logging.h:150:79: note: in expansion of macro ‘LOG_COLOR_RED’
150 | #define LogError(format, args...) GenericLogMessage(Log::ERROR, LOG_COLOR_RED LOG_LEVEL_PREFIX_ERROR format LOG_COLOR_RESET, ## args)
| ^~~~~~~~~~~~~
/home/conley/jetson-inference/c/poseNet.cpp:160:17: note: in expansion of macro ‘LogError’
160 | LogError("poseNet -- cmap dims (C=%i, H=%i, W=%i) don't match paf dims (C=%i, H=%i, W=%i)\n", DIMS_C(mOutputs[CMAP].dims), DIMS_H(mOutputs[CMAP].dims), DIMS_W(mOutputs[CMAP].dims), DIMS_C(mOutputs[PAF].dims), DIMS_H(mOutputs[PAF].dims), DIMS_W(mOutputs[PAF].dims));
| ^~~~~~~~
/home/conley/jetson-inference/c/poseNet.cpp:160:58: note: format string is defined here
160 | LogError("poseNet -- cmap dims (C=%i, H=%i, W=%i) don't match paf dims (C=%i, H=%i, W=%i)\n", DIMS_C(mOutputs[CMAP].dims), DIMS_H(mOutputs[CMAP].dims), DIMS_W(mOutputs[CMAP].dims), DIMS_C(mOutputs[PAF].dims), DIMS_H(mOutputs[PAF].dims), DIMS_W(mOutputs[PAF].dims));
| ~^
| |
| int
| %li
In file included from /home/conley/jetson-inference/build/aarch64/include/jetson-utils/cudaUtility.h:33,
from /home/conley/jetson-inference/c/tensorNet.h:32,
from /home/conley/jetson-inference/c/poseNet.h:27,
from /home/conley/jetson-inference/c/poseNet.cpp:23:
/home/conley/jetson-inference/build/aarch64/include/jetson-utils/logging.h:204:38: warning: format ‘%i’ expects argument of type ‘int’, but argument 5 has type ‘int64_t’ {aka ‘long int’} [-Wformat=]
204 | #define LOG_COLOR_RED "\033[0;31m"
| ^
/home/conley/jetson-inference/build/aarch64/include/jetson-utils/logging.h:144:106: note: in definition of macro ‘GenericLogMessage’
144 | #define GenericLogMessage(level, format, args...) if( level <= Log::GetLevel() ) fprintf(Log::GetFile(), format, ## args)
| ^~~~~~
/home/conley/jetson-inference/build/aarch64/include/jetson-utils/logging.h:150:79: note: in expansion of macro ‘LOG_COLOR_RED’
150 | #define LogError(format, args...) GenericLogMessage(Log::ERROR, LOG_COLOR_RED LOG_LEVEL_PREFIX_ERROR format LOG_COLOR_RESET, ## args)
| ^~~~~~~~~~~~~
/home/conley/jetson-inference/c/poseNet.cpp:160:17: note: in expansion of macro ‘LogError’
160 | LogError("poseNet -- cmap dims (C=%i, H=%i, W=%i) don't match paf dims (C=%i, H=%i, W=%i)\n", DIMS_C(mOutputs[CMAP].dims), DIMS_H(mOutputs[CMAP].dims), DIMS_W(mOutputs[CMAP].dims), DIMS_C(mOutputs[PAF].dims), DIMS_H(mOutputs[PAF].dims), DIMS_W(mOutputs[PAF].dims));
| ^~~~~~~~
/home/conley/jetson-inference/c/poseNet.cpp:160:64: note: format string is defined here
160 | LogError("poseNet -- cmap dims (C=%i, H=%i, W=%i) don't match paf dims (C=%i, H=%i, W=%i)\n", DIMS_C(mOutputs[CMAP].dims), DIMS_H(mOutputs[CMAP].dims), DIMS_W(mOutputs[CMAP].dims), DIMS_C(mOutputs[PAF].dims), DIMS_H(mOutputs[PAF].dims), DIMS_W(mOutputs[PAF].dims));
| ~^
| |
| int
| %li
In file included from /home/conley/jetson-inference/build/aarch64/include/jetson-utils/cudaUtility.h:33,
from /home/conley/jetson-inference/c/tensorNet.h:32,
from /home/conley/jetson-inference/c/poseNet.h:27,
from /home/conley/jetson-inference/c/poseNet.cpp:23:
/home/conley/jetson-inference/build/aarch64/include/jetson-utils/logging.h:204:38: warning: format ‘%i’ expects argument of type ‘int’, but argument 6 has type ‘int64_t’ {aka ‘long int’} [-Wformat=]
204 | #define LOG_COLOR_RED "\033[0;31m"
| ^
/home/conley/jetson-inference/build/aarch64/include/jetson-utils/logging.h:144:106: note: in definition of macro ‘GenericLogMessage’
144 | #define GenericLogMessage(level, format, args...) if( level <= Log::GetLevel() ) fprintf(Log::GetFile(), format, ## args)
| ^~~~~~
/home/conley/jetson-inference/build/aarch64/include/jetson-utils/logging.h:150:79: note: in expansion of macro ‘LOG_COLOR_RED’
150 | #define LogError(format, args...) GenericLogMessage(Log::ERROR, LOG_COLOR_RED LOG_LEVEL_PREFIX_ERROR format LOG_COLOR_RESET, ## args)
| ^~~~~~~~~~~~~
/home/conley/jetson-inference/c/poseNet.cpp:160:17: note: in expansion of macro ‘LogError’
160 | LogError("poseNet -- cmap dims (C=%i, H=%i, W=%i) don't match paf dims (C=%i, H=%i, W=%i)\n", DIMS_C(mOutputs[CMAP].dims), DIMS_H(mOutputs[CMAP].dims), DIMS_W(mOutputs[CMAP].dims), DIMS_C(mOutputs[PAF].dims), DIMS_H(mOutputs[PAF].dims), DIMS_W(mOutputs[PAF].dims));
| ^~~~~~~~
/home/conley/jetson-inference/c/poseNet.cpp:160:92: note: format string is defined here
160 | LogError("poseNet -- cmap dims (C=%i, H=%i, W=%i) don't match paf dims (C=%i, H=%i, W=%i)\n", DIMS_C(mOutputs[CMAP].dims), DIMS_H(mOutputs[CMAP].dims), DIMS_W(mOutputs[CMAP].dims), DIMS_C(mOutputs[PAF].dims), DIMS_H(mOutputs[PAF].dims), DIMS_W(mOutputs[PAF].dims));
| ~^
| |
| int
| %li
In file included from /home/conley/jetson-inference/build/aarch64/include/jetson-utils/cudaUtility.h:33,
from /home/conley/jetson-inference/c/tensorNet.h:32,
from /home/conley/jetson-inference/c/poseNet.h:27,
from /home/conley/jetson-inference/c/poseNet.cpp:23:
/home/conley/jetson-inference/build/aarch64/include/jetson-utils/logging.h:204:38: warning: format ‘%i’ expects argument of type ‘int’, but argument 7 has type ‘int64_t’ {aka ‘long int’} [-Wformat=]
204 | #define LOG_COLOR_RED "\033[0;31m"
| ^
/home/conley/jetson-inference/build/aarch64/include/jetson-utils/logging.h:144:106: note: in definition of macro ‘GenericLogMessage’
144 | #define GenericLogMessage(level, format, args...) if( level <= Log::GetLevel() ) fprintf(Log::GetFile(), format, ## args)
| ^~~~~~
/home/conley/jetson-inference/build/aarch64/include/jetson-utils/logging.h:150:79: note: in expansion of macro ‘LOG_COLOR_RED’
150 | #define LogError(format, args...) GenericLogMessage(Log::ERROR, LOG_COLOR_RED LOG_LEVEL_PREFIX_ERROR format LOG_COLOR_RESET, ## args)
| ^~~~~~~~~~~~~
/home/conley/jetson-inference/c/poseNet.cpp:160:17: note: in expansion of macro ‘LogError’
160 | LogError("poseNet -- cmap dims (C=%i, H=%i, W=%i) don't match paf dims (C=%i, H=%i, W=%i)\n", DIMS_C(mOutputs[CMAP].dims), DIMS_H(mOutputs[CMAP].dims), DIMS_W(mOutputs[CMAP].dims), DIMS_C(mOutputs[PAF].dims), DIMS_H(mOutputs[PAF].dims), DIMS_W(mOutputs[PAF].dims));
| ^~~~~~~~
/home/conley/jetson-inference/c/poseNet.cpp:160:98: note: format string is defined here
160 | LogError("poseNet -- cmap dims (C=%i, H=%i, W=%i) don't match paf dims (C=%i, H=%i, W=%i)\n", DIMS_C(mOutputs[CMAP].dims), DIMS_H(mOutputs[CMAP].dims), DIMS_W(mOutputs[CMAP].dims), DIMS_C(mOutputs[PAF].dims), DIMS_H(mOutputs[PAF].dims), DIMS_W(mOutputs[PAF].dims));
| ~^
| |
| int
| %li
In file included from /home/conley/jetson-inference/build/aarch64/include/jetson-utils/cudaUtility.h:33,
from /home/conley/jetson-inference/c/tensorNet.h:32,
from /home/conley/jetson-inference/c/poseNet.h:27,
from /home/conley/jetson-inference/c/poseNet.cpp:23:
/home/conley/jetson-inference/build/aarch64/include/jetson-utils/logging.h:204:38: warning: format ‘%i’ expects argument of type ‘int’, but argument 8 has type ‘int64_t’ {aka ‘long int’} [-Wformat=]
204 | #define LOG_COLOR_RED "\033[0;31m"
| ^
/home/conley/jetson-inference/build/aarch64/include/jetson-utils/logging.h:144:106: note: in definition of macro ‘GenericLogMessage’
144 | #define GenericLogMessage(level, format, args...) if( level <= Log::GetLevel() ) fprintf(Log::GetFile(), format, ## args)
| ^~~~~~
/home/conley/jetson-inference/build/aarch64/include/jetson-utils/logging.h:150:79: note: in expansion of macro ‘LOG_COLOR_RED’
150 | #define LogError(format, args...) GenericLogMessage(Log::ERROR, LOG_COLOR_RED LOG_LEVEL_PREFIX_ERROR format LOG_COLOR_RESET, ## args)
| ^~~~~~~~~~~~~
/home/conley/jetson-inference/c/poseNet.cpp:160:17: note: in expansion of macro ‘LogError’
160 | LogError("poseNet -- cmap dims (C=%i, H=%i, W=%i) don't match paf dims (C=%i, H=%i, W=%i)\n", DIMS_C(mOutputs[CMAP].dims), DIMS_H(mOutputs[CMAP].dims), DIMS_W(mOutputs[CMAP].dims), DIMS_C(mOutputs[PAF].dims), DIMS_H(mOutputs[PAF].dims), DIMS_W(mOutputs[PAF].dims));
| ^~~~~~~~
/home/conley/jetson-inference/c/poseNet.cpp:160:104: note: format string is defined here
160 | LogError("poseNet -- cmap dims (C=%i, H=%i, W=%i) don't match paf dims (C=%i, H=%i, W=%i)\n", DIMS_C(mOutputs[CMAP].dims), DIMS_H(mOutputs[CMAP].dims), DIMS_W(mOutputs[CMAP].dims), DIMS_C(mOutputs[PAF].dims), DIMS_H(mOutputs[PAF].dims), DIMS_W(mOutputs[PAF].dims));
| ~^
| |
| int
| %li
make[1]: *** [CMakeFiles/Makefile2:394: CMakeFiles/jetson-inference.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
The text was updated successfully, but these errors were encountered: