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

compiling error asctec_mav_framework #58

Open wkyoun opened 8 years ago

wkyoun commented 8 years ago

I tried to catkin_make as described in following webpages:

But compling error is as following:

https://pixhawk.org/dev/ros/visual_estimation


CMake Error at asctec_mav_framework/asctec_hl_gps/CMakeLists.txt:34 (target_link_libraries): Attempt to add link library "/usr/lib/x86_64-linux-gnu/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/x86_64-linux-gnu/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/x86_64-linux-gnu/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/x86_64-linux-gnu/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/x86_64-linux-gnu/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/x86_64-linux-gnu/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/x86_64-linux-gnu/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/x86_64-linux-gnu/libconsole_bridge.so" to target "set_gps_reference_node" which is not built in this directory.

-- +++ processing catkin package: 'kobuki_softnode' -- ==> add_subdirectory(kobuki_soft/kobuki_softnode) -- Using these message generators: gencpp;geneus;genlisp;genpy -- +++ processing catkin package: 'map_server' -- ==> add_subdirectory(navigation/map_server) -- Using these message generators: gencpp;geneus;genlisp;genpy -- Boost version: 1.54.0 -- Found the following Boost libraries: -- system -- +++ processing catkin package: 'amcl' -- ==> add_subdirectory(navigation/amcl) -- Using these message generators: gencpp;geneus;genlisp;genpy -- Boost version: 1.54.0 -- +++ processing catkin package: 'msf_core' -- ==> add_subdirectory(ethzasl_msf/msf_core) -- Using these message generators: gencpp;geneus;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;geneus;genlisp;genpy -- +++ processing catkin package: 'msf_updates' -- ==> add_subdirectory(ethzasl_msf/msf_updates) -- Using these message generators: gencpp;geneus;genlisp;genpy -- +++ processing catkin package: 'px4' -- ==> add_subdirectory(Firmware) -- ros-sitl-simple -- Using these message generators: gencpp;geneus;genlisp;genpy -- Eigen found (include: /usr/include/eigen3) -- px4: 23 messages, 0 services -- +++ processing catkin package: 'robot_pose_ekf' -- ==> add_subdirectory(navigation/robot_pose_ekf) -- Using these message generators: gencpp;geneus;genlisp;genpy -- Boost version: 1.54.0 -- Found the following Boost libraries: -- thread -- robot_pose_ekf: 0 messages, 1 services -- +++ processing catkin package: 'gazebo_plugins' -- ==> add_subdirectory(gazebo_ros_pkgs/gazebo_plugins) -- Using these message generators: gencpp;geneus;genlisp;genpy -- Boost version: 1.54.0 -- Found the following Boost libraries: -- thread -- signals -- system -- filesystem -- program_options -- regex -- iostreams -- date_time -- Boost version: 1.54.0 -- Boost version: 1.54.0 -- Found the following Boost libraries: -- thread -- +++ processing catkin package: 'gazebo_ros_control' -- ==> add_subdirectory(gazebo_ros_pkgs/gazebo_ros_control) -- Boost version: 1.54.0 -- Found the following Boost libraries: -- thread -- signals -- system -- filesystem -- program_options -- regex -- iostreams -- date_time -- Boost version: 1.54.0 -- +++ processing catkin package: 'mavros_extras' -- ==> add_subdirectory(mavros/mavros_extras) -- Using these message generators: gencpp;geneus;genlisp;genpy -- Boost version: 1.54.0 -- Found the following Boost libraries: -- system CMake Warning at mavros/mavros_extras/CMakeLists.txt:23 (find_package): By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Eigen3", but CMake did not find one.

Could not find a package configuration file provided by "Eigen3" with any of the following names:

Eigen3Config.cmake
eigen3-config.cmake

Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set "Eigen3_DIR" to a directory containing one of the above files. If "Eigen3" provides a separate development package or SDK, be sure it has been installed.

-- Eigen found (include: /usr/include/eigen3) -- Selected MAVLink dialect: ardupilotmega -- +++ processing catkin package: 'test_mavros' -- ==> add_subdirectory(mavros/test_mavros) -- Using these message generators: gencpp;geneus;genlisp;genpy -- Boost version: 1.54.0 -- Found the following Boost libraries: -- system CMake Warning at mavros/test_mavros/CMakeLists.txt:23 (find_package): By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Eigen3", but CMake did not find one.

Could not find a package configuration file provided by "Eigen3" with any of the following names:

Eigen3Config.cmake
eigen3-config.cmake

Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set "Eigen3_DIR" to a directory containing one of the above files. If "Eigen3" provides a separate development package or SDK, be sure it has been installed.

-- Eigen found (include: /usr/include/eigen3) -- +++ 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;geneus;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;geneus;genlisp;genpy -- +++ processing catkin package: 'svo_ros' -- ==> add_subdirectory(rpg_svo/svo_ros) -- Using these message generators: gencpp;geneus;genlisp;genpy -- Eigen found (include: /usr/include/eigen3) -- Boost version: 1.54.0 -- Found the following Boost libraries: -- thread -- +++ processing catkin package: 'voxel_grid' -- ==> add_subdirectory(navigation/voxel_grid) -- +++ processing catkin package: 'costmap_2d' -- ==> add_subdirectory(navigation/costmap_2d) -- Using these message generators: gencpp;geneus;genlisp;genpy -- Boost version: 1.54.0 -- Found the following Boost libraries: -- system -- filesystem -- thread -- date_time -- iostreams -- serialization -- checking for module 'openni-dev' -- package 'openni-dev' not found -- checking for module 'openni-dev' -- package 'openni-dev' not found -- checking for module 'openni-dev' -- package 'openni-dev' not found -- looking for PCL_COMMON -- looking for PCL_OCTREE -- looking for PCL_IO -- looking for PCL_KDTREE -- looking for PCL_SEARCH -- looking for PCL_SAMPLE_CONSENSUS -- looking for PCL_FILTERS -- looking for PCL_FEATURES -- looking for PCL_KEYPOINTS -- looking for PCL_GEOMETRY -- looking for PCL_SEGMENTATION -- looking for PCL_VISUALIZATION -- looking for PCL_OUTOFCORE -- looking for PCL_REGISTRATION -- looking for PCL_RECOGNITION -- looking for PCL_SURFACE -- looking for PCL_PEOPLE -- looking for PCL_TRACKING -- looking for PCL_APPS -- Eigen found (include: /usr/include/eigen3) -- Boost version: 1.54.0 -- Found the following Boost libraries: -- system -- thread -- costmap_2d: 1 messages, 0 services -- +++ processing catkin package: 'nav_core' -- ==> add_subdirectory(navigation/nav_core) -- Using these message generators: gencpp;geneus;genlisp;genpy -- +++ processing catkin package: 'base_local_planner' -- ==> add_subdirectory(navigation/base_local_planner) -- Using these message generators: gencpp;geneus;genlisp;genpy -- Boost version: 1.54.0 -- Found the following Boost libraries: -- thread -- Eigen found (include: /usr/include/eigen3) -- Boost version: 1.54.0 -- Found the following Boost libraries: -- system -- filesystem -- thread -- date_time -- iostreams -- serialization -- checking for module 'openni-dev' -- package 'openni-dev' not found -- checking for module 'openni-dev' -- package 'openni-dev' not found -- checking for module 'openni-dev' -- package 'openni-dev' not found -- looking for PCL_COMMON -- looking for PCL_OCTREE -- looking for PCL_IO -- looking for PCL_KDTREE -- looking for PCL_SEARCH -- looking for PCL_SAMPLE_CONSENSUS -- looking for PCL_FILTERS -- looking for PCL_FEATURES -- looking for PCL_KEYPOINTS -- looking for PCL_GEOMETRY -- looking for PCL_SEGMENTATION -- looking for PCL_VISUALIZATION -- looking for PCL_OUTOFCORE -- looking for PCL_REGISTRATION -- looking for PCL_RECOGNITION -- looking for PCL_SURFACE -- looking for PCL_PEOPLE -- looking for PCL_TRACKING -- looking for PCL_APPS -- base_local_planner: 1 messages, 0 services -- +++ processing catkin package: 'carrot_planner' -- ==> add_subdirectory(navigation/carrot_planner) -- Using these message generators: gencpp;geneus;genlisp;genpy -- +++ processing catkin package: 'clear_costmap_recovery' -- ==> add_subdirectory(navigation/clear_costmap_recovery) -- Using these message generators: gencpp;geneus;genlisp;genpy -- Eigen found (include: /usr/include/eigen3) -- Boost version: 1.54.0 -- Found the following Boost libraries: -- system -- filesystem -- thread -- date_time -- iostreams -- serialization -- checking for module 'openni-dev' -- package 'openni-dev' not found -- checking for module 'openni-dev' -- package 'openni-dev' not found -- checking for module 'openni-dev' -- package 'openni-dev' not found -- looking for PCL_COMMON -- looking for PCL_OCTREE -- looking for PCL_IO -- looking for PCL_KDTREE -- looking for PCL_SEARCH -- looking for PCL_SAMPLE_CONSENSUS -- looking for PCL_FILTERS -- looking for PCL_FEATURES -- looking for PCL_KEYPOINTS -- looking for PCL_GEOMETRY -- looking for PCL_SEGMENTATION -- looking for PCL_VISUALIZATION -- looking for PCL_OUTOFCORE -- looking for PCL_REGISTRATION -- looking for PCL_RECOGNITION -- looking for PCL_SURFACE -- looking for PCL_PEOPLE -- looking for PCL_TRACKING -- looking for PCL_APPS -- +++ processing catkin package: 'dwa_local_planner' -- ==> add_subdirectory(navigation/dwa_local_planner) -- Using these message generators: gencpp;geneus;genlisp;genpy -- Eigen found (include: /usr/include/eigen3) -- Boost version: 1.54.0 -- Found the following Boost libraries: -- system -- filesystem -- thread -- date_time -- iostreams -- serialization -- checking for module 'openni-dev' -- package 'openni-dev' not found -- checking for module 'openni-dev' -- package 'openni-dev' not found -- checking for module 'openni-dev' -- package 'openni-dev' not found -- looking for PCL_COMMON -- looking for PCL_OCTREE -- looking for PCL_IO -- looking for PCL_KDTREE -- looking for PCL_SEARCH -- looking for PCL_SAMPLE_CONSENSUS -- looking for PCL_FILTERS -- looking for PCL_FEATURES -- looking for PCL_KEYPOINTS -- looking for PCL_GEOMETRY -- looking for PCL_SEGMENTATION -- looking for PCL_VISUALIZATION -- looking for PCL_OUTOFCORE -- looking for PCL_REGISTRATION -- looking for PCL_RECOGNITION -- looking for PCL_SURFACE -- looking for PCL_PEOPLE -- looking for PCL_TRACKING -- looking for PCL_APPS -- +++ processing catkin package: 'move_slow_and_clear' -- ==> add_subdirectory(navigation/move_slow_and_clear) -- Using these message generators: gencpp;geneus;genlisp;genpy -- Eigen found (include: /usr/include/eigen3) -- Boost version: 1.54.0 -- Found the following Boost libraries: -- system -- filesystem -- thread -- date_time -- iostreams -- serialization -- checking for module 'openni-dev' -- package 'openni-dev' not found -- checking for module 'openni-dev' -- package 'openni-dev' not found -- checking for module 'openni-dev' -- package 'openni-dev' not found -- looking for PCL_COMMON -- looking for PCL_OCTREE -- looking for PCL_IO -- looking for PCL_KDTREE -- looking for PCL_SEARCH -- looking for PCL_SAMPLE_CONSENSUS -- looking for PCL_FILTERS -- looking for PCL_FEATURES -- looking for PCL_KEYPOINTS -- looking for PCL_GEOMETRY -- looking for PCL_SEGMENTATION -- looking for PCL_VISUALIZATION -- looking for PCL_OUTOFCORE -- looking for PCL_REGISTRATION -- looking for PCL_RECOGNITION -- looking for PCL_SURFACE -- looking for PCL_PEOPLE -- looking for PCL_TRACKING -- looking for PCL_APPS -- Boost version: 1.54.0 -- Found the following Boost libraries: -- thread -- +++ processing catkin package: 'navfn' -- ==> add_subdirectory(navigation/navfn) -- Using these message generators: gencpp;geneus;genlisp;genpy -- Eigen found (include: /usr/include/eigen3) -- Boost version: 1.54.0 -- Found the following Boost libraries: -- system -- filesystem -- thread -- date_time -- iostreams -- serialization -- checking for module 'openni-dev' -- package 'openni-dev' not found -- checking for module 'openni-dev' -- package 'openni-dev' not found -- checking for module 'openni-dev' -- package 'openni-dev' not found -- looking for PCL_COMMON -- looking for PCL_OCTREE -- looking for PCL_IO -- looking for PCL_KDTREE -- looking for PCL_SEARCH -- looking for PCL_SAMPLE_CONSENSUS -- looking for PCL_FILTERS -- looking for PCL_FEATURES -- looking for PCL_KEYPOINTS -- looking for PCL_GEOMETRY -- looking for PCL_SEGMENTATION -- looking for PCL_VISUALIZATION -- looking for PCL_OUTOFCORE -- looking for PCL_REGISTRATION -- looking for PCL_RECOGNITION -- looking for PCL_SURFACE -- looking for PCL_PEOPLE -- looking for PCL_TRACKING -- looking for PCL_APPS -- navfn: 0 messages, 2 services -- NAVFN_HAVE_FLTK: 1, NETPBM: -- FLTK orf NETPBM not found: cannot build navtest -- +++ processing catkin package: 'global_planner' -- ==> add_subdirectory(navigation/global_planner) -- Using these message generators: gencpp;geneus;genlisp;genpy -- +++ processing catkin package: 'rotate_recovery' -- ==> add_subdirectory(navigation/rotate_recovery) -- Using these message generators: gencpp;geneus;genlisp;genpy -- Eigen found (include: /usr/include/eigen3) -- +++ processing catkin package: 'move_base' -- ==> add_subdirectory(navigation/move_base) -- Using these message generators: gencpp;geneus;genlisp;genpy -- Eigen found (include: /usr/include/eigen3) -- +++ processing catkin package: 'kobuki_description' -- ==> add_subdirectory(kobuki/kobuki_description) -- +++ processing catkin package: 'kobuki_controller_tutorial' -- ==> add_subdirectory(kobuki/kobuki_controller_tutorial) -- Using these message generators: gencpp;geneus;genlisp;genpy -- +++ processing catkin package: 'kobuki_random_walker' -- ==> add_subdirectory(kobuki/kobuki_random_walker) -- Using these message generators: gencpp;geneus;genlisp;genpy -- +++ processing catkin package: 'kobuki_safety_controller' -- ==> add_subdirectory(kobuki/kobuki_safety_controller) -- Using these message generators: gencpp;geneus;genlisp;genpy -- +++ processing catkin package: 'kobuki_node' -- ==> add_subdirectory(kobuki/kobuki_node) -- Using these message generators: gencpp;geneus;genlisp;genpy -- +++ processing catkin package: 'kobuki_testsuite' -- ==> add_subdirectory(kobuki/kobuki_testsuite) -- Using these message generators: gencpp;geneus;genlisp;genpy -- +++ processing catkin package: 'yujin_maps' -- ==> add_subdirectory(yujin_maps) -- Configuring incomplete, errors occurred! See also "/home/wkyoun/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/wkyoun/catkin_ws/build/CMakeFiles/CMakeError.log". make: *\ [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed

helenol commented 8 years ago

There is a dependency on geodetic_utils now. Please clone a copy of it from here: https://github.com/ethz-asl/geodetic_utils

That should fix your compilation issues.

helenol commented 8 years ago

I've added a README on the github page, seems I can't modify the ROS tutorial pages since they're having spammer issues.

rs1990 commented 8 years ago

hi , did you manage to solve this error??

shrinivas96 commented 1 year ago

Not sure if this has the same effect here as well, but I had the same issue in another package where it just throws a bunch of "dependency target /path/to/some/target of target "executable_name" does not exist".

For me if I run catkin build again right after these errors, it just somehow build properly. (or catkin_make if your package is built with that)

It is sort of frustrating to not know why this happens though. Try it in your package as well?