Giter Club home page Giter Club logo

Comments (6)

cray168 avatar cray168 commented on September 13, 2024

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

from gaas.

cray168 avatar cray168 commented on September 13, 2024

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

from gaas.

wangjiac1 avatar wangjiac1 commented on September 13, 2024

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

报啥错了

from gaas.

cray168 avatar cray168 commented on September 13, 2024

Uploading 1.jpg…

from gaas.

cray168 avatar cray168 commented on September 13, 2024

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)

from gaas.

wangjiac1 avatar wangjiac1 commented on September 13, 2024

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)

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

from gaas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.