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

CMake Error while compiling. #57

Open
rs1990 opened this issue Jan 8, 2016 · 5 comments
Open

CMake Error while compiling. #57

rs1990 opened this issue Jan 8, 2016 · 5 comments

Comments

@rs1990
Copy link

rs1990 commented Jan 8, 2016

Hello,

Everytime i try to compile this on my odroid i keep getting thie following error.

Any help?

......
Marking SHARED CONTENT FOLDER "launch" of package "geodetic_utils" for installation
-- +++ processing catkin package: 'asctec_hl_gps'
-- ==> add_subdirectory(asctec_mav_framework/asctec_hl_gps)
-- Using these message generators: gencpp;genlisp;genpy
-- Eigen found (include: /usr/include/eigen3)
CMake Error at asctec_mav_framework/asctec_hl_gps/CMakeLists.txt:32 (add_executable):
add_executable cannot create target "set_gps_reference_node" because
another target with the same name already exists. The existing target is
an executable created in source directory
"/home/odroid/indigo_ws/src/geodetic_utils". See documentation for policy
CMP0002 for more details.

CMake Error at asctec_mav_framework/asctec_hl_gps/CMakeLists.txt:34 (target_link_libraries):
Attempt to add link library "/opt/ros/indigo/lib/libroslib.so" to target
"set_gps_reference_node" which is not built in this directory.

CMake Error at asctec_mav_framework/asctec_hl_gps/CMakeLists.txt:34 (target_link_libraries):
Attempt to add link library "/opt/ros/indigo/lib/libtf.so" to target
"set_gps_reference_node" which is not built in this directory.

CMake Error at asctec_mav_framework/asctec_hl_gps/CMakeLists.txt:34 (target_link_libraries):
Attempt to add link library "/opt/ros/indigo/lib/libtf2_ros.so" to target
"set_gps_reference_node" which is not built in this directory.

CMake Error at asctec_mav_framework/asctec_hl_gps/CMakeLists.txt:34 (target_link_libraries):
Attempt to add link library "/opt/ros/indigo/lib/libactionlib.so" to target
"set_gps_reference_node" which is not built in this directory.

CMake Error at asctec_mav_framework/asctec_hl_gps/CMakeLists.txt:34 (target_link_libraries):
Attempt to add link library "/opt/ros/indigo/lib/libmessage_filters.so" to
target "set_gps_reference_node" which is not built in this directory.

CMake Error at asctec_mav_framework/asctec_hl_gps/CMakeLists.txt:34 (target_link_libraries):
Attempt to add link library "/opt/ros/indigo/lib/libroscpp.so" to target
"set_gps_reference_node" which is not built in this directory.

CMake Error at asctec_mav_framework/asctec_hl_gps/CMakeLists.txt:34 (target_link_libraries):
Attempt to add link library
"/usr/lib/arm-linux-gnueabihf/libboost_signals.so" to target
"set_gps_reference_node" which is not built in this directory.

CMake Error at asctec_mav_framework/asctec_hl_gps/CMakeLists.txt:34 (target_link_libraries):
Attempt to add link library
"/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so" to target
"set_gps_reference_node" which is not built in this directory.

CMake Error at asctec_mav_framework/asctec_hl_gps/CMakeLists.txt:34 (target_link_libraries):
Attempt to add link library "/opt/ros/indigo/lib/libxmlrpcpp.so" to target
"set_gps_reference_node" which is not built in this directory.

CMake Error at asctec_mav_framework/asctec_hl_gps/CMakeLists.txt:34 (target_link_libraries):
Attempt to add link library "/opt/ros/indigo/lib/libtf2.so" to target
"set_gps_reference_node" which is not built in this directory.

CMake Error at asctec_mav_framework/asctec_hl_gps/CMakeLists.txt:34 (target_link_libraries):
Attempt to add link library "/opt/ros/indigo/lib/librosconsole.so" to
target "set_gps_reference_node" which is not built in this directory.

CMake Error at asctec_mav_framework/asctec_hl_gps/CMakeLists.txt:34 (target_link_libraries):
Attempt to add link library "/opt/ros/indigo/lib/librosconsole_log4cxx.so"
to target "set_gps_reference_node" which is not built in this directory.

CMake Error at asctec_mav_framework/asctec_hl_gps/CMakeLists.txt:34 (target_link_libraries):
Attempt to add link library
"/opt/ros/indigo/lib/librosconsole_backend_interface.so" to target
"set_gps_reference_node" which is not built in this directory.

CMake Error at asctec_mav_framework/asctec_hl_gps/CMakeLists.txt:34 (target_link_libraries):
Attempt to add link library "/usr/lib/liblog4cxx.so" to target
"set_gps_reference_node" which is not built in this directory.

CMake Error at asctec_mav_framework/asctec_hl_gps/CMakeLists.txt:34 (target_link_libraries):
Attempt to add link library
"/usr/lib/arm-linux-gnueabihf/libboost_regex.so" to target
"set_gps_reference_node" which is not built in this directory.

CMake Error at asctec_mav_framework/asctec_hl_gps/CMakeLists.txt:34 (target_link_libraries):
Attempt to add link library
"/opt/ros/indigo/lib/libroscpp_serialization.so" to target
"set_gps_reference_node" which is not built in this directory.

CMake Error at asctec_mav_framework/asctec_hl_gps/CMakeLists.txt:34 (target_link_libraries):
Attempt to add link library "/opt/ros/indigo/lib/librostime.so" to target
"set_gps_reference_node" which is not built in this directory.

CMake Error at asctec_mav_framework/asctec_hl_gps/CMakeLists.txt:34 (target_link_libraries):
Attempt to add link library
"/usr/lib/arm-linux-gnueabihf/libboost_date_time.so" to target
"set_gps_reference_node" which is not built in this directory.

CMake Error at asctec_mav_framework/asctec_hl_gps/CMakeLists.txt:34 (target_link_libraries):
Attempt to add link library "/opt/ros/indigo/lib/libcpp_common.so" to
target "set_gps_reference_node" which is not built in this directory.

CMake Error at asctec_mav_framework/asctec_hl_gps/CMakeLists.txt:34 (target_link_libraries):
Attempt to add link library
"/usr/lib/arm-linux-gnueabihf/libboost_system.so" to target
"set_gps_reference_node" which is not built in this directory.

CMake Error at asctec_mav_framework/asctec_hl_gps/CMakeLists.txt:34 (target_link_libraries):
Attempt to add link library
"/usr/lib/arm-linux-gnueabihf/libboost_thread.so" to target
"set_gps_reference_node" which is not built in this directory.

CMake Error at asctec_mav_framework/asctec_hl_gps/CMakeLists.txt:34 (target_link_libraries):
Attempt to add link library "/usr/lib/arm-linux-gnueabihf/libpthread.so" to
target "set_gps_reference_node" which is not built in this directory.

CMake Error at asctec_mav_framework/asctec_hl_gps/CMakeLists.txt:34 (target_link_libraries):
Attempt to add link library
"/usr/lib/arm-linux-gnueabihf/libconsole_bridge.so" to target
"set_gps_reference_node" which is not built in this directory.

-- +++ processing catkin package: 'msf_core'
-- ==> add_subdirectory(ethzasl_msf/msf_core)
-- Using these message generators: gencpp;genlisp;genpy
-- Eigen found (include: /usr/include/eigen3)
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- +++ processing catkin package: 'msf_distort'
-- ==> add_subdirectory(ethzasl_msf/msf_distort)
-- Using these message generators: gencpp;genlisp;genpy
-- +++ processing catkin package: 'msf_updates'
-- ==> add_subdirectory(ethzasl_msf/msf_updates)
-- Using these message generators: gencpp;genlisp;genpy
-- +++ processing catkin package: 'vikit_common'
-- ==> add_subdirectory(rpg_vikit/vikit_common)
-- Eigen found (include: /usr/include/eigen3)
-- +++ processing catkin package: 'vikit_py'
-- ==> add_subdirectory(rpg_vikit/vikit_py)
-- +++ processing catkin package: 'vikit_ros'
-- ==> add_subdirectory(rpg_vikit/vikit_ros)
-- Using these message generators: gencpp;genlisp;genpy
-- Eigen found (include: /usr/include/eigen3)
-- +++ processing catkin package: 'svo'
-- ==> add_subdirectory(rpg_svo/svo)
-- Eigen found (include: /usr/include/eigen3)
-- Boost version: 1.54.0
-- Found the following Boost libraries:
-- thread
-- system
-- Using these message generators: gencpp;genlisp;genpy
-- +++ processing catkin package: 'svo_ros'
-- ==> add_subdirectory(rpg_svo/svo_ros)
-- Using these message generators: gencpp;genlisp;genpy
-- Eigen found (include: /usr/include/eigen3)
-- Boost version: 1.54.0
-- Found the following Boost libraries:
-- thread
-- Configuring incomplete, errors occurred!
See also "/home/odroid/indigo_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/odroid/indigo_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
odroid@bat:~/indigo_ws$

@helenol
Copy link
Collaborator

helenol commented Jan 11, 2016

DId you also try installing the https://github.com/ethz-asl/geodetic_utils library?

@rs1990
Copy link
Author

rs1990 commented Jan 13, 2016

Hi i installed geodetic_utils but its still giving me the same error.

@helenol
Copy link
Collaborator

helenol commented Jan 14, 2016

Try pulling up to master; I've removed the dep on the library in the latest version.

@rs1990
Copy link
Author

rs1990 commented Jan 20, 2016

hi im still getting the same error. even with the master branch. any solution ?

@helenol
Copy link
Collaborator

helenol commented Jan 20, 2016

You should definitely not be getting it with the master branch, as the version of hl_gps no longer has that dependency. Try catkin clean --all and catkin build asctec_mav_framework

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