We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi
I am trying to build Jetson inference from source, following the instructions. but when i try to make, i am getting this error
shubhankar@shubhankar-jetson:~/jetson-inference/build$ make -j$(nproc) [ 1%] Building CXX object utils/CMakeFiles/jetson-utils.dir/image/imageLoader.cpp.o [ 1%] Building CXX object utils/CMakeFiles/jetson-utils.dir/cuda/cudaBayer.cpp.o [ 1%] Building CXX object utils/CMakeFiles/jetson-utils.dir/image/imageWriter.cpp.o [ 2%] Building CXX object utils/CMakeFiles/jetson-utils.dir/input/devInput.cpp.o /home/shubhankar/jetson-inference/utils/cuda/cudaBayer.cpp: In function ‘cudaError_t cudaBayerToRGB(uint8_t*, uchar3*, size_t, size_t, imageFormat, cudaStream_t)’: /home/shubhankar/jetson-inference/utils/cuda/cudaBayer.cpp:56:2: error: ‘NppStreamContext’ was not declared in this scope NppStreamContext nppStreamContext; ^~~~~~~~~~~~~~~~ [ 2%] Building CXX object utils/CMakeFiles/jetson-utils.dir/input/devJoystick.cpp.o /home/shubhankar/jetson-inference/utils/cuda/cudaBayer.cpp:56:2: note: suggested alternative: ‘cuStreamCreate’ NppStreamContext nppStreamContext; ^~~~~~~~~~~~~~~~ cuStreamCreate /home/shubhankar/jetson-inference/utils/cuda/cudaBayer.cpp:57:23: error: ‘nppStreamContext’ was not declared in this scope nppGetStreamContext(&nppStreamContext); ^~~~~~~~~~~~~~~~ /home/shubhankar/jetson-inference/utils/cuda/cudaBayer.cpp:57:23: note: suggested alternative: ‘cuStreamCreate’ nppGetStreamContext(&nppStreamContext); ^~~~~~~~~~~~~~~~ cuStreamCreate /home/shubhankar/jetson-inference/utils/cuda/cudaBayer.cpp:57:2: error: ‘nppGetStreamContext’ was not declared in this scope nppGetStreamContext(&nppStreamContext); ^~~~~~~~~~~~~~~~~~~ /home/shubhankar/jetson-inference/utils/cuda/cudaBayer.cpp:57:2: note: suggested alternative: ‘nppGetStreamNumSMs’ nppGetStreamContext(&nppStreamContext); ^~~~~~~~~~~~~~~~~~~ nppGetStreamNumSMs /home/shubhankar/jetson-inference/utils/cuda/cudaBayer.cpp:60:27: error: ‘nppiCFAToRGB_8u_C1C3R_Ctx’ was not declared in this scope const NppStatus result = nppiCFAToRGB_8u_C1C3R_Ctx(input, width * sizeof(uint8_t), size, roi, ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/shubhankar/jetson-inference/utils/cuda/cudaBayer.cpp:60:27: note: suggested alternative: ‘nppiCFAToRGB_8u_C1C3R’ const NppStatus result = nppiCFAToRGB_8u_C1C3R_Ctx(input, width * sizeof(uint8_t), size, roi, ^~~~~~~~~~~~~~~~~~~~~~~~~ nppiCFAToRGB_8u_C1C3R [ 3%] Building CXX object utils/CMakeFiles/jetson-utils.dir/input/devKeyboard.cpp.o utils/CMakeFiles/jetson-utils.dir/build.make:4427: recipe for target 'utils/CMakeFiles/jetson-utils.dir/cuda/cudaBayer.cpp.o' failed make[2]: *** [utils/CMakeFiles/jetson-utils.dir/cuda/cudaBayer.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... CMakeFiles/Makefile2:703: recipe for target 'utils/CMakeFiles/jetson-utils.dir/all' failed make[1]: *** [utils/CMakeFiles/jetson-utils.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2
I am running it on a Jetson Nano with jetpack 4.3 on ubuntu 18.04
Please help. I am not able to find a solution elsewhere.
Shus
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi
I am trying to build Jetson inference from source, following the instructions. but when i try to make, i am getting this error
shubhankar@shubhankar-jetson:~/jetson-inference/build$ make -j$(nproc)
[ 1%] Building CXX object utils/CMakeFiles/jetson-utils.dir/image/imageLoader.cpp.o
[ 1%] Building CXX object utils/CMakeFiles/jetson-utils.dir/cuda/cudaBayer.cpp.o
[ 1%] Building CXX object utils/CMakeFiles/jetson-utils.dir/image/imageWriter.cpp.o
[ 2%] Building CXX object utils/CMakeFiles/jetson-utils.dir/input/devInput.cpp.o
/home/shubhankar/jetson-inference/utils/cuda/cudaBayer.cpp: In function ‘cudaError_t cudaBayerToRGB(uint8_t*, uchar3*, size_t, size_t, imageFormat, cudaStream_t)’:
/home/shubhankar/jetson-inference/utils/cuda/cudaBayer.cpp:56:2: error: ‘NppStreamContext’ was not declared in this scope
NppStreamContext nppStreamContext;
^~~~~~~~~~~~~~~~
[ 2%] Building CXX object utils/CMakeFiles/jetson-utils.dir/input/devJoystick.cpp.o
/home/shubhankar/jetson-inference/utils/cuda/cudaBayer.cpp:56:2: note: suggested alternative: ‘cuStreamCreate’
NppStreamContext nppStreamContext;
^~~~~~~~~~~~~~~~
cuStreamCreate
/home/shubhankar/jetson-inference/utils/cuda/cudaBayer.cpp:57:23: error: ‘nppStreamContext’ was not declared in this scope
nppGetStreamContext(&nppStreamContext);
^~~~~~~~~~~~~~~~
/home/shubhankar/jetson-inference/utils/cuda/cudaBayer.cpp:57:23: note: suggested alternative: ‘cuStreamCreate’
nppGetStreamContext(&nppStreamContext);
^~~~~~~~~~~~~~~~
cuStreamCreate
/home/shubhankar/jetson-inference/utils/cuda/cudaBayer.cpp:57:2: error: ‘nppGetStreamContext’ was not declared in this scope
nppGetStreamContext(&nppStreamContext);
^~~~~~~~~~~~~~~~~~~
/home/shubhankar/jetson-inference/utils/cuda/cudaBayer.cpp:57:2: note: suggested alternative: ‘nppGetStreamNumSMs’
nppGetStreamContext(&nppStreamContext);
^~~~~~~~~~~~~~~~~~~
nppGetStreamNumSMs
/home/shubhankar/jetson-inference/utils/cuda/cudaBayer.cpp:60:27: error: ‘nppiCFAToRGB_8u_C1C3R_Ctx’ was not declared in this scope
const NppStatus result = nppiCFAToRGB_8u_C1C3R_Ctx(input, width * sizeof(uint8_t), size, roi,
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/shubhankar/jetson-inference/utils/cuda/cudaBayer.cpp:60:27: note: suggested alternative: ‘nppiCFAToRGB_8u_C1C3R’
const NppStatus result = nppiCFAToRGB_8u_C1C3R_Ctx(input, width * sizeof(uint8_t), size, roi,
^~~~~~~~~~~~~~~~~~~~~~~~~
nppiCFAToRGB_8u_C1C3R
[ 3%] Building CXX object utils/CMakeFiles/jetson-utils.dir/input/devKeyboard.cpp.o
utils/CMakeFiles/jetson-utils.dir/build.make:4427: recipe for target 'utils/CMakeFiles/jetson-utils.dir/cuda/cudaBayer.cpp.o' failed
make[2]: *** [utils/CMakeFiles/jetson-utils.dir/cuda/cudaBayer.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:703: recipe for target 'utils/CMakeFiles/jetson-utils.dir/all' failed
make[1]: *** [utils/CMakeFiles/jetson-utils.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
I am running it on a Jetson Nano with jetpack 4.3 on ubuntu 18.04
Please help. I am not able to find a solution elsewhere.
Shus
The text was updated successfully, but these errors were encountered: