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

build problem #47

Open
brian890815 opened this issue Jan 8, 2024 · 1 comment
Open

build problem #47

brian890815 opened this issue Jan 8, 2024 · 1 comment

Comments

@brian890815
Copy link

Hi, I got the following build error (after catkin_make):
what could be the problem?

CMake Error at /home/vccl/catkin_ws/build/ros_comm/clients/roscpp/cmake/roscpp-genmsg.cmake:79 (add_custom_target):
add_custom_target cannot create target "roscpp_generate_messages_cpp"
because another target with the same name already exists. The existing
target is a custom target created in source directory
"/home/vccl/catkin_ws/src/imu_utils". See documentation for policy CMP0002
for more details.
Call Stack (most recent call first):
/opt/ros/melodic/share/genmsg/cmake/genmsg-extras.cmake:307 (include)
ros_comm/clients/roscpp/CMakeLists.txt:41 (generate_messages)

CMake Error at /home/vccl/catkin_ws/build/ros_comm/clients/roscpp/cmake/roscpp-genmsg.cmake:136 (add_custom_target):
add_custom_target cannot create target "roscpp_generate_messages_eus"
because another target with the same name already exists. The existing
target is a custom target created in source directory
"/home/vccl/catkin_ws/src/imu_utils". See documentation for policy CMP0002
for more details.
Call Stack (most recent call first):
/opt/ros/melodic/share/genmsg/cmake/genmsg-extras.cmake:307 (include)
ros_comm/clients/roscpp/CMakeLists.txt:41 (generate_messages)

CMake Error at /home/vccl/catkin_ws/build/ros_comm/clients/roscpp/cmake/roscpp-genmsg.cmake:193 (add_custom_target):
add_custom_target cannot create target "roscpp_generate_messages_lisp"
because another target with the same name already exists. The existing
target is a custom target created in source directory
"/home/vccl/catkin_ws/src/imu_utils". See documentation for policy CMP0002
for more details.
Call Stack (most recent call first):
/opt/ros/melodic/share/genmsg/cmake/genmsg-extras.cmake:307 (include)
ros_comm/clients/roscpp/CMakeLists.txt:41 (generate_messages)

CMake Error at /home/vccl/catkin_ws/build/ros_comm/clients/roscpp/cmake/roscpp-genmsg.cmake:250 (add_custom_target):
add_custom_target cannot create target "roscpp_generate_messages_nodejs"
because another target with the same name already exists. The existing
target is a custom target created in source directory
"/home/vccl/catkin_ws/src/imu_utils". See documentation for policy CMP0002
for more details.
Call Stack (most recent call first):
/opt/ros/melodic/share/genmsg/cmake/genmsg-extras.cmake:307 (include)
ros_comm/clients/roscpp/CMakeLists.txt:41 (generate_messages)

CMake Error at /home/vccl/catkin_ws/build/ros_comm/clients/roscpp/cmake/roscpp-genmsg.cmake:307 (add_custom_target):
add_custom_target cannot create target "roscpp_generate_messages_py"
because another target with the same name already exists. The existing
target is a custom target created in source directory
"/home/vccl/catkin_ws/src/imu_utils". See documentation for policy CMP0002
for more details.
Call Stack (most recent call first):
/opt/ros/melodic/share/genmsg/cmake/genmsg-extras.cmake:307 (include)
ros_comm/clients/roscpp/CMakeLists.txt:41 (generate_messages)

-- +++ processing catkin package: 'navigation'
-- ==> add_subdirectory(navigation)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- +++ processing catkin package: 'octomap_server'
-- ==> add_subdirectory(octomap_mapping/octomap_server)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- +++ processing catkin package: 'navi_multi_goals_pub_rviz_plugin'
-- ==> add_subdirectory(rviz_navi_multi_goals_pub_plugin/navi_multi_goals_pub_rviz_plugin)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Using Qt5 based on the rviz_QT_VERSION: 5.9.5
-- +++ processing catkin package: 'dwa_local_planner'
-- ==> add_subdirectory(dwa_local_planner)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- +++ processing catkin package: 'xsens_mti_driver'
-- ==> add_subdirectory(xsens_ros_mti_driver)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Configuring incomplete, errors occurred!
See also "/home/vccl/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/vccl/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed

@ESSEOGHENNA
Copy link

bro pls give me something more exclusive

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