apollo icon indicating copy to clipboard operation
apollo copied to clipboard

no such package '@eigen//'

Open fergcd opened this issue 2 years ago • 3 comments

We appreciate you go through Apollo documentations and search previous issues before creating an new one. If neither of the sources helped you with your issues, please report the issue using the following form. Please note missing info can delay the response time.

System information

  • OS Platform and Distribution : Linux Ubuntu 20.04
  • Apollo installed from : source
  • Apollo version : 5.5
  • branch : r5.5.0

Steps to reproduce the issue:

  • Please use bullet points and include as much details as possible:
  1. (From the ${APOLLO_ROOT_DIR} directory)
  2. git checkout -t origin/r5.5.0
  3. ./docker/scripts/dev_start.sh
  4. ./docker/scripts/dev_into.sh
  5. touch WORKSPACE
  6. bazel build //modules/perception/lidar/tools:offline_lidar_obstacle_perception

I want to use LiDAR 3D Object Detection in perception module. I followed this reply (https://github.com/ApolloAuto/apollo/issues/13445#issuecomment-782576120) but it doesn't work.

Error occurs like this. image

What should I do now???

fergcd avatar Jun 29 '22 11:06 fergcd

you can post you BUILD file ,may be there are some syntax error of your build file

diaokaitian avatar Jul 01 '22 01:07 diaokaitian

you can post you BUILD file ,may be there are some syntax error of your build file

@diaokaitian Here is my BUILD file.

load("//tools:cpplint.bzl", "cpplint")

package(default_visibility = ["//visibility:public"])

cc_binary(
    name = "offline_lidar_obstacle_perception",
    srcs = ["offline_lidar_obstacle_perception.cc"],
    deps = [
        "//cyber",
        "//modules/drivers/proto:sensor_proto",
        "//modules/map/proto:map_proto",
        "//modules/perception/base",
        "//modules/perception/common:perception_gflags",
        "//modules/perception/common/io:io_util",
        "//modules/perception/common/point_cloud_processing",
        "//modules/perception/common/sensor_manager",
        "//modules/perception/lidar/app",
        "//modules/perception/lidar/lib/classifier/fused_classifier",
        "//modules/perception/lidar/lib/classifier/fused_classifier:ccrf_type_fusion",
        "//modules/perception/lidar/lib/ground_detector/spatio_temporal_ground_detector",
        "//modules/perception/lidar/lib/object_builder",
        "//modules/perception/lidar/lib/object_filter_bank/roi_boundary_filter",
        "//modules/perception/lidar/lib/roi_filter/hdmap_roi_filter",
        "//modules/perception/lidar/lib/scene_manager/ground_service",
        "//modules/perception/lidar/lib/scene_manager/roi_service",
        "//modules/perception/lidar/lib/segmentation/cnnseg:cnn_segmentation",
        "//modules/perception/lidar/lib/tracker/multi_lidar_fusion:mlf_engine",
        "//modules/perception/lidar/lib/tracker/multi_lidar_fusion:mlf_track_object_matcher",
        "//modules/perception/lidar/lib/tracker/multi_lidar_fusion:mlf_tracker",
        "//modules/perception/proto:perception_config_schema_proto",
        "@eigen",
        "@pcl",
    ],
)

cpplint()

fergcd avatar Jul 08 '22 07:07 fergcd

it seems that "eigen" package not found, [Apollo version : 5.5] image I suggest you check this local path.

dreamholy avatar Jul 22 '22 04:07 dreamholy