generalized-intelligence / GAAS

GAAS is an open-source program designed for fully autonomous VTOL(a.k.a flying cars) and drones. GAAS stands for Generalized Autonomy Aviation System.
https://www.gaas.dev
BSD 3-Clause "New" or "Revised" License
1.88k stars 441 forks source link

double free or corruption (!prev) when roslaunch registration_localization ndt.launch #154

Open wangjiac1 opened 1 month ago

wangjiac1 commented 1 month ago

Prerequisites

Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

Issue Template

Context

Please provide any relevant information about your setup.

Expected Behavior

Current Behavior

I run ./build_all.sh and build all successful,but when I run roslaunch registration_localization ndt.launch,it occurs an error "double free or corruption (!prev) .

Screenshots

image

Failure Logs

Copy console log and paste it here.

cray168 commented 3 weeks ago

请问问题解决了么,我这边./build不成功是怎么回事呢

cray168 commented 3 weeks ago

请问问题解决了么,我这边./build不成功是怎么回事呢

wangjiac1 commented 3 weeks ago

请问问题解决了么,我这边./build不成功是怎么回事呢

报啥错了

cray168 commented 3 weeks ago

![Uploading 1.jpg…]()

cray168 commented 3 weeks ago

CMake Error at LocalizationAndMapping/registration_localization/CMakeLists.txt:104 (add_executable): add_executable cannot create target "map_publisher" because another target with the same name already exists. The existing target is an executable created in source directory "/home/yangzining/111/GAAS/algorithms/src/LocalizationAndMapping/lidar_localization". See documentation for policy CMP0002 for more details.

CMake Error at LocalizationAndMapping/registration_localization/CMakeLists.txt:105 (target_link_libraries): Attempt to add link library "opencv_calib3d" to target "map_publisher" which is not built in this directory.

This is allowed only when policy CMP0079 is set to NEW.

CMake Error at LocalizationAndMapping/registration_localization/CMakeLists.txt:108 (add_library): add_library cannot create target "fast_gicp" because another target with the same name already exists. The existing target is a shared library created in source directory "/home/yangzining/111/GAAS/algorithms/src/LocalizationAndMapping/icp_lidar_localization". See documentation for policy CMP0002 for more details.

CMake Error at LocalizationAndMapping/registration_localization/CMakeLists.txt:114 (target_link_libraries): Attempt to add link library "pcl_common" to target "fast_gicp" which is not built in this directory.

This is allowed only when policy CMP0079 is set to NEW.

CMake Error at /usr/local/share/cmake-3.23/Modules/FindCUDA.cmake:1985 (add_library): add_library cannot create target "fast_vgicp_cuda" because another target with the same name already exists. The existing target is a shared library created in source directory "/home/yangzining/111/GAAS/algorithms/src/LocalizationAndMapping/icp_lidar_localization". See documentation for policy CMP0002 for more details. Call Stack (most recent call first): LocalizationAndMapping/registration_localization/CMakeLists.txt:130 (cuda_add_library)

CMake Error at LocalizationAndMapping/registration_localization/CMakeLists.txt:150 (target_link_libraries): Attempt to add link library "/opt/ros/noetic/lib/libcv_bridge.so" to target "fast_vgicp_cuda" which is not built in this directory.

This is allowed only when policy CMP0079 is set to NEW.

CMake Error at /usr/local/share/cmake-3.23/Modules/FindCUDA.cmake:2147 (target_link_libraries): Attempt to add link library "/usr/local/cuda/lib64/libcublas.so" to target "fast_vgicp_cuda" which is not built in this directory.

This is allowed only when policy CMP0079 is set to NEW. Call Stack (most recent call first): LocalizationAndMapping/registration_localization/CMakeLists.txt:153 (cuda_add_cublas_to_target)

wangjiac1 commented 3 weeks ago

CMake Error at LocalizationAndMapping/registration_localization/CMakeLists.txt:104 (add_executable): add_executable cannot create target "map_publisher" because another target with the same name already exists. The existing target is an executable created in source directory "/home/yangzining/111/GAAS/algorithms/src/LocalizationAndMapping/lidar_localization". See documentation for policy CMP0002 for more details.

CMake Error at LocalizationAndMapping/registration_localization/CMakeLists.txt:105 (target_link_libraries): Attempt to add link library "opencv_calib3d" to target "map_publisher" which is not built in this directory.

This is allowed only when policy CMP0079 is set to NEW.

CMake Error at LocalizationAndMapping/registration_localization/CMakeLists.txt:108 (add_library): add_library cannot create target "fast_gicp" because another target with the same name already exists. The existing target is a shared library created in source directory "/home/yangzining/111/GAAS/algorithms/src/LocalizationAndMapping/icp_lidar_localization". See documentation for policy CMP0002 for more details.

CMake Error at LocalizationAndMapping/registration_localization/CMakeLists.txt:114 (target_link_libraries): Attempt to add link library "pcl_common" to target "fast_gicp" which is not built in this directory.

This is allowed only when policy CMP0079 is set to NEW.

CMake Error at /usr/local/share/cmake-3.23/Modules/FindCUDA.cmake:1985 (add_library): add_library cannot create target "fast_vgicp_cuda" because another target with the same name already exists. The existing target is a shared library created in source directory "/home/yangzining/111/GAAS/algorithms/src/LocalizationAndMapping/icp_lidar_localization". See documentation for policy CMP0002 for more details. Call Stack (most recent call first): LocalizationAndMapping/registration_localization/CMakeLists.txt:130 (cuda_add_library)

CMake Error at LocalizationAndMapping/registration_localization/CMakeLists.txt:150 (target_link_libraries): Attempt to add link library "/opt/ros/noetic/lib/libcv_bridge.so" to target "fast_vgicp_cuda" which is not built in this directory.

This is allowed only when policy CMP0079 is set to NEW.

CMake Error at /usr/local/share/cmake-3.23/Modules/FindCUDA.cmake:2147 (target_link_libraries): Attempt to add link library "/usr/local/cuda/lib64/libcublas.so" to target "fast_vgicp_cuda" which is not built in this directory.

This is allowed only when policy CMP0079 is set to NEW. Call Stack (most recent call first): LocalizationAndMapping/registration_localization/CMakeLists.txt:153 (cuda_add_cublas_to_target)

定位的那三个包可执行文件的名字重复了,把名字改一下或者只编译其中一个就可以了