ethz-asl / asctec_mav_framework

Framework for data aquisition and position control to be used with the highlevel processor of Ascending Technologies helicopters
http://www.ros.org/wiki/asctec_mav_framework
36 stars 40 forks source link

CMake Error while compiling. #57

Open rs1990 opened 8 years ago

rs1990 commented 8 years ago

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 commented 8 years ago

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

rs1990 commented 8 years ago

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

helenol commented 8 years ago

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

rs1990 commented 8 years ago

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

helenol commented 8 years ago

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