AIRLab-POLIMI / predictivebenchmarking

9 stars 6 forks source link

How to build and run it? #1

Open kintzhao opened 5 years ago

kintzhao commented 5 years ago

How to build and run it? can you give me some tutorial ?

This is my error log by catkin build: catkin-build-log.txt

kintzhao commented 5 years ago

use catkin_make_isolated can build success without slam_karto_gtsam:

slam_karto_gtsam with this errors:

==> Building with env: '/home/yhzhao/Test/map_test/devel_isolated/slam_gmapping/env.sh' Makefile exists, skipping explicit cmake invocation... ==> make cmake_check_build_system in '/home/yhzhao/Test/map_test/build_isolated/slam_karto_gtsam' -- Using CATKIN_DEVEL_PREFIX: /home/yhzhao/Test/map_test/devel_isolated/slam_karto_gtsam -- Using CMAKE_PREFIX_PATH: /home/yhzhao/Test/map_test/devel_isolated/slam_gmapping;/home/yhzhao/Test/map_test/devel_isolated/rsbb_mocap_optitrack;/home/yhzhao/Test/map_test/devel_isolated/rosserial_core;/home/yhzhao/Test/map_test/devel_isolated/robot_pose_ekf;/home/yhzhao/Test/map_test/devel_isolated/robocom;/home/yhzhao/Test/map_test/devel_isolated/robocom_msgs;/home/yhzhao/Test/map_test/devel_isolated/range_proximity_safety_controller;/home/yhzhao/Test/map_test/devel_isolated/open_karto;/home/yhzhao/Test/map_test/devel_isolated/navigation;/home/yhzhao/Test/map_test/devel_isolated/amcl;/home/yhzhao/Test/map_test/devel_isolated/map_server;/home/yhzhao/Test/map_test/devel_isolated/map_merger;/home/yhzhao/Test/map_test/devel_isolated/laser_noise;/home/yhzhao/Test/map_test/devel_isolated/kinect_proximity_safety_controller;/home/yhzhao/Test/map_test/devel_isolated/ipa_room_segmentation;/home/yhzhao/Test/map_test/devel_isolated/ipa_building_msgs;/home/yhzhao/Test/map_test/devel_isolated/gtsam;/home/yhzhao/Test/map_test/devel_isolated/gmapping;/home/yhzhao/Test/map_test/devel_isolated/fake_localization;/home/yhzhao/Test/map_test/devel_isolated/carmen_publisher;/home/yhzhao/Test/map_test/devel_isolated/adhoc_communication;/home/yhzhao/docker_ws/ysRobot_dock_bk/devel_isolated/yunshen_robot_testsuite;/home/yhzhao/docker_ws/ysRobot_dock_bk/install_isolated;/home/yhzhao/docker_ws/dock_test/devel_isolated/yunshen_robot_navigation;/home/yhzhao/docker_ws/dock_test/install_isolated;/home/yhzhao/navigation_ws/devel;/home/yhzhao/slam_ws/install_isolated;/home/yhzhao/catkin_ws/devel;/opt/ros/kinetic -- This workspace overlays: /home/yhzhao/Test/map_test/devel_isolated/slam_gmapping;/home/yhzhao/Test/map_test/devel_isolated/rsbb_mocap_optitrack;/home/yhzhao/Test/map_test/devel_isolated/rosserial_core;/home/yhzhao/Test/map_test/devel_isolated/robot_pose_ekf;/home/yhzhao/Test/map_test/devel_isolated/robocom;/home/yhzhao/Test/map_test/devel_isolated/robocom_msgs;/home/yhzhao/Test/map_test/devel_isolated/range_proximity_safety_controller;/home/yhzhao/Test/map_test/devel_isolated/open_karto;/home/yhzhao/Test/map_test/devel_isolated/navigation;/home/yhzhao/Test/map_test/devel_isolated/amcl;/home/yhzhao/Test/map_test/devel_isolated/map_server;/home/yhzhao/Test/map_test/devel_isolated/map_merger;/home/yhzhao/Test/map_test/devel_isolated/laser_noise;/home/yhzhao/Test/map_test/devel_isolated/kinect_proximity_safety_controller;/home/yhzhao/Test/map_test/devel_isolated/ipa_room_segmentation;/home/yhzhao/Test/map_test/devel_isolated/ipa_building_msgs;/home/yhzhao/Test/map_test/devel_isolated/gmapping;/home/yhzhao/Test/map_test/devel_isolated/fake_localization;/home/yhzhao/Test/map_test/devel_isolated/carmen_publisher;/home/yhzhao/Test/map_test/devel_isolated/adhoc_communication;/home/yhzhao/docker_ws/ysRobot_dock_bk/devel_isolated/yunshen_robot_testsuite;/home/yhzhao/docker_ws/ysRobot_dock_bk/install_isolated;/home/yhzhao/docker_ws/dock_test/devel_isolated/yunshen_robot_navigation;/home/yhzhao/docker_ws/dock_test/install_isolated;/home/yhzhao/navigation_ws/devel;/home/yhzhao/slam_ws/install_isolated;/home/yhzhao/catkin_ws/devel;/opt/ros/kinetic -- Using PYTHON_EXECUTABLE: /usr/bin/python -- Using Debian Python package layout -- Using empy: /usr/bin/empy -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/yhzhao/Test/map_test/build_isolated/slam_karto_gtsam/test_results -- Found gmock sources under '/usr/src/gmock': gmock will be built -- Found gtest sources under '/usr/src/gmock': gtests will be built -- Using Python nosetests: /usr/bin/nosetests-2.7 -- catkin 0.7.18 -- BUILD_SHARED_LIBS is on -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message): Could NOT find MKL (missing: MKL_LIBRARIES) Call Stack (most recent call first): /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE) CMakeModules/FindMKL.cmake:244 (find_package_handle_standard_args) CMakeLists.txt:21 (find_package)

-- Configuring incomplete, errors occurred! See also "/home/yhzhao/Test/map_test/build_isolated/slam_karto_gtsam/CMakeFiles/CMakeOutput.log". See also "/home/yhzhao/Test/map_test/build_isolated/slam_karto_gtsam/CMakeFiles/CMakeError.log". Makefile:1162: recipe for target 'cmake_check_build_system' failed make: *** [cmake_check_build_system] Error 1 <== Failed to process package 'slam_karto_gtsam': Command '['/home/yhzhao/Test/map_test/devel_isolated/slam_gmapping/env.sh', 'make', 'cmake_check_build_system']' returned non-zero exit status 2

Reproduce this error by running: ==> cd /home/yhzhao/Test/map_test/build_isolated/slam_karto_gtsam && /home/yhzhao/Test/map_test/devel_isolated/slam_gmapping/env.sh make cmake_check_build_system

Command failed, exiting.