ApolloAuto / apollo

An open autonomous driving platform
Apache License 2.0
25.03k stars 9.68k forks source link

no such package '@eigen//' #14504

Closed fergcd closed 1 year ago

fergcd commented 2 years ago

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

Steps to reproduce the issue:

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???

diaokaitian commented 2 years ago

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

fergcd commented 2 years ago

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()
dreamholy commented 2 years ago

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