-
Notifications
You must be signed in to change notification settings - Fork 181
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
Built Error on jetson #30
Comments
I have the same error with JetPack 4.3 |
In reaplace cudaRGBA32ToBGRA8 -> cudaRGBA32ToRGBA8 |
Hi all, switch your jetson-inference to the https://github.com/dusty-nv/jetson-inference/tree/20200714 Then re-build and re-install jetson-inference with |
Thanks, for your reply |
One more thing, when previously I have worked with master branch of jetson-inference, my ros_deep_learning built was successful. There was issues in making built of jetson_nano......I made a quick fix there by making changes in But in it when I start testing the Robot for making it move forward and backward, no movement was there in Robot. |
You could also check out the
Have you tried using the Jupyter notebooks from https://github.com/NVIDIA-AI-IOT/jetbot? Do both wheels work then? |
yes, both are working perfectly fine with that |
To clarify , are you asking me to checkout the branch |
I have the same error with the JetPack 4.3. I was able to build the What I tried is below.
|
To clarify , are you asking me to checkout the branch **0ad346df2b712d19d5647d8d45886fe1279efda8** of ros_deep_learning and use that with the 20200714 branch of the jetson-inference.
Yes, that is correct. I will update jetbot_ros to support the latest next week, sorry about that.
…________________________________
From: tohruk <[email protected]>
Sent: Friday, July 31, 2020 8:52:22 PM
To: dusty-nv/jetbot_ros <[email protected]>
Cc: Dustin Franklin <[email protected]>; Comment <[email protected]>
Subject: Re: [dusty-nv/jetbot_ros] Built Error on jetson (#30)
I have the same error with the JetPack 4.3. I was able to build the jetson_ros with the 20200714 branch of the jetson-inference, however the branch was not compatible with the latest ros_deep_learning. Which ros_deep_learning revision should I use?
What I tried is below.
$ cd ~/workspaces/jetson-inference
$ git checkout 20200714
$ cd build/
$ cmake ../
$ make
$ sudo make install
$ cd ~/workspace/catkin_ws/
$ rm -fr build devel
$ ls src
CMakeLists.txt jetbot_ros ros_deep_learning
$ catkin_make
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 2 packages in topological order:
-- ~~ - jetbot_ros
-- ~~ - ros_deep_learning
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'jetbot_ros'
-- ==> add_subdirectory(jetbot_ros)
-- Found CUDA: /usr/local/cuda (found version "10.0")
-- +++ processing catkin package: 'ros_deep_learning'
-- ==> add_subdirectory(ros_deep_learning)
detected ROS1 (catkin_make)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jetbot/workspace/catkin_ws/build
####
#### Running command: "make -j2 -l2" in "/home/jetbot/workspace/catkin_ws/build"
####
Scanning dependencies of target jetbot_camera
Scanning dependencies of target segnet
[ 3%] Building CXX object jetbot_ros/CMakeFiles/jetbot_camera.dir/src/jetbot_camera.cpp.o
[ 7%] Building CXX object ros_deep_learning/CMakeFiles/segnet.dir/src/node_segnet.cpp.o
/home/jetbot/workspace/catkin_ws/src/ros_deep_learning/src/node_segnet.cpp: In function ‘bool publish_overlay(uint32_t, uint32_t)’:
/home/jetbot/workspace/catkin_ws/src/ros_deep_learning/src/node_segnet.cpp:66:74: error: no matching function for call to ‘segNet::Overlay(imageConverter::PixelType*, uint32_t&, uint32_t&, segNet::FilterMode&)’
if( !net->Overlay(overlay_cvt->ImageGPU(), width, height, overlay_filter) )
^
In file included from /home/jetbot/workspace/catkin_ws/src/ros_deep_learning/src/node_segnet.cpp:26:0:
/usr/local/include/jetson-inference/segNet.h:212:7: note: candidate: bool segNet::Overlay(float*, uint32_t, uint32_t, segNet::FilterMode)
bool Overlay( float* output, uint32_t width, uint32_t height, FilterMode filter=FILTER_LINEAR );
^~~~~~~
/usr/local/include/jetson-inference/segNet.h:212:7: note: no known conversion for argument 1 from ‘imageConverter::PixelType* {aka uchar3*}’ to ‘float*’
/home/jetbot/workspace/catkin_ws/src/ros_deep_learning/src/node_segnet.cpp: In function ‘bool publish_mask_color(uint32_t, uint32_t)’:
/home/jetbot/workspace/catkin_ws/src/ros_deep_learning/src/node_segnet.cpp:91:71: error: no matching function for call to ‘segNet::Mask(imageConverter::PixelType*, uint32_t&, uint32_t&, segNet::FilterMode&)’
if( !net->Mask(mask_color_cvt->ImageGPU(), width, height, mask_filter) )
^
In file included from /home/jetbot/workspace/catkin_ws/src/ros_deep_learning/src/node_segnet.cpp:26:0:
/usr/local/include/jetson-inference/segNet.h:195:7: note: candidate: bool segNet::Mask(uint8_t*, uint32_t, uint32_t)
bool Mask( uint8_t* output, uint32_t width, uint32_t height );
^~~~
/usr/local/include/jetson-inference/segNet.h:195:7: note: candidate expects 3 arguments, 4 provided
/usr/local/include/jetson-inference/segNet.h:200:7: note: candidate: bool segNet::Mask(float*, uint32_t, uint32_t, segNet::FilterMode)
bool Mask( float* output, uint32_t width, uint32_t height, FilterMode filter=FILTER_LINEAR );
^~~~
/usr/local/include/jetson-inference/segNet.h:200:7: note: no known conversion for argument 1 from ‘imageConverter::PixelType* {aka uchar3*}’ to ‘float*’
/home/jetbot/workspace/catkin_ws/src/ros_deep_learning/src/node_segnet.cpp: In function ‘void img_callback(sensor_msgs::ImageConstPtr)’:
/home/jetbot/workspace/catkin_ws/src/ros_deep_learning/src/node_segnet.cpp:144:88: error: no matching function for call to ‘segNet::Process(imageConverter::PixelType*, uint32_t, uint32_t)’
if( !net->Process(input_cvt->ImageGPU(), input_cvt->GetWidth(), input_cvt->GetHeight()) )
^
In file included from /home/jetbot/workspace/catkin_ws/src/ros_deep_learning/src/node_segnet.cpp:26:0:
/usr/local/include/jetson-inference/segNet.h:189:7: note: candidate: bool segNet::Process(float*, uint32_t, uint32_t, const char*)
bool Process( float* input, uint32_t width, uint32_t height, const char* ignore_class="void" );
^~~~~~~
/usr/local/include/jetson-inference/segNet.h:189:7: note: no known conversion for argument 1 from ‘imageConverter::PixelType* {aka uchar3*}’ to ‘float*’
ros_deep_learning/CMakeFiles/segnet.dir/build.make:62: recipe for target 'ros_deep_learning/CMakeFiles/segnet.dir/src/node_segnet.cpp.o' failed
make[2]: *** [ros_deep_learning/CMakeFiles/segnet.dir/src/node_segnet.cpp.o] Error 1
CMakeFiles/Makefile2:1454: recipe for target 'ros_deep_learning/CMakeFiles/segnet.dir/all' failed
make[1]: *** [ros_deep_learning/CMakeFiles/segnet.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 11%] Building CXX object jetbot_ros/CMakeFiles/jetbot_camera.dir/src/image_converter.cpp.o
[ 15%] Linking CXX executable /home/jetbot/workspace/catkin_ws/devel/lib/jetbot_ros/jetbot_camera
[ 15%] Built target jetbot_camera
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j2 -l2" failed
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#30 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADVEGK2PWWUDZIGD4D5NCBDR6NRMNANCNFSM4PIMMZOQ>.
|
Just wondered is this fixed now as i have the same issue when doing 1st time install on new jetbot ? |
checkout the branch 0ad346df2b712d19d5647d8d45886fe1279efda8 of ros_deep_learning and use that with the 20200714 branch of the jetson-inference |
checkout the branch 0ad346df2b712d19d5647d8d45886fe1279efda8 of ros_deep_learning and use that with the 20200714 branch of the jetson-inference |
Are you able to sends the pwm commands to the motor controller, did test Motor Commands have worked on your Robot? |
Sorry for the delay - this |
Hello, I met the same problem with you. Have you solved it? |
I tried downloading ros for by jetbot. [ 42%] Building CXX object CMakeFiles/jetson-inference.dir/plugins/FlattenConcat.cpp.o Is this a known issue? - How do i resolve this? |
I am getting error while building the package jetbot_ros on my nvidia jetbot.
Attached the error logs
jetbot@jetson-4-3:~/workspace/catkin_ws$ catkin_make
Base path: /home/jetbot/workspace/catkin_ws
Source space: /home/jetbot/workspace/catkin_ws/src
Build space: /home/jetbot/workspace/catkin_ws/build
Devel space: /home/jetbot/workspace/catkin_ws/devel
.
.
.
[ 26%] Building CXX object jetbot_ros/CMakeFiles/jetbot_camera.dir/src/jetbot_camera.cpp.o
[ 46%] Built target detectnet
[ 53%] Building CXX object jetbot_ros/CMakeFiles/jetbot_camera.dir/src/image_converter.cpp.o
In file included from /usr/local/include/jetson-utils/cudaRGB.h:27:0,
from /home/jetbot/workspace/catkin_ws/src/jetbot_ros/src/image_converter.cpp:25:
/home/jetbot/workspace/catkin_ws/src/jetbot_ros/src/image_converter.cpp: In member function ‘bool imageConverter::Convert(const ImageConstPtr&)’:
/home/jetbot/workspace/catkin_ws/src/jetbot_ros/src/image_converter.cpp:83:18: error: ‘cudaBGR8ToRGBA32’ was not declared in this scope
/home/jetbot/workspace/catkin_ws/src/jetbot_ros/src/image_converter.cpp: In member function ‘bool imageConverter::Convert(sensor_msgs::Image&, const string&, float*)’:
/home/jetbot/workspace/catkin_ws/src/jetbot_ros/src/image_converter.cpp:106:19: error: ‘cudaRGBA32ToBGR8’ was not declared in this scope
if( CUDA_FAILED(cudaRGBA32ToBGR8((float4*)imageGPU, (uchar3*)mInputGPU, mWidth, mHeight)) )
^
/home/jetbot/workspace/catkin_ws/src/jetbot_ros/src/image_converter.cpp:106:19: note: suggested alternative: ‘cudaRGBA32ToRGB8’
/home/jetbot/workspace/catkin_ws/src/jetbot_ros/src/image_converter.cpp:126:19: error: ‘cudaRGBA32ToBGRA8’ was not declared in this scope
if( CUDA_FAILED(cudaRGBA32ToBGRA8((float4*)imageGPU, (uchar4*)mInputGPU, mWidth, mHeight)) )
^
/home/jetbot/workspace/catkin_ws/src/jetbot_ros/src/image_converter.cpp:126:19: note: suggested alternative: ‘cudaRGBA32ToRGBA8’
jetbot_ros/CMakeFiles/jetbot_camera.dir/build.make:86: recipe for target 'jetbot_ros/CMakeFiles/jetbot_camera.dir/src/image_converter.cpp.o' failed
make[2]: *** [jetbot_ros/CMakeFiles/jetbot_camera.dir/src/image_converter.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 73%] Built target segnet
[ 93%] Built target imagenet
CMakeFiles/Makefile2:615: recipe for target 'jetbot_ros/CMakeFiles/jetbot_camera.dir/all' failed
make[1]: *** [jetbot_ros/CMakeFiles/jetbot_camera.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j2 -l2" failed
The text was updated successfully, but these errors were encountered: