Skip to content
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

catkin build error #13

Open
yzl96 opened this issue Sep 28, 2019 · 1 comment
Open

catkin build error #13

yzl96 opened this issue Sep 28, 2019 · 1 comment

Comments

@yzl96
Copy link

yzl96 commented Sep 28, 2019

nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
/home/yx/shared_dir/apollo_perception_ros/src/perception/apollo_perception_ros/include/cuda_util/util.h(60): error: namespace "std" has no member "shared_ptr"

/home/yx/shared_dir/apollo_perception_ros/src/perception/apollo_perception_ros/include/cuda_util/util.h(60): error: expected a ")"

/home/yx/shared_dir/apollo_perception_ros/src/perception/apollo_perception_ros/include/cuda_util/util.h(63): error: namespace "std" has no member "shared_ptr"

/home/yx/shared_dir/apollo_perception_ros/src/perception/apollo_perception_ros/include/cuda_util/util.h(63): error: expected a ")"

/home/yx/shared_dir/apollo_perception_ros/src/perception/apollo_perception_ros/src/cuda_util/util.cu(133): error: namespace "std" has no member "shared_ptr"

/home/yx/shared_dir/apollo_perception_ros/src/perception/apollo_perception_ros/src/cuda_util/util.cu(133): error: expected a ")"

/home/yx/shared_dir/apollo_perception_ros/src/perception/apollo_perception_ros/src/cuda_util/util.cu(145): error: identifier "src_gpu" is undefined

/home/yx/shared_dir/apollo_perception_ros/src/perception/apollo_perception_ros/src/cuda_util/util.cu(145): error: identifier "nullptr" is undefined

/home/yx/shared_dir/apollo_perception_ros/src/perception/apollo_perception_ros/src/cuda_util/util.cu(155): error: namespace "std" has no member "shared_ptr"

/home/yx/shared_dir/apollo_perception_ros/src/perception/apollo_perception_ros/src/cuda_util/util.cu(155): error: expected a ")"

/home/yx/shared_dir/apollo_perception_ros/src/perception/apollo_perception_ros/src/cuda_util/util.cu(155): error: function "apollo_perception_standalone::resize" has already been defined

/home/yx/shared_dir/apollo_perception_ros/src/perception/apollo_perception_ros/src/cuda_util/util.cu(168): error: identifier "src_gpu" is undefined

/home/yx/shared_dir/apollo_perception_ros/src/perception/apollo_perception_ros/src/cuda_util/util.cu(168): error: identifier "nullptr" is undefined

/home/yx/shared_dir/apollo_perception_ros/src/perception/apollo_perception_ros/src/cuda_util/util.cu(175): error: identifier "mean_b" is undefined

/home/yx/shared_dir/apollo_perception_ros/src/perception/apollo_perception_ros/src/cuda_util/util.cu(175): error: identifier "mean_g" is undefined

/home/yx/shared_dir/apollo_perception_ros/src/perception/apollo_perception_ros/src/cuda_util/util.cu(175): error: identifier "mean_r" is undefined

/home/yx/shared_dir/apollo_perception_ros/src/perception/apollo_perception_ros/src/cuda_util/util.cu(175): error: identifier "scale" is undefined

17 errors detected in the compilation of "/tmp/tmpxft_00004cb3_00000000-7_util.cpp1.ii".
CMake Error at cuda_util_lib_generated_util.cu.o.cmake:264 (message):
Error generating file
/home/yx/shared_dir/apollo_perception_ros/build/apollo_perception_ros/src/CMakeFiles/cuda_util_lib.dir/cuda_util/./cuda_util_lib_generated_util.cu.o

make[2]: *** [src/CMakeFiles/cuda_util_lib.dir/cuda_util/./cuda_util_lib_generated_util.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/CMakeFiles/cuda_util_lib.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2

@yzl96 yzl96 changed the title cmake build error catkin build error Sep 28, 2019
@Royzon
Copy link

Royzon commented May 30, 2021

I have encountered this problem too. Have you solved it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants