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
37 stars 40 forks source link

can't compile asctec_mav_framework #19

Closed bilelxlab closed 10 years ago

bilelxlab commented 10 years ago

hello I am trying to do a vision-based navigation by following the tutorial of ethzasl_sensor_fusion package, but I have a problem compiling the package asctec_mav_framwork on hydro, I tried to follow the installation tutorial but got the following errors when I do catkin_make :

here is the error i have can you please help me :

mix@PORTEGE-R830:~/ros/ros-pkg/asctec_mav_framework$ catkin_makeBase path: /home/mix/ros/ros-pkg/asctec_mav_framework Source space: /home/mix/ros/ros-pkg/asctec_mav_framework/src Build space: /home/mix/ros/ros-pkg/asctec_mav_framework/build Devel space: /home/mix/ros/ros-pkg/asctec_mav_framework/devel Install space: /home/mix/ros/ros-pkg/asctec_mav_framework/install

Running command: "cmake /home/mix/ros/ros-pkg/asctec_mav_framework/src -DCATKIN_DEVEL_PREFIX=/home/mix/ros/ros-pkg/asctec_mav_framework/devel -DCMAKE_INSTALL_PREFIX=/home/mix/ros/ros-pkg/asctec_mav_framework/install" in "/home/mix/ros/ros-pkg/asctec_mav_framework/build"

-- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Using CATKIN_DEVEL_PREFIX: /home/mix/ros/ros-pkg/asctec_mav_framework/devel -- Using CMAKE_PREFIX_PATH: /opt/ros/hydro -- This workspace overlays: /opt/ros/hydro -- Found PythonInterp: /usr/bin/python (found version "2.7.3") -- Using PYTHON_EXECUTABLE: /usr/bin/python -- Using Debian Python package layout -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/mix/ros/ros-pkg/asctec_mav_framework/build/test_results -- Looking for include files CMAKE_HAVE_PTHREAD_H -- Looking for include files CMAKE_HAVE_PTHREAD_H - found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found gtest sources under '/usr/src/gtest': gtests will be built -- catkin 0.5.79 -- BUILD_SHARED_LIBS is on -- ~~~~~~~~~~~~~ -- ~~ traversing 10 packages in topological order: -- ~~ - asctec_hl_comm -- ~~ - asctec_hl_gps -- ~~ - asctec_mav_framework (metapackage) -- ~~ - msf_timing -- ~~ - msf_core -- ~~ - msf_distort -- ~~ - sensor_fusion (metapackage) -- ~~ - sensor_fusion_comm -- ~~ - asctec_hl_interface -- ~~ - msf_updates -- ~~~~~~~~~~~~~ -- +++ processing catkin package: 'asctec_hl_comm' -- ==> add_subdirectory(asctec_hl_comm) -- Generating .msg files for action asctec_hl_comm/Waypoint /home/mix/ros/ros-pkg/asctec_mav_framework/src/asctec_hl_comm/action/Waypoint.action Generating for action Waypoint -- asctec_hl_comm: 18 messages, 2 services -- +++ processing catkin package: 'asctec_hl_gps' -- ==> add_subdirectory(asctec_hl_gps) -- checking for module 'eigen3' -- found eigen3, version 3.0.5 -- Found Eigen: /usr/include/eigen3 -- Eigen found (include: /usr/include/eigen3) -- +++ processing catkin metapackage: 'asctec_mav_framework' -- ==> add_subdirectory(asctec_mav_framework) -- +++ processing catkin package: 'msf_timing' -- ==> add_subdirectory(ethzasl_msf/msf_timing) -- +++ processing catkin package: 'msf_core' -- ==> add_subdirectory(ethzasl_msf/msf_core) -- Eigen found (include: /usr/include/eigen3) glog library = GLOG_LIBRARY-NOTFOUND -- Could NOT find Glog (missing: GLOG_LIBRARY) -- Found Doxygen: /usr/bin/doxygen -- +++ processing catkin package: 'msf_distort' -- ==> add_subdirectory(ethzasl_msf/msf_distort) -- +++ processing catkin metapackage: 'sensor_fusion' -- ==> add_subdirectory(ethzasl_msf/sensor_fusion) -- +++ processing catkin package: 'sensor_fusion_comm' -- ==> add_subdirectory(ethzasl_msf/sensor_fusion_comm) -- sensor_fusion_comm: 5 messages, 2 services -- +++ processing catkin package: 'asctec_hl_interface' -- ==> add_subdirectory(asctec_hl_interface) -- Boost version: 1.46.1 -- Found the following Boost libraries: -- signals -- system -- thread -- +++ processing catkin package: 'msf_updates' -- ==> add_subdirectory(ethzasl_msf/msf_updates) CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: GLOG_LIBRARY (ADVANCED) linked by target "test_similaritytransform" in directory /home/mix/ros/ros-pkg/asctec_mav_framework/src/ethzasl_msf/msf_core linked by target "test_static_statelist" in directory /home/mix/ros/ros-pkg/asctec_mav_framework/src/ethzasl_msf/msf_core

-- Configuring incomplete, errors occurred! Invoking "cmake" failed mix@PORTEGE-R830:~/ros/ros-pkg/asctec_mav_framework$ catkin_make

markusachtelik commented 10 years ago

the glog library needs to be installed, see https://github.com/ethz-asl/ethzasl_msf/issues/62

bilelxlab commented 10 years ago

thank you very much markusachtelik , it works