autowarefoundation / autoware_ai

Apache License 2.0
20 stars 7 forks source link

module_comm_msgs not found. #501

Closed x7hkvip closed 5 years ago

x7hkvip commented 5 years ago

Problems:

CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package): Could not find a package configuration file provided by "module_comm_msgs" with any of the following names: module_comm_msgsConfig.cmake module_comm_msgs-config.cmake

Steps i did:

I followed the https://github.com/CPFL/Autoware/wiki/Source-Build step by step: 1.downloaded the Autoware-master.zip 2.$ git submodule update --init --recursive 3.$ cd ~/Autoware/ros/src 4.$ catkin_init_workspace 5.cd ../ 6.rosdep install -y --from-paths src --ignore-src --rosdistro $ROS_DISTRO in this step,i've got: ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: road_occupancy_processor: No definition of [grid_map_msgs] for OS [debian] dp_planner: No definition of [jsk_recognition_msgs] for OS [debian] sound_player: No definition of [sound_play] for OS [debian] lidar_svm_detect: No definition of [jsk_rviz_plugins] for OS [debian] autoware_msgs: No definition of [jsk_recognition_msgs] for OS [debian] lidar_kf_contour_track: No definition of [jsk_recognition_msgs] for OS [debian] lidar_kf_track: No definition of [jsk_rviz_plugins] for OS [debian] mqtt_socket: No definition of [yaml-cpp] for OS version [] kitti_box_publisher: No definition of [jsk_recognition_msgs] for OS [debian] ndt_gpu: No definition of [libpcl-all] for OS version [] diag_lib: No definition of [yaml-cpp] for OS version [] pos_db: No definition of [jsk_rviz_plugins] for OS [debian] gnss_localizer: No definition of [nmea_msgs] for OS [debian] object_map: No definition of [grid_map_msgs] for OS [debian] decision_maker: No definition of [jsk_recognition_msgs] for OS [debian] adi_driver: No definition of [imu_tools] for OS [debian] imm_ukf_pda_track: No definition of [jsk_recognition_msgs] for OS [debian] autoware_can_msgs: No definition of [jsk_recognition_msgs] for OS [debian] as: Cannot locate rosdep definition for [module_comm_msgs] velodyne_pointcloud: No definition of [yaml-cpp] for OS version [] calibration_camera_lidar: No definition of [nlopt] for OS [debian] op_ros_helpers: No definition of [jsk_recognition_msgs] for OS [debian] points_preprocessor: No definition of [yaml-cpp] for OS version [] obj_reproj: No definition of [jsk_recognition_msgs] for OS [debian] javad_navsat_driver: No definition of [nmea_msgs] for OS [debian] range_vision_fusion: No definition of [yaml-cpp] for OS version [] vision_ssd_detect: No definition of [jsk_recognition_msgs] for OS [debian] xsens_driver: No definition of [gps_common] for OS [debian] lidar_euclidean_track: No definition of [jsk_recognition_msgs] for OS [debian] lidar_euclidean_cluster_detect: No definition of [grid_map_msgs] for OS [debian] lidar_localizer: No definition of [eigen] for OS version [] autoware_bag_tools: No definition of [nmea_msgs] for OS [debian] ndt_cpu: No definition of [libpcl-all] for OS version [] libvectormap: No definition of [eigen] for OS version [] obj_fusion: No definition of [jsk_recognition_msgs] for OS [debian] garmin: No definition of [nmea_msgs] for OS [debian] trafficlight_recognizer: No definition of [eigen] for OS version [] i ignored it(because i think most of them are about OS debian) 7../catkin_make_release i got Could not find a package configuration file provided by "module_comm_msgs".

Specifications

What should i do?

amc-nu commented 5 years ago

You should execute:

$ git submodule update --init --recursive

as stated in the Wiki, How to build

NOTE 1 Seems you're not running Ubuntu. Update your rosdep repo, to fix the rest of the dependencies.

NOTE 2 Starting from release 1.10, this package is replaced, as explained here: https://github.com/CPFL/Autoware/pull/1689

x7hkvip commented 5 years ago

@amc-nu Thank you so much for your help!I modified Cmakelist and used the automotive_autonomy_msgs. Thanks again!