-
Notifications
You must be signed in to change notification settings - Fork 10
[Bug] ndt_gpu not built using catkin_make_release/colcon_release on ros kinetic gpu desktop #599
Comments
@manikantarav |
Now i build using catkin_make_release. But same error. Here i shared the logs. please check and [ 42%] Generating Javascript code from autoware_msgs/ImageRect.msg [ 42%] Generating EusLisp code from vector_map_msgs/Point.msg |
we are currently resolving issues that arise with CUDA 10 (@amc-nu ) you need to use CUDA 9 for now |
This is caused by your CUDA version. Downgrade to cuda 9. |
CMakeError.log Thank you for quick reply. now i Downgraded it to CUDA 9. still couldnot build. can you check once. @amc-nu @sgermanserrano [ 1%] Linking CXX executable /home/kpit/manikanta/Autoware/ros/devel/lib/adi_driver/adis16470_node |
@manikantarav Your GPU architecture ( In the meantime, probably you can try to use |
@amc-nu now i switched to Cuda 10, and compiled using catkin_make_release. Now everything working fine. About docker, i tried it one week back. i didnt save any logs. But rviz was not working that time, then i switched to source installation. Thank you for help anyway. |
@manikantarav very probably you were using nvidia-docker 2, the docker image for Autoware <= v1.10 requires nvidia-docker v1. autowarefoundation/autoware#1946 will bring support for it on 1.11. Thanks for reporting back the result. |
@manikantarav I met the same problem, and now, I use RTX 2080ti. Please tell me which branch you used in Autoware, and which version for the nvidia driver and CUDA. |
Thanks for using Autoware and for your question. However the issue tracker is for posting confirmed bugs and feature requests. We ask that you please ask questions on the Autoware Discourse category following our support guidelines: https://github.com/CPFL/Autoware/wiki/Support-guidelines. Please pay particular attention to the information we ask you to provide. |
I also encountered this bug in melodic with PCL 1.8 and CUDA 10.1. It's not ideal, but I found that as a temporary workaround you can simply comment out / remove the friend boost::shared_ptr& detail::getMapping(pcl::PointCloud &p); line and make |
I git cloned the autoware recent release. at last step, after ./calcon_release, ndt_gpu package could not built, giving error. i posted log here. same issue, if even use catkin_make_release
Bug
Expected Behavior
Autoware should have been bulit successfully.
Actual Behavior
ptxas info : Used 56 registers, 144 bytes smem, 448 bytes cmem[0]
ptxas info : Compiling entry function 'ZN3gpu20computePointHessian0EPfS0_S0_iPiiPdS2_S2_S2_S2_S2_S2_S2_S2_S2_S2_S2_S2_S2_S2_S2' for 'sm_52'
ptxas info : Function properties for ZN3gpu20computePointHessian0EPfS0_S0_iPiiPdS2_S2_S2_S2_S2_S2_S2_S2_S2_S2_S2_S2_S2_S2_S2
0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info : Used 56 registers, 144 bytes smem, 496 bytes cmem[0]
ptxas info : Compiling entry function 'ZN3gpu22computePointGradients1EPfS0_S0_iPiiPdS2_S2_S2_S2' for 'sm_52'
ptxas info : Function properties for ZN3gpu22computePointGradients1EPfS0_S0_iPiiPdS2_S2_S2_S2
0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info : Used 40 registers, 96 bytes smem, 408 bytes cmem[0]
ptxas info : Compiling entry function 'ZN3gpu22computePointGradients0EPfS0_S0_iPiiPdS2_S2_S2_S2_S2_S2_S2' for 'sm_52'
ptxas info : Function properties for ZN3gpu22computePointGradients0EPfS0_S0_iPiiPdS2_S2_S2_S2_S2_S2_S2
0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info : Used 40 registers, 96 bytes smem, 432 bytes cmem[0]
/usr/include/pcl-1.7/pcl/point_cloud.h:586:100: error: template-id ‘getMapping’ used as a declarator
friend boost::shared_ptr& detail::getMapping(pcl::PointCloud &p);
^
/usr/include/pcl-1.7/pcl/point_cloud.h:586:100: error: ‘getMapping’ is neither function nor member function; cannot be declared friend
cc1plus: error: expected ‘;’ at end of member declaration
/usr/include/pcl-1.7/pcl/point_cloud.h:586:111: error: expected ‘)’ before ‘&’ token
CMake Error at ndt_gpu_generated_NormalDistributionsTransform.cu.o.cmake:266 (message):
Error generating file
/home/kpit/manikanta/Autoware/ros/build/ndt_gpu/CMakeFiles/ndt_gpu.dir/src/./ndt_gpu_generated_NormalDistributionsTransform.cu.o
make[2]: *** [CMakeFiles/ndt_gpu.dir/src/ndt_gpu_generated_NormalDistributionsTransform.cu.o] Error 1
CMakeFiles/ndt_gpu.dir/build.make:77: recipe for target 'CMakeFiles/ndt_gpu.dir/src/ndt_gpu_generated_NormalDistributionsTransform.cu.o' failed
CMakeFiles/Makefile2:259: recipe for target 'CMakeFiles/ndt_gpu.dir/all' failed
make[1]: *** [CMakeFiles/ndt_gpu.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Steps to Reproduce the Problem
1.clone Autoware
2. ./colcon_release or ./catkin_make_release
Specifications
streams.log
command.log
stdout_stderr.log
The text was updated successfully, but these errors were encountered: