Build native ROS nodes using the Android NDK Errors when build kokuki_node

asked 2017-02-26 06:22:27 -0500

zzkzsmj gravatar image

updated 2017-02-26 06:23:32 -0500

I added a package kokuki_node based on the ROS NDK tutorial, and then run./do_docker, running the following errors,I find the solution on the Internet, are prompted some packages can not compile catkin_make, the need to use the catkin_make_isolated compiler alone, I would like to ask how to use the form of ROS NDK to compile these packages.

-- catkin 0.6.14
-- skipping nosetests(test/local_tests) in project 'catkin'
-- skipping nosetests(test/unit_tests) in project 'catkin'
-- BUILD_SHARED_LIBS is off
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 221 packages in topological order:
-- ~~  - genmsg
-- ~~  - gencpp
-- ~~  - genlisp
-- ~~  - genpy
-- ~~  - angles
-- ~~  - bond_core (metapackage)
-- ~~  - cmake_modules
-- ~~  - class_loader
-- ~~  - common_msgs (metapackage)
-- ~~  - cpp_common
-- ~~  - diagnostics (metapackage)
-- ~~  - ecl_license
-- ~~  - ecl_build
-- ~~  - ecl_command_line
-- ~~  - ecl_config
-- ~~  - ecl_eigen
-- ~~  - ecl_errors
-- ~~  - ecl_exceptions
-- ~~  - ecl_mpl
-- ~~  - ecl_time_lite
-- ~~  - ecl_time
-- ~~  - ecl_type_traits
-- ~~  - ecl_concepts
-- ~~  - ecl_converters
-- ~~  - ecl_formatters
-- ~~  - ecl_math
-- ~~  - ecl_utilities
-- ~~  - ecl_containers
-- ~~  - ecl_threads
-- ~~  - ecl_devices
-- ~~  - ecl_sigslots
-- ~~  - ecl_streams
-- ~~  - eigen_stl_containers
-- ~~  - executive_smach (metapackage)
-- ~~  - geometry (metapackage)
-- ~~  - image_common (metapackage)
-- ~~  - image_pipeline (metapackage)
-- ~~  - image_transport_plugins (metapackage)
-- ~~  - kobuki_ftdi
-- ~~  - kobuki_rapps
-- ~~  - laser_pipeline (metapackage)
-- ~~  - media_export
-- ~~  - message_generation
-- ~~  - message_runtime
-- ~~  - mk
-- ~~  - moveit_resources
-- ~~  - navigation (metapackage)
-- ~~  - nodelet_core (metapackage)
-- ~~  - openslam_gmapping
-- ~~  - perception (metapackage)
-- ~~  - perception_pcl (metapackage)
-- ~~  - random_numbers
-- ~~  - robot (metapackage)
-- ~~  - robot_model (metapackage)
-- ~~  - ros (metapackage)
-- ~~  - ros_base (metapackage)
-- ~~  - ros_comm (metapackage)
-- ~~  - ros_core (metapackage)
-- ~~  - rosbag_migration_rule
-- ~~  - rosbash
-- ~~  - rosboost_cfg
-- ~~  - rosbuild
-- ~~  - rosclean
-- ~~  - roscpp_core (metapackage)
-- ~~  - roscpp_traits
-- ~~  - roscreate
-- ~~  - rosgraph
-- ~~  - roslang
-- ~~  - roslint
-- ~~  - roslisp
-- ~~  - rosmake
-- ~~  - rosmaster
-- ~~  - rosmsg
-- ~~  - rospack
-- ~~  - roslib
-- ~~  - rosparam
-- ~~  - rospy
-- ~~  - rosservice
-- ~~  - rostime
-- ~~  - roscpp_serialization
-- ~~  - roslaunch
-- ~~  - rosunit
-- ~~  - rosconsole
-- ~~  - pluginlib
-- ~~  - resource_retriever
-- ~~  - rosconsole_bridge
-- ~~  - roslz4
-- ~~  - rosbag_storage
-- ~~  - rostest
-- ~~  - slam_gmapping (metapackage)
-- ~~  - smach
-- ~~  - smclib
-- ~~  - sophus (plain cmake)
-- ~~  - ecl_linear_algebra
-- ~~  - ecl_geometry
-- ~~  - ecl_mobile_robot
-- ~~  - kobuki_dock_drive
-- ~~  - kobuki_driver
-- ~~  - srdfdom
-- ~~  - std_msgs
-- ~~  - actionlib_msgs
-- ~~  - arbotix_msgs
-- ~~  - bond
-- ~~  - controller_manager_msgs
-- ~~  - diagnostic_msgs
-- ~~  - geometry_msgs
-- ~~  - eigen_conversions
-- ~~  - kdl_conversions
-- ~~  - kobuki_msgs
-- ~~  - move_base_msgs
-- ~~  - nav_msgs
-- ~~  - octomap_msgs
-- ~~  - rosgraph_msgs
-- ~~  - sensor_msgs
-- ~~  - camera_calibration_parsers
-- ~~  - cv_bridge
-- ~~  - image_geometry
-- ~~  - map_msgs
-- ~~  - pcl_msgs
-- ~~  - shape_msgs
-- ~~  - object_recognition_msgs
-- ~~  - household_objects_database_msgs
-- ~~  - manipulation_msgs
-- ~~  - smach_msgs
-- ~~  - std_srvs
-- ~~  - stereo_msgs
-- ~~  - tf2_msgs
-- ~~  - tf2
-- ~~  - trajectory_msgs
-- ~~  - control_msgs
-- ~~  - moveit_msgs
-- ~~  - urdf_parser_plugin
-- ~~  - uuid_msgs
-- ~~  - geographic_msgs
-- ~~  - vision_opencv (metapackage)
-- ~~  - visualization_msgs
-- ~~  - geometric_shapes
-- ~~  - shape_tools
-- ~~  - xmlrpcpp
-- ~~  - roscpp
-- ~~  - bondcpp
-- ~~  - bondpy
-- ~~  - collada_parser
-- ~~  - hardware_interface
-- ~~  - controller_interface
-- ~~  - joint_state_publisher
-- ~~  - kobuki_keyop
-- ~~  - nodelet
-- ~~  - nodelet_tutorial_math
-- ~~  - pcl_conversions
-- ~~  - pluginlib_tutorials
-- ~~  - realtime_tools
-- ~~  - rosout
-- ~~  - camera_calibration
-- ~~  - controller_manager
-- ~~  - diagnostic_aggregator
-- ~~  - diagnostic_updater
-- ~~  - diagnostic_common_diagnostics
-- ~~  - dynamic_reconfigure
-- ~~  - filters
-- ~~  - message_filters
-- ~~  - image_transport
-- ~~  - camera_info_manager
-- ~~  - image_view
-- ~~  - polled_camera
-- ~~  - rosnode
-- ~~  - rostopic
-- ~~  - roswtf
-- ~~  - smach_ros
-- ~~  - tf2_py
-- ~~  - topic_tools
-- ~~  - rosbag
-- ~~  - actionlib
-- ~~  - capabilities
-- ~~  - diagnostic_analysis
-- ~~  - image_proc
-- ~~  - kobuki_auto_docking
-- ~~  - nodelet_topic_tools
-- ~~  - sick_tim
-- ~~  - stereo_image_proc
-- ~~  - tf2_ros
-- ~~  - depth_image_proc
-- ~~  - tf
-- ~~  - amcl
-- ~~  - compressed_depth_image_transport
-- ~~  - compressed_image_transport
-- ~~  - fake_localization
-- ~~  - gmapping
-- ~~  - interactive_markers
-- ~~  - laser_geometry
-- ~~  - laser_assembler
-- ~~  - laser_filters
-- ~~  - pcl_ros
-- ~~  - robot_pose_ekf
-- ~~  - tf2_geometry_msgs
-- ~~  - image_rotate
-- ~~  - tf_conversions
-- ~~  - urdf
-- ~~  - kdl_parser
-- ~~  - moveit_core
-- ~~  - robot_state_publisher
-- ~~  - voxel_grid
-- ~~  - costmap_2d
-- ~~  - nav_core
-- ~~  - base_local_planner
-- ~~  - carrot_planner
-- ~~  - clear_costmap_recovery
-- ~~  - dwa_local_planner
-- ~~  - move_slow_and_clear
-- ~~  - navfn
-- ~~  - global_planner
-- ~~  - rotate_recovery
-- ~~  - move_base
-- ~~  - xacro
-- ~~  - diff_drive_controller
-- ~~  - yocs_cmd_vel_mux
-- ~~  - yocs_controllers
-- ~~  - kobuki_random_walker
-- ~~  - kobuki_safety_controller
-- ~~  - yocs_velocity_smoother
-- ~~  - kobuki_node
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CMake Error at catkin/cmake/catkin_workspace.cmake:95 (message):
  This workspace contains non-catkin packages in it, and catkin cannot build
  a non-homogeneous workspace without isolation.  Try the
  'catkin_make_isolated' command instead.
Call Stack (most recent call first):
  CMakeLists.txt:63 (catkin_workspace)


-- Configuring incomplete, errors occurred!
See also "/opt/roscpp_output/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/opt/roscpp_output/catkin_ws/build/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
build_cpp.sh -p
edit retag flag offensive close merge delete

Comments

It would have been nice if you had edited #q255575 instead of posting a new one.

I've closed #q255575 as a duplicate.

gvdhoorn gravatar image gvdhoorn  ( 2017-02-26 07:14:18 -0500 )edit

ok,Thanks。

zzkzsmj gravatar image zzkzsmj  ( 2017-02-26 07:39:33 -0500 )edit