ApolloAuto / apollo

An open autonomous driving platform
Apache License 2.0
24.99k stars 9.66k forks source link

构建Apollo工程失败:aarch64-linux-gnu-gcc-7: error: unrecognized command line option '-msse4.1' #14298

Closed jingruhou closed 2 years ago

jingruhou commented 2 years ago

Describe the bug 在Jetson NX上面构建工程失败,报“-msse4.1”相关错误,详细见截图

Expected behavior 希望构建成功,自带demo运行成功

Screenshots Jetson-NX

硬件设备信息:

daohu527 commented 2 years ago

msse4.1 is support by x86 only. We need to look at the compile options on arm

jingruhou commented 2 years ago

`lcfc@lcfc-desktop:~/apollo$ lcfc@lcfc-desktop:~/apollo$ sudo bash docker/scripts/dev_start.sh [sudo] password for lcfc: [INFO] Use default GeoLocation settings [INFO] Start pulling docker image apolloauto/apollo:dev-aarch64-18.04-20201218_0030 ... dev-aarch64-18.04-20201218_0030: Pulling from apolloauto/apollo 296c9ad75bee: Pull complete c0533d139302: Pull complete 3c11bb34abc8: Pull complete 45e266ea8946: Pull complete 3f9fe4230f83: Pull complete 2331551ae91f: Pull complete a7c06ca5da1d: Pull complete 21a2a17ba5e5: Pull complete fa6220c842e3: Pull complete 5b7f5976ffd4: Pull complete 18e107db1fc8: Pull complete 3e74e1a748d9: Pull complete 38d909b2f33b: Pull complete 2b80aba2718f: Pull complete b2ddf8a7ddf1: Pull complete ed1d76c84ec3: Pull complete 08e440b62d01: Pull complete 3e5d9460f96f: Pull complete 612f695577c3: Pull complete c8fde0c8a231: Pull complete e93ffec278f3: Pull complete 5db23e2918b4: Pull complete ba5efd0be948: Pull complete 417f41ff7396: Pull complete 75c906ba8057: Pull complete Digest: sha256:9d265275fd175be3de5f803cfbe1ccca74aab34231d61b4ca5c4ce391755834c Status: Downloaded newer image for apolloauto/apollo:dev-aarch64-18.04-20201218_0030 docker.io/apolloauto/apollo:dev-aarch64-18.04-20201218_0030 [INFO] Remove existing Apollo Development container ... [INFO] Determine whether host GPU is available ... [INFO] USE_GPU_HOST: 1 [WARNING] No CAN device named /dev/can0. [WARNING] No SocketCAN device named can0. [INFO] Starting mounting map volumes ... [INFO] Load map sunnyvale_big_loop from image: apolloauto/apollo:map_volume-sunnyvale_big_loop-aarch64-latest [INFO] Create volume apollo_map_volume-sunnyvale_big_loop_root from image: apolloauto/apollo:map_volume-sunnyvale_big_loop-aarch64-latest [INFO] Start pulling docker image apolloauto/apollo:map_volume-sunnyvale_big_loop-aarch64-latest ... map_volume-sunnyvale_big_loop-aarch64-latest: Pulling from apolloauto/apollo 9941776d74c9: Pull complete ae94b3cb7a1b: Pull complete faea148fecbd: Pull complete Digest: sha256:275f66d9200b1e947ba27ae7e78ee0cdc455203d9f1e35e3f32b02e63fa5361e Status: Downloaded newer image for apolloauto/apollo:map_volume-sunnyvale_big_loop-aarch64-latest docker.io/apolloauto/apollo:map_volume-sunnyvale_big_loop-aarch64-latest [INFO] Load map sunnyvale_loop from image: apolloauto/apollo:map_volume-sunnyvale_loop-aarch64-latest [INFO] Create volume apollo_map_volume-sunnyvale_loop_root from image: apolloauto/apollo:map_volume-sunnyvale_loop-aarch64-latest [INFO] Start pulling docker image apolloauto/apollo:map_volume-sunnyvale_loop-aarch64-latest ... map_volume-sunnyvale_loop-aarch64-latest: Pulling from apolloauto/apollo 9941776d74c9: Already exists ae94b3cb7a1b: Already exists 9d2d9383eb87: Pull complete Digest: sha256:fe449650dd5634b7c4ed29255d2537a41a34f7f2551cc1bb18013deeb70da447 Status: Downloaded newer image for apolloauto/apollo:map_volume-sunnyvale_loop-aarch64-latest docker.io/apolloauto/apollo:map_volume-sunnyvale_loop-aarch64-latest [INFO] Load map sunnyvale_with_two_offices from image: apolloauto/apollo:map_volume-sunnyvale_with_two_offices-aarch64-latest [INFO] Create volume apollo_map_volume-sunnyvale_with_two_offices_root from image: apolloauto/apollo:map_volume-sunnyvale_with_two_offices-aarch64-latest [INFO] Start pulling docker image apolloauto/apollo:map_volume-sunnyvale_with_two_offices-aarch64-latest ... map_volume-sunnyvale_with_two_offices-aarch64-latest: Pulling from apolloauto/apollo 0362ad1dd800: Pull complete d16375b575bf: Pull complete Digest: sha256:13ae92aac07a2aeca873356cf525c26e0e316d642ad6f811cc15b4aa2946ebc7 Status: Downloaded newer image for apolloauto/apollo:map_volume-sunnyvale_with_two_offices-aarch64-latest docker.io/apolloauto/apollo:map_volume-sunnyvale_with_two_offices-aarch64-latest [INFO] Load map san_mateo from image: apolloauto/apollo:map_volume-san_mateo-aarch64-latest [INFO] Create volume apollo_map_volume-san_mateo_root from image: apolloauto/apollo:map_volume-san_mateo-aarch64-latest [INFO] Start pulling docker image apolloauto/apollo:map_volume-san_mateo-aarch64-latest ... map_volume-san_mateo-aarch64-latest: Pulling from apolloauto/apollo 0362ad1dd800: Already exists ca43d780ec11: Pull complete Digest: sha256:23de05457d602e35605ebbefba5f26f18b50c79502072f44af2b605a0c249d5a Status: Downloaded newer image for apolloauto/apollo:map_volume-san_mateo-aarch64-latest docker.io/apolloauto/apollo:map_volume-san_mateo-aarch64-latest [INFO] Mount other volumes ... [INFO] Create volume apollo_audio_volume_root from image: apolloauto/apollo:data_volume-audio_model-aarch64-latest [INFO] Start pulling docker image apolloauto/apollo:data_volume-audio_model-aarch64-latest ... data_volume-audio_model-aarch64-latest: Pulling from apolloauto/apollo 40223db5366f: Pull complete f76ad2a33f39: Pull complete Digest: sha256:5bb275a29aac2147cbddf943b19666c62ba5bd1ebd4695f8e5f54da83802945d Status: Downloaded newer image for apolloauto/apollo:data_volume-audio_model-aarch64-latest docker.io/apolloauto/apollo:data_volume-audio_model-aarch64-latest [INFO] Create volume apollo_yolov4_volume_root from image: apolloauto/apollo:yolov4_volume-emergency_detection_model-aarch64-latest [INFO] Start pulling docker image apolloauto/apollo:yolov4_volume-emergency_detection_model-aarch64-latest ... yolov4_volume-emergency_detection_model-aarch64-latest: Pulling from apolloauto/apollo 40223db5366f: Already exists 1d85dd08d14f: Pull complete Digest: sha256:4883d56073054bd8170a66dbd519fc7238bdde80eb436974710803d484bdc73b Status: Downloaded newer image for apolloauto/apollo:yolov4_volume-emergency_detection_model-aarch64-latest docker.io/apolloauto/apollo:yolov4_volume-emergency_detection_model-aarch64-latest [INFO] Create volume apollo_faster_rcnn_volume_root from image: apolloauto/apollo:faster_rcnn_volume-traffic_light_detection_model-aarch64-latest [INFO] Start pulling docker image apolloauto/apollo:faster_rcnn_volume-traffic_light_detection_model-aarch64-latest ... faster_rcnn_volume-traffic_light_detection_model-aarch64-latest: Pulling from apolloauto/apollo 40223db5366f: Already exists b8ae6c0f3cff: Pull complete Digest: sha256:2ad8bccebec1cd91620b7179a15c23f20bec90faddc12cf98f9cc1e0a515d96e Status: Downloaded newer image for apolloauto/apollo:faster_rcnn_volume-traffic_light_detection_model-aarch64-latest docker.io/apolloauto/apollo:faster_rcnn_volume-traffic_light_detection_model-aarch64-latest [INFO] Starting Docker container "apollo_dev_root" ...

`

lcfc@lcfc-desktop:~/apollo$ lcfc@lcfc-desktop:~/apollo$ lcfc@lcfc-desktop:~/apollo$ bash docker/scripts/dev_into.sh Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/apollo_dev_lcfc/json: dial unix /var/run/docker.sock: connect: permission denied lcfc@lcfc-desktop:~/apollo$ sudo bash docker/scripts/dev_into.sh root@in-dev-docker:/apollo# pwd /apollo root@in-dev-docker:/apollo# root@in-dev-docker:/apollo# root@in-dev-docker:/apollo# root@in-dev-docker:/apollo# root@in-dev-docker:/apollo# root@in-dev-docker:/apollo# root@in-dev-docker:/apollo# root@in-dev-docker:/apollo# root@in-dev-docker:/apollo# root@in-dev-docker:/apollo# ./apollo.sh build [INFO] Apollo Environment Settings: [INFO] APOLLO_ROOT_DIR: /apollo [INFO] APOLLO_CACHE_DIR: /apollo/.cache [INFO] APOLLO_IN_DOCKER: true [INFO] APOLLO_VERSION: master-2021-12-28-463fb82f9e [INFO] DOCKER_IMG: dev-aarch64-18.04-20201218_0030 [INFO] APOLLO_ENV: STAGE=dev USE_ESD_CAN=false [INFO] USE_GPU: USE_GPU_HOST=1 USE_GPU_TARGET=1 [INFO] Configure .apollo.bazelrc in non-interactive mode You have bazel 3.7.1 installed. Found possible Python library paths: /usr/local/lib/python3.6/dist-packages /usr/lib/python3/dist-packages /usr/lib/python3.6/dist-packages Found CUDA 10.2 in: /usr/local/cuda-10.2/targets/aarch64-linux/lib /usr/local/cuda-10.2/targets/aarch64-linux/include Found cuDNN 8 in: /usr/lib/aarch64-linux-gnu /usr/include Found TensorRT 7 in: /usr/lib/aarch64-linux-gnu /usr/include/aarch64-linux-gnu

[ OK ] Successfully configured .apollo.bazelrc in non-interactive mode. [ OK ] Running GPU build on aarch64 platform. [WARNING] ESD CAN library supplied by ESD Electronics doesn't exist. [WARNING] If you need ESD CAN, please refer to: [WARNING] third_party/can_card_library/esd_can/README.md [INFO] Build Overview: [INFO] USE_GPU: 1 [ 0 for CPU, 1 for GPU ] [INFO] Bazel Options: --config=gpu [INFO] Build Targets: //modules/... union //cyber/... [INFO] Disabled: except //modules/localization/msf/... Extracting Bazel installation... Starting local Bazel server and connecting to it... (02:38:23) INFO: Invocation ID: 8e393121-e215-4f16-a2a4-a9d5d4b174a9 (02:38:24) INFO: Current date is 2022-02-09 (02:39:31) WARNING: /apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/external/remote_java_tools_linux/BUILD:733:11: in hdrs attribute of cc_library rule @remote_java_tools_linux//:combiners: Artifact 'external/remote_java_tools_linux/java_tools/src/tools/singlejar/zip_headers.h' is duplicated (through '@remote_java_tools_linux//:transient_bytes' and '@remote_java_tools_linux//:zip_headers'). Since this rule was created by the macro 'cc_library', the error might have been caused by the macro implementation (02:40:42) INFO: Analyzed 5311 targets (687 packages loaded, 19468 targets configured). (02:40:42) INFO: Found 5311 targets... (02:51:13) INFO: From Compiling modules/prediction/scenario/feature_extractor/feature_extractor.cc: In file included from ./modules/prediction/container/container_manager.h:30:0, from ./modules/prediction/scenario/feature_extractor/feature_extractor.h:27, from modules/prediction/scenario/feature_extractor/feature_extractor.cc:17: bazel-out/aarch64-fastbuild/bin/modules/common/adapters/proto/adapter_config.pb.h:344:5: warning: 'AdapterConfig_MessageType_DECISION' is deprecated [-Wdeprecated-declarations] AdapterConfig_MessageType_DECISION; ^~~~~~~~~~ bazel-out/aarch64-fastbuild/bin/modules/common/adapters/proto/adapter_config.pb.h:92:3: note: declared here AdapterConfig_MessageType_DECISION PROTOBUF_DEPRECATED_ENUM = 14, ^~~~~~~~~~ bazel-out/aarch64-fastbuild/bin/modules/common/adapters/proto/adapter_config.pb.h:356:5: warning: 'AdapterConfig_MessageType_HMI_COMMAND' is deprecated [-Wdeprecated-declarations] AdapterConfig_MessageType_HMI_COMMAND; ^~~~~~~~~ bazel-out/aarch64-fastbuild/bin/modules/common/adapters/proto/adapter_config.pb.h:98:3: note: declared here AdapterConfig_MessageType_HMI_COMMAND PROTOBUF_DEPRECATED_ENUM = 20, ^~~~~~~~~ (02:51:24) INFO: From Compiling modules/prediction/common/feature_output.cc: In file included from ./modules/prediction/container/obstacles/obstacle.h:38:0, from ./modules/prediction/common/feature_output.h:23, from modules/prediction/common/feature_output.cc:17: bazel-out/aarch64-fastbuild/bin/modules/prediction/proto/prediction_conf.pb.h:328:5: warning: 'ObstacleConf_EvaluatorType_RNN_EVALUATOR' is deprecated [-Wdeprecated-declarations] ObstacleConf_EvaluatorType_RNN_EVALUATOR; ^~~~~~~~~~~~ bazel-out/aarch64-fastbuild/bin/modules/prediction/proto/prediction_conf.pb.h:108:3: note: declared here ObstacleConf_EvaluatorType_RNN_EVALUATOR PROTOBUF_DEPRECATED_ENUM = 1, ^~~~~~~~~~~~ bazel-out/aarch64-fastbuild/bin/modules/prediction/proto/prediction_conf.pb.h:382:5: warning: 'ObstacleConf_PredictorType_REGIONAL_PREDICTOR' is deprecated [-Wdeprecated-declarations] ObstacleConf_PredictorType_REGIONAL_PREDICTOR; ^~~~~~~~~~~~~ bazel-out/aarch64-fastbuild/bin/modules/prediction/proto/prediction_conf.pb.h:143:3: note: declared here ObstacleConf_PredictorType_REGIONAL_PREDICTOR PROTOBUF_DEPRECATED_ENUM = 2, ^~~~~~~~~~~~~ (02:52:54) INFO: From Compiling modules/prediction/container/obstacles/obstacle.cc: In file included from ./modules/prediction/container/obstacles/obstacle.h:38:0, from modules/prediction/container/obstacles/obstacle.cc:17: bazel-out/aarch64-fastbuild/bin/modules/prediction/proto/prediction_conf.pb.h:328:5: warning: 'ObstacleConf_EvaluatorType_RNN_EVALUATOR' is deprecated [-Wdeprecated-declarations] ObstacleConf_EvaluatorType_RNN_EVALUATOR; ^~~~~~~~~~~~ bazel-out/aarch64-fastbuild/bin/modules/prediction/proto/prediction_conf.pb.h:108:3: note: declared here ObstacleConf_EvaluatorType_RNN_EVALUATOR PROTOBUF_DEPRECATED_ENUM = 1, ^~~~~~~~~~~~ bazel-out/aarch64-fastbuild/bin/modules/prediction/proto/prediction_conf.pb.h:382:5: warning: 'ObstacleConf_PredictorType_REGIONAL_PREDICTOR' is deprecated [-Wdeprecated-declarations] ObstacleConf_PredictorType_REGIONAL_PREDICTOR; ^~~~~~~~~~~~~ bazel-out/aarch64-fastbuild/bin/modules/prediction/proto/prediction_conf.pb.h:143:3: note: declared here ObstacleConf_PredictorType_REGIONAL_PREDICTOR PROTOBUF_DEPRECATED_ENUM = 2, ^~~~~~~~~~~~~ (02:52:59) INFO: From Compiling modules/prediction/submodules/submodule_output.cc: In file included from ./modules/prediction/container/obstacles/obstacle.h:38:0, from ./modules/prediction/submodules/submodule_output.h:30, from modules/prediction/submodules/submodule_output.cc:17: bazel-out/aarch64-fastbuild/bin/modules/prediction/proto/prediction_conf.pb.h:328:5: warning: 'ObstacleConf_EvaluatorType_RNN_EVALUATOR' is deprecated [-Wdeprecated-declarations] ObstacleConf_EvaluatorType_RNN_EVALUATOR; ^~~~~~~~~~~~ bazel-out/aarch64-fastbuild/bin/modules/prediction/proto/prediction_conf.pb.h:108:3: note: declared here ObstacleConf_EvaluatorType_RNN_EVALUATOR PROTOBUF_DEPRECATED_ENUM = 1, ^~~~~~~~~~~~ bazel-out/aarch64-fastbuild/bin/modules/prediction/proto/prediction_conf.pb.h:382:5: warning: 'ObstacleConf_PredictorType_REGIONAL_PREDICTOR' is deprecated [-Wdeprecated-declarations] ObstacleConf_PredictorType_REGIONAL_PREDICTOR; ^~~~~~~~~~~~~ bazel-out/aarch64-fastbuild/bin/modules/prediction/proto/prediction_conf.pb.h:143:3: note: declared here ObstacleConf_PredictorType_REGIONAL_PREDICTOR PROTOBUF_DEPRECATED_ENUM = 2, ^~~~~~~~~~~~~ (02:53:07) INFO: From Compiling modules/prediction/container/obstacles/obstacles_container.cc: In file included from ./modules/prediction/container/obstacles/obstacle.h:38:0, from ./modules/prediction/container/obstacles/obstacles_container.h:31, from modules/prediction/container/obstacles/obstacles_container.cc:17: bazel-out/aarch64-fastbuild/bin/modules/prediction/proto/prediction_conf.pb.h:328:5: warning: 'ObstacleConf_EvaluatorType_RNN_EVALUATOR' is deprecated [-Wdeprecated-declarations] ObstacleConf_EvaluatorType_RNN_EVALUATOR; ^~~~~~~~~~~~ bazel-out/aarch64-fastbuild/bin/modules/prediction/proto/prediction_conf.pb.h:108:3: note: declared here ObstacleConf_EvaluatorType_RNN_EVALUATOR PROTOBUF_DEPRECATED_ENUM = 1, ^~~~~~~~~~~~ bazel-out/aarch64-fastbuild/bin/modules/prediction/proto/prediction_conf.pb.h:382:5: warning: 'ObstacleConf_PredictorType_REGIONAL_PREDICTOR' is deprecated [-Wdeprecated-declarations] ObstacleConf_PredictorType_REGIONAL_PREDICTOR; ^~~~~~~~~~~~~ bazel-out/aarch64-fastbuild/bin/modules/prediction/proto/prediction_conf.pb.h:143:3: note: declared here ObstacleConf_PredictorType_REGIONAL_PREDICTOR PROTOBUF_DEPRECATED_ENUM = 2, ^~~~~~~~~~~~~ (02:53:32) INFO: From Compiling modules/prediction/container/container_manager.cc: In file included from ./modules/prediction/container/container_manager.h:30:0, from modules/prediction/container/container_manager.cc:17: bazel-out/aarch64-fastbuild/bin/modules/common/adapters/proto/adapter_config.pb.h:344:5: warning: 'AdapterConfig_MessageType_DECISION' is deprecated [-Wdeprecated-declarations] AdapterConfig_MessageType_DECISION; ^~~~~~~~~~ bazel-out/aarch64-fastbuild/bin/modules/common/adapters/proto/adapter_config.pb.h:92:3: note: declared here AdapterConfig_MessageType_DECISION PROTOBUF_DEPRECATED_ENUM = 14, ^~~~~~~~~~ bazel-out/aarch64-fastbuild/bin/modules/common/adapters/proto/adapter_config.pb.h:356:5: warning: 'AdapterConfig_MessageType_HMI_COMMAND' is deprecated [-Wdeprecated-declarations] AdapterConfig_MessageType_HMI_COMMAND; ^~~~~~~~~ bazel-out/aarch64-fastbuild/bin/modules/common/adapters/proto/adapter_config.pb.h:98:3: note: declared here AdapterConfig_MessageType_HMI_COMMAND PROTOBUF_DEPRECATED_ENUM = 20, ^~~~~~~~~ In file included from ./modules/prediction/container/obstacles/obstacle.h:38:0, from ./modules/prediction/container/obstacles/obstacles_container.h:31, from modules/prediction/container/container_manager.cc:20: bazel-out/aarch64-fastbuild/bin/modules/prediction/proto/prediction_conf.pb.h:328:5: warning: 'ObstacleConf_EvaluatorType_RNN_EVALUATOR' is deprecated [-Wdeprecated-declarations] ObstacleConf_EvaluatorType_RNN_EVALUATOR; ^~~~~~~~~~~~ bazel-out/aarch64-fastbuild/bin/modules/prediction/proto/prediction_conf.pb.h:108:3: note: declared here ObstacleConf_EvaluatorType_RNN_EVALUATOR PROTOBUF_DEPRECATED_ENUM = 1, ^~~~~~~~~~~~ bazel-out/aarch64-fastbuild/bin/modules/prediction/proto/prediction_conf.pb.h:382:5: warning: 'ObstacleConf_PredictorType_REGIONAL_PREDICTOR' is deprecated [-Wdeprecated-declarations] ObstacleConf_PredictorType_REGIONAL_PREDICTOR; ^~~~~~~~~~~~~ bazel-out/aarch64-fastbuild/bin/modules/prediction/proto/prediction_conf.pb.h:143:3: note: declared here ObstacleConf_PredictorType_REGIONAL_PREDICTOR PROTOBUF_DEPRECATED_ENUM = 2, ^~~~~~~~~~~~~ (02:56:16) INFO: From Compiling modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc: In file included from ./cyber/common/log.h:27:0, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:37: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:506:0: warning: "LOG" redefined

define LOG(severity) COMPACT_GOOGLELOG ## severity.stream()

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.h:55, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:32: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:96:0: note: this is the location of the previous definition

define LOG(n) \

In file included from bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:513:0, from ./cyber/common/log.h:27, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:37: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/vlog_is_on.h:82:0: warning: "VLOG_IS_ON" redefined

define VLOG_IS_ON(verboselevel) \

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.h:55, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:32: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:106:0: note: this is the location of the previous definition

define VLOG_IS_ON(verboselevel) (CAFFE2_LOG_THRESHOLD <= -(verboselevel))

In file included from ./cyber/common/log.h:27:0, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:37: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:570:0: warning: "LOG_IF" redefined

define LOG_IF(severity, condition) \

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.h:55, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:32: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:101:0: note: this is the location of the previous definition

define LOG_IF(n, condition) \

In file included from ./cyber/common/log.h:27:0, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:37: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:586:0: warning: "CHECK" redefined

define CHECK(condition) \

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.h:55, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:32: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:121:0: note: this is the location of the previous definition

define CHECK(condition) FATAL_IF(condition) << "Check failed: " #condition " "

In file included from ./cyber/common/log.h:27:0, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:37: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:765:0: warning: "CHECK_OP" redefined

define CHECK_OP(name, op, val1, val2) \

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.h:55, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:32: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:133:0: note: this is the location of the previous definition

define CHECK_OP(val1, val2, op) \

In file included from ./cyber/common/log.h:27:0, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:37: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:790:0: warning: "CHECK_EQ" redefined

define CHECK_EQ(val1, val2) CHECK_OP(_EQ, ==, val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.h:55, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:32: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:139:0: note: this is the location of the previous definition

define CHECK_EQ(val1, val2) CHECK_OP(val1, val2, ==)

In file included from ./cyber/common/log.h:27:0, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:37: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:791:0: warning: "CHECK_NE" redefined

define CHECK_NE(val1, val2) CHECK_OP(_NE, !=, val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.h:55, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:32: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:140:0: note: this is the location of the previous definition

define CHECK_NE(val1, val2) CHECK_OP(val1, val2, !=)

In file included from ./cyber/common/log.h:27:0, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:37: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:792:0: warning: "CHECK_LE" redefined

define CHECK_LE(val1, val2) CHECK_OP(_LE, <=, val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.h:55, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:32: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:141:0: note: this is the location of the previous definition

define CHECK_LE(val1, val2) CHECK_OP(val1, val2, <=)

In file included from ./cyber/common/log.h:27:0, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:37: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:793:0: warning: "CHECK_LT" redefined

define CHECK_LT(val1, val2) CHECK_OP(_LT, < , val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.h:55, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:32: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:142:0: note: this is the location of the previous definition

define CHECK_LT(val1, val2) CHECK_OP(val1, val2, <)

In file included from ./cyber/common/log.h:27:0, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:37: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:794:0: warning: "CHECK_GE" redefined

define CHECK_GE(val1, val2) CHECK_OP(_GE, >=, val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.h:55, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:32: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:143:0: note: this is the location of the previous definition

define CHECK_GE(val1, val2) CHECK_OP(val1, val2, >=)

In file included from ./cyber/common/log.h:27:0, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:37: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:795:0: warning: "CHECK_GT" redefined

define CHECK_GT(val1, val2) CHECK_OP(_GT, > , val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.h:55, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:32: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:144:0: note: this is the location of the previous definition

define CHECK_GT(val1, val2) CHECK_OP(val1, val2, >)

In file included from ./cyber/common/log.h:27:0, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:37: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:800:0: warning: "CHECK_NOTNULL" redefined

define CHECK_NOTNULL(val) \

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.h:55, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:32: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:177:0: note: this is the location of the previous definition

define CHECK_NOTNULL(val) \

In file included from ./cyber/common/log.h:27:0, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:37: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:994:0: warning: "DCHECK" redefined

define DCHECK(condition) CHECK(condition)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.h:55, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:32: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:125:0: note: this is the location of the previous definition

define DCHECK(condition) FATAL_IF(condition) << "Check failed: " #condition " "

In file included from ./cyber/common/log.h:27:0, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:37: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:995:0: warning: "DCHECK_EQ" redefined

define DCHECK_EQ(val1, val2) CHECK_EQ(val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.h:55, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:32: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:148:0: note: this is the location of the previous definition

define DCHECK_EQ(val1, val2) CHECK_OP(val1, val2, ==)

In file included from ./cyber/common/log.h:27:0, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:37: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:996:0: warning: "DCHECK_NE" redefined

define DCHECK_NE(val1, val2) CHECK_NE(val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.h:55, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:32: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:149:0: note: this is the location of the previous definition

define DCHECK_NE(val1, val2) CHECK_OP(val1, val2, !=)

In file included from ./cyber/common/log.h:27:0, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:37: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:997:0: warning: "DCHECK_LE" redefined

define DCHECK_LE(val1, val2) CHECK_LE(val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.h:55, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:32: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:150:0: note: this is the location of the previous definition

define DCHECK_LE(val1, val2) CHECK_OP(val1, val2, <=)

In file included from ./cyber/common/log.h:27:0, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:37: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:998:0: warning: "DCHECK_LT" redefined

define DCHECK_LT(val1, val2) CHECK_LT(val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.h:55, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:32: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:151:0: note: this is the location of the previous definition

define DCHECK_LT(val1, val2) CHECK_OP(val1, val2, <)

In file included from ./cyber/common/log.h:27:0, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:37: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:999:0: warning: "DCHECK_GE" redefined

define DCHECK_GE(val1, val2) CHECK_GE(val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.h:55, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:32: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:152:0: note: this is the location of the previous definition

define DCHECK_GE(val1, val2) CHECK_OP(val1, val2, >=)

In file included from ./cyber/common/log.h:27:0, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:37: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:1000:0: warning: "DCHECK_GT" redefined

define DCHECK_GT(val1, val2) CHECK_GT(val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.h:55, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:32: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:153:0: note: this is the location of the previous definition

define DCHECK_GT(val1, val2) CHECK_OP(val1, val2, >)

In file included from ./cyber/common/log.h:27:0, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:37: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:1001:0: warning: "DCHECK_NOTNULL" redefined

define DCHECK_NOTNULL(val) CHECK_NOTNULL(val)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.h:55, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:32: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:183:0: note: this is the location of the previous definition

define DCHECK_NOTNULL(val) \

In file included from ./cyber/common/log.h:27:0, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:37: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:1098:0: warning: "VLOG" redefined

define VLOG(verboselevel) LOG_IF(INFO, VLOG_IS_ON(verboselevel))

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.h:55, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:32: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:99:0: note: this is the location of the previous definition

define VLOG(n) LOG((-n))

In file included from ./cyber/common/log.h:27:0, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:37: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:1100:0: warning: "VLOG_IF" redefined

define VLOG_IF(verboselevel, condition) \

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.h:55, from modules/perception/lidar/lib/detector/point_pillars_detection/point_pillars.cc:32: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:104:0: note: this is the location of the previous definition

define VLOG_IF(n, condition) LOG_IF((-n), (condition))

(02:56:31) INFO: From Compiling modules/perception/lidar/lib/detector/cnn_segmentation/cnn_segmentation.cc: In file included from external/boost/boost/signals2/detail/null_output_iterator.hpp:14:0, from external/boost/boost/signals2/connection.hpp:22, from external/boost/boost/signals2/signal.hpp:22, from external/boost/boost/signals2.hpp:19, from bazel-out/aarch64-fastbuild/bin/external/local_config_pcl/_virtual_includes/pcl_headers/pcl/io/boost.h:64, from bazel-out/aarch64-fastbuild/bin/external/local_config_pcl/_virtual_includes/pcl_headers/pcl/io/file_io.h:42, from bazel-out/aarch64-fastbuild/bin/external/local_config_pcl/_virtual_includes/pcl_headers/pcl/io/pcd_io.h:44, from ./modules/perception/lidar/common/pcl_util.h:21, from ./modules/perception/lidar/lib/detector/ncut_segmentation/ncut_segmentation.h:28, from modules/perception/lidar/lib/detector/cnn_segmentation/cnn_segmentation.cc:31: external/boost/boost/function_output_iterator.hpp:14:72: note: #pragma message: This header is deprecated. Use <boost/iterator/function_output_iterator.hpp> instead. BOOST_HEADER_DEPRECATED("<boost/iterator/function_output_iterator.hpp>") ^ (02:56:38) INFO: From Compiling modules/perception/inference/tensorrt/batch_stream.cc: In file included from modules/perception/inference/tensorrt/batch_stream.cc:17:0: ./modules/perception/inference/tensorrt/batch_stream.h:45:32: warning: 'DimsNCHW' is deprecated [-Wdeprecated-declarations] nvinfer1::DimsNCHW getDims() const { return mDims; } ^~~~~ In file included from ./modules/perception/inference/tensorrt/batch_stream.h:22:0, from modules/perception/inference/tensorrt/batch_stream.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:316:22: note: declared here class TRT_DEPRECATED DimsNCHW : public Dims4 ^~~~ In file included from modules/perception/inference/tensorrt/batch_stream.cc:17:0: ./modules/perception/inference/tensorrt/batch_stream.h:60:22: warning: 'DimsNCHW' is deprecated [-Wdeprecated-declarations] nvinfer1::DimsNCHW mDims; ^~~~~ In file included from ./modules/perception/inference/tensorrt/batch_stream.h:22:0, from modules/perception/inference/tensorrt/batch_stream.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:316:22: note: declared here class TRT_DEPRECATED DimsNCHW : public Dims4 ^~~~ (02:56:41) INFO: From Compiling modules/perception/inference/onnx/libtorch_obstacle_detector.cc: In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:27, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:506:0: warning: "LOG" redefined

define LOG(severity) COMPACT_GOOGLELOG ## severity.stream()

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:24, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:96:0: note: this is the location of the previous definition

define LOG(n) \

In file included from bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:513:0, from ./cyber/common/log.h:27, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:27, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/vlog_is_on.h:82:0: warning: "VLOG_IS_ON" redefined

define VLOG_IS_ON(verboselevel) \

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:24, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:106:0: note: this is the location of the previous definition

define VLOG_IS_ON(verboselevel) (CAFFE2_LOG_THRESHOLD <= -(verboselevel))

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:27, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:570:0: warning: "LOG_IF" redefined

define LOG_IF(severity, condition) \

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:24, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:101:0: note: this is the location of the previous definition

define LOG_IF(n, condition) \

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:27, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:586:0: warning: "CHECK" redefined

define CHECK(condition) \

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:24, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:121:0: note: this is the location of the previous definition

define CHECK(condition) FATAL_IF(condition) << "Check failed: " #condition " "

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:27, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:765:0: warning: "CHECK_OP" redefined

define CHECK_OP(name, op, val1, val2) \

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:24, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:133:0: note: this is the location of the previous definition

define CHECK_OP(val1, val2, op) \

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:27, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:790:0: warning: "CHECK_EQ" redefined

define CHECK_EQ(val1, val2) CHECK_OP(_EQ, ==, val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:24, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:139:0: note: this is the location of the previous definition

define CHECK_EQ(val1, val2) CHECK_OP(val1, val2, ==)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:27, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:791:0: warning: "CHECK_NE" redefined

define CHECK_NE(val1, val2) CHECK_OP(_NE, !=, val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:24, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:140:0: note: this is the location of the previous definition

define CHECK_NE(val1, val2) CHECK_OP(val1, val2, !=)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:27, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:792:0: warning: "CHECK_LE" redefined

define CHECK_LE(val1, val2) CHECK_OP(_LE, <=, val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:24, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:141:0: note: this is the location of the previous definition

define CHECK_LE(val1, val2) CHECK_OP(val1, val2, <=)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:27, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:793:0: warning: "CHECK_LT" redefined

define CHECK_LT(val1, val2) CHECK_OP(_LT, < , val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:24, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:142:0: note: this is the location of the previous definition

define CHECK_LT(val1, val2) CHECK_OP(val1, val2, <)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:27, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:794:0: warning: "CHECK_GE" redefined

define CHECK_GE(val1, val2) CHECK_OP(_GE, >=, val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:24, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:143:0: note: this is the location of the previous definition

define CHECK_GE(val1, val2) CHECK_OP(val1, val2, >=)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:27, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:795:0: warning: "CHECK_GT" redefined

define CHECK_GT(val1, val2) CHECK_OP(_GT, > , val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:24, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:144:0: note: this is the location of the previous definition

define CHECK_GT(val1, val2) CHECK_OP(val1, val2, >)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:27, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:800:0: warning: "CHECK_NOTNULL" redefined

define CHECK_NOTNULL(val) \

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:24, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:177:0: note: this is the location of the previous definition

define CHECK_NOTNULL(val) \

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:27, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:994:0: warning: "DCHECK" redefined

define DCHECK(condition) CHECK(condition)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:24, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:125:0: note: this is the location of the previous definition

define DCHECK(condition) FATAL_IF(condition) << "Check failed: " #condition " "

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:27, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:995:0: warning: "DCHECK_EQ" redefined

define DCHECK_EQ(val1, val2) CHECK_EQ(val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:24, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:148:0: note: this is the location of the previous definition

define DCHECK_EQ(val1, val2) CHECK_OP(val1, val2, ==)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:27, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:996:0: warning: "DCHECK_NE" redefined

define DCHECK_NE(val1, val2) CHECK_NE(val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:24, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:149:0: note: this is the location of the previous definition

define DCHECK_NE(val1, val2) CHECK_OP(val1, val2, !=)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:27, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:997:0: warning: "DCHECK_LE" redefined

define DCHECK_LE(val1, val2) CHECK_LE(val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:24, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:150:0: note: this is the location of the previous definition

define DCHECK_LE(val1, val2) CHECK_OP(val1, val2, <=)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:27, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:998:0: warning: "DCHECK_LT" redefined

define DCHECK_LT(val1, val2) CHECK_LT(val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:24, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:151:0: note: this is the location of the previous definition

define DCHECK_LT(val1, val2) CHECK_OP(val1, val2, <)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:27, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:999:0: warning: "DCHECK_GE" redefined

define DCHECK_GE(val1, val2) CHECK_GE(val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:24, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:152:0: note: this is the location of the previous definition

define DCHECK_GE(val1, val2) CHECK_OP(val1, val2, >=)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:27, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:1000:0: warning: "DCHECK_GT" redefined

define DCHECK_GT(val1, val2) CHECK_GT(val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:24, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:153:0: note: this is the location of the previous definition

define DCHECK_GT(val1, val2) CHECK_OP(val1, val2, >)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:27, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:1001:0: warning: "DCHECK_NOTNULL" redefined

define DCHECK_NOTNULL(val) CHECK_NOTNULL(val)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:24, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:183:0: note: this is the location of the previous definition

define DCHECK_NOTNULL(val) \

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:27, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:1098:0: warning: "VLOG" redefined

define VLOG(verboselevel) LOG_IF(INFO, VLOG_IS_ON(verboselevel))

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:24, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:99:0: note: this is the location of the previous definition

define VLOG(n) LOG((-n))

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:27, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:1100:0: warning: "VLOG_IF" redefined

define VLOG_IF(verboselevel, condition) \

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/onnx/libtorch_obstacle_detector.h:24, from modules/perception/inference/onnx/libtorch_obstacle_detector.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:104:0: note: this is the location of the previous definition

define VLOG_IF(n, condition) LOG_IF((-n), (condition))

(02:56:46) INFO: From Compiling modules/perception/inference/libtorch/torch_net.cc: In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_net.h:27, from modules/perception/inference/libtorch/torch_net.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:506:0: warning: "LOG" redefined

define LOG(severity) COMPACT_GOOGLELOG ## severity.stream()

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_net.h:24, from modules/perception/inference/libtorch/torch_net.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:96:0: note: this is the location of the previous definition

define LOG(n) \

In file included from bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:513:0, from ./cyber/common/log.h:27, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_net.h:27, from modules/perception/inference/libtorch/torch_net.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/vlog_is_on.h:82:0: warning: "VLOG_IS_ON" redefined

define VLOG_IS_ON(verboselevel) \

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_net.h:24, from modules/perception/inference/libtorch/torch_net.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:106:0: note: this is the location of the previous definition

define VLOG_IS_ON(verboselevel) (CAFFE2_LOG_THRESHOLD <= -(verboselevel))

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_net.h:27, from modules/perception/inference/libtorch/torch_net.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:570:0: warning: "LOG_IF" redefined

define LOG_IF(severity, condition) \

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_net.h:24, from modules/perception/inference/libtorch/torch_net.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:101:0: note: this is the location of the previous definition

define LOG_IF(n, condition) \

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_net.h:27, from modules/perception/inference/libtorch/torch_net.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:586:0: warning: "CHECK" redefined

define CHECK(condition) \

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_net.h:24, from modules/perception/inference/libtorch/torch_net.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:121:0: note: this is the location of the previous definition

define CHECK(condition) FATAL_IF(condition) << "Check failed: " #condition " "

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_net.h:27, from modules/perception/inference/libtorch/torch_net.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:765:0: warning: "CHECK_OP" redefined

define CHECK_OP(name, op, val1, val2) \

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_net.h:24, from modules/perception/inference/libtorch/torch_net.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:133:0: note: this is the location of the previous definition

define CHECK_OP(val1, val2, op) \

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_net.h:27, from modules/perception/inference/libtorch/torch_net.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:790:0: warning: "CHECK_EQ" redefined

define CHECK_EQ(val1, val2) CHECK_OP(_EQ, ==, val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_net.h:24, from modules/perception/inference/libtorch/torch_net.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:139:0: note: this is the location of the previous definition

define CHECK_EQ(val1, val2) CHECK_OP(val1, val2, ==)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_net.h:27, from modules/perception/inference/libtorch/torch_net.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:791:0: warning: "CHECK_NE" redefined

define CHECK_NE(val1, val2) CHECK_OP(_NE, !=, val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_net.h:24, from modules/perception/inference/libtorch/torch_net.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:140:0: note: this is the location of the previous definition

define CHECK_NE(val1, val2) CHECK_OP(val1, val2, !=)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_net.h:27, from modules/perception/inference/libtorch/torch_net.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:792:0: warning: "CHECK_LE" redefined

define CHECK_LE(val1, val2) CHECK_OP(_LE, <=, val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_net.h:24, from modules/perception/inference/libtorch/torch_net.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:141:0: note: this is the location of the previous definition

define CHECK_LE(val1, val2) CHECK_OP(val1, val2, <=)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_net.h:27, from modules/perception/inference/libtorch/torch_net.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:793:0: warning: "CHECK_LT" redefined

define CHECK_LT(val1, val2) CHECK_OP(_LT, < , val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_net.h:24, from modules/perception/inference/libtorch/torch_net.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:142:0: note: this is the location of the previous definition

define CHECK_LT(val1, val2) CHECK_OP(val1, val2, <)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_net.h:27, from modules/perception/inference/libtorch/torch_net.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:794:0: warning: "CHECK_GE" redefined

define CHECK_GE(val1, val2) CHECK_OP(_GE, >=, val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_net.h:24, from modules/perception/inference/libtorch/torch_net.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:143:0: note: this is the location of the previous definition

define CHECK_GE(val1, val2) CHECK_OP(val1, val2, >=)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_net.h:27, from modules/perception/inference/libtorch/torch_net.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:795:0: warning: "CHECK_GT" redefined

define CHECK_GT(val1, val2) CHECK_OP(_GT, > , val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_net.h:24, from modules/perception/inference/libtorch/torch_net.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:144:0: note: this is the location of the previous definition

define CHECK_GT(val1, val2) CHECK_OP(val1, val2, >)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_net.h:27, from modules/perception/inference/libtorch/torch_net.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:800:0: warning: "CHECK_NOTNULL" redefined

define CHECK_NOTNULL(val) \

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_net.h:24, from modules/perception/inference/libtorch/torch_net.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:177:0: note: this is the location of the previous definition

define CHECK_NOTNULL(val) \

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_net.h:27, from modules/perception/inference/libtorch/torch_net.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:994:0: warning: "DCHECK" redefined

define DCHECK(condition) CHECK(condition)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_net.h:24, from modules/perception/inference/libtorch/torch_net.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:125:0: note: this is the location of the previous definition

define DCHECK(condition) FATAL_IF(condition) << "Check failed: " #condition " "

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_net.h:27, from modules/perception/inference/libtorch/torch_net.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:995:0: warning: "DCHECK_EQ" redefined

define DCHECK_EQ(val1, val2) CHECK_EQ(val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_net.h:24, from modules/perception/inference/libtorch/torch_net.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:148:0: note: this is the location of the previous definition

define DCHECK_EQ(val1, val2) CHECK_OP(val1, val2, ==)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_net.h:27, from modules/perception/inference/libtorch/torch_net.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:996:0: warning: "DCHECK_NE" redefined

define DCHECK_NE(val1, val2) CHECK_NE(val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_net.h:24, from modules/perception/inference/libtorch/torch_net.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:149:0: note: this is the location of the previous definition

define DCHECK_NE(val1, val2) CHECK_OP(val1, val2, !=)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_net.h:27, from modules/perception/inference/libtorch/torch_net.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:997:0: warning: "DCHECK_LE" redefined

define DCHECK_LE(val1, val2) CHECK_LE(val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_net.h:24, from modules/perception/inference/libtorch/torch_net.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:150:0: note: this is the location of the previous definition

define DCHECK_LE(val1, val2) CHECK_OP(val1, val2, <=)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_net.h:27, from modules/perception/inference/libtorch/torch_net.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:998:0: warning: "DCHECK_LT" redefined

define DCHECK_LT(val1, val2) CHECK_LT(val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_net.h:24, from modules/perception/inference/libtorch/torch_net.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:151:0: note: this is the location of the previous definition

define DCHECK_LT(val1, val2) CHECK_OP(val1, val2, <)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_net.h:27, from modules/perception/inference/libtorch/torch_net.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:999:0: warning: "DCHECK_GE" redefined

define DCHECK_GE(val1, val2) CHECK_GE(val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_net.h:24, from modules/perception/inference/libtorch/torch_net.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:152:0: note: this is the location of the previous definition

define DCHECK_GE(val1, val2) CHECK_OP(val1, val2, >=)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_net.h:27, from modules/perception/inference/libtorch/torch_net.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:1000:0: warning: "DCHECK_GT" redefined

define DCHECK_GT(val1, val2) CHECK_GT(val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_net.h:24, from modules/perception/inference/libtorch/torch_net.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:153:0: note: this is the location of the previous definition

define DCHECK_GT(val1, val2) CHECK_OP(val1, val2, >)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_net.h:27, from modules/perception/inference/libtorch/torch_net.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:1001:0: warning: "DCHECK_NOTNULL" redefined

define DCHECK_NOTNULL(val) CHECK_NOTNULL(val)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_net.h:24, from modules/perception/inference/libtorch/torch_net.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:183:0: note: this is the location of the previous definition

define DCHECK_NOTNULL(val) \

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_net.h:27, from modules/perception/inference/libtorch/torch_net.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:1098:0: warning: "VLOG" redefined

define VLOG(verboselevel) LOG_IF(INFO, VLOG_IS_ON(verboselevel))

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_net.h:24, from modules/perception/inference/libtorch/torch_net.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:99:0: note: this is the location of the previous definition

define VLOG(n) LOG((-n))

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_net.h:27, from modules/perception/inference/libtorch/torch_net.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:1100:0: warning: "VLOG_IF" redefined

define VLOG_IF(verboselevel, condition) \

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_net.h:24, from modules/perception/inference/libtorch/torch_net.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:104:0: note: this is the location of the previous definition

define VLOG_IF(n, condition) LOG_IF((-n), (condition))

(02:56:55) INFO: From Compiling modules/perception/inference/tensorrt/entropy_calibrator.cc: In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:25:0, from modules/perception/inference/tensorrt/entropy_calibrator.cc:16: ./modules/perception/inference/tensorrt/batch_stream.h:45:32: warning: 'DimsNCHW' is deprecated [-Wdeprecated-declarations] nvinfer1::DimsNCHW getDims() const { return mDims; } ^~~~~ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from modules/perception/inference/tensorrt/entropy_calibrator.cc:16: /usr/include/aarch64-linux-gnu/NvInfer.h:316:22: note: declared here class TRT_DEPRECATED DimsNCHW : public Dims4 ^~~~ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:25:0, from modules/perception/inference/tensorrt/entropy_calibrator.cc:16: ./modules/perception/inference/tensorrt/batch_stream.h:60:22: warning: 'DimsNCHW' is deprecated [-Wdeprecated-declarations] nvinfer1::DimsNCHW mDims; ^~~~~ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from modules/perception/inference/tensorrt/entropy_calibrator.cc:16: /usr/include/aarch64-linux-gnu/NvInfer.h:316:22: note: declared here class TRT_DEPRECATED DimsNCHW : public Dims4 ^~~~ modules/perception/inference/tensorrt/entropy_calibrator.cc: In constructor 'nvinfer1::Int8EntropyCalibrator::Int8EntropyCalibrator(const apollo::perception::inference::BatchStream&, int, bool, std::cxx11::string)': modules/perception/inference/tensorrt/entropycalibrator.cc:28:12: warning: 'DimsNCHW' is deprecated [-Wdeprecated-declarations] DimsNCHW dims = stream.getDims(); ^~~~ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from modules/perception/inference/tensorrt/entropy_calibrator.cc:16: /usr/include/aarch64-linux-gnu/NvInfer.h:316:22: note: declared here class TRT_DEPRECATED DimsNCHW : public Dims4 ^~~~ (02:57:08) INFO: From Compiling modules/perception/inference/tensorrt/rt_common.cc: In file included from modules/perception/inference/tensorrt/rt_common.cc:17:0: ./modules/perception/inference/tensorrt/rt_common.h:38:41: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations] typedef std::map<std::string, nvinfer1::DimsCHW> TensorDimsMap; ^~~ In file included from /usr/include/aarch64-linux-gnu/NvCaffeParser.h:53:0, from ./modules/perception/inference/tensorrt/rt_common.h:23, from modules/perception/inference/tensorrt/rt_common.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:206:22: note: declared here class TRT_DEPRECATED DimsCHW : public Dims3 ^~~ In file included from modules/perception/inference/tensorrt/rt_common.cc:17:0: ./modules/perception/inference/tensorrt/rt_common.h:41:65: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations] const nvinfer1::DimsCHW &inputDims); ^ In file included from /usr/include/aarch64-linux-gnu/NvCaffeParser.h:53:0, from ./modules/perception/inference/tensorrt/rt_common.h:23, from modules/perception/inference/tensorrt/rt_common.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:206:22: note: declared here class TRT_DEPRECATED DimsCHW : public Dims3 ^~~ In file included from modules/perception/inference/tensorrt/rt_common.cc:17:0: ./modules/perception/inference/tensorrt/rt_common.h:41:65: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations] const nvinfer1::DimsCHW &inputDims); ^ ./modules/perception/inference/tensorrt/rt_common.h:41:65: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations] ./modules/perception/inference/tensorrt/rt_common.h:62:56: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations] inline nvinfer1::DimsCHW getCHW(const nvinfer1::Dims &d) { ^ In file included from /usr/include/aarch64-linux-gnu/NvCaffeParser.h:53:0, from ./modules/perception/inference/tensorrt/rt_common.h:23, from modules/perception/inference/tensorrt/rt_common.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:206:22: note: declared here class TRT_DEPRECATED DimsCHW : public Dims3 ^~~ In file included from modules/perception/inference/tensorrt/rt_common.cc:17:0: ./modules/perception/inference/tensorrt/rt_common.h: In function 'nvinfer1::DimsCHW apollo::perception::inference::getCHW(const nvinfer1::Dims&)': ./modules/perception/inference/tensorrt/rt_common.h:65:45: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations] d.d[d.nbDims - 1]); ^ In file included from /usr/include/aarch64-linux-gnu/NvCaffeParser.h:53:0, from ./modules/perception/inference/tensorrt/rt_common.h:23, from modules/perception/inference/tensorrt/rt_common.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:206:22: note: declared here class TRT_DEPRECATED DimsCHW : public Dims3 ^~~ modules/perception/inference/tensorrt/rt_common.cc: At global scope: modules/perception/inference/tensorrt/rt_common.cc:28:65: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations] const nvinfer1::DimsCHW &inputDims) { ^ In file included from /usr/include/aarch64-linux-gnu/NvCaffeParser.h:53:0, from ./modules/perception/inference/tensorrt/rt_common.h:23, from modules/perception/inference/tensorrt/rt_common.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:206:22: note: declared here class TRT_DEPRECATED DimsCHW : public Dims3 ^~~ modules/perception/inference/tensorrt/rt_common.cc:28:65: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations] const nvinfer1::DimsCHW &inputDims) { ^ modules/perception/inference/tensorrt/rt_common.cc:28:65: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations] modules/perception/inference/tensorrt/rt_common.cc: In function 'nvinfer1::DimsCHW apollo::perception::inference::ReshapeDims(const nvinfer1::DimsCHW&, const nvinfer1::DimsCHW&)': modules/perception/inference/tensorrt/rt_common.cc:29:21: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations] nvinfer1::DimsCHW outDims = inputDims; ^~~ In file included from /usr/include/aarch64-linux-gnu/NvCaffeParser.h:53:0, from ./modules/perception/inference/tensorrt/rt_common.h:23, from modules/perception/inference/tensorrt/rt_common.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:206:22: note: declared here class TRT_DEPRECATED DimsCHW : public Dims3 ^~~ modules/perception/inference/tensorrt/rt_common.cc: In function 'void apollo::perception::inference::ParseNetParam(const apollo::perception::inference::NetParameter&, apollo::perception::inference::TensorDimsMap*, std::map<std::cxx11::basic_string, std::__cxx11::basic_string >, std::vector)': modules/perception/inference/tensorrt/rt_common.cc:57:27: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations] nvinfer1::DimsCHW dims{static_cast(input.shape(j).dim(1)), ^~~~ In file included from /usr/include/aarch64-linux-gnu/NvCaffeParser.h:53:0, from ./modules/perception/inference/tensorrt/rt_common.h:23, from modules/perception/inference/tensorrt/rt_common.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:206:22: note: declared here class TRT_DEPRECATED DimsCHW : public Dims3 ^~~ (02:57:10) INFO: From Compiling modules/perception/inference/libtorch/torch_det.cc: In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_det.h:27, from modules/perception/inference/libtorch/torch_det.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:506:0: warning: "LOG" redefined

define LOG(severity) COMPACT_GOOGLELOG ## severity.stream()

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_det.h:24, from modules/perception/inference/libtorch/torch_det.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:96:0: note: this is the location of the previous definition

define LOG(n) \

In file included from bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:513:0, from ./cyber/common/log.h:27, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_det.h:27, from modules/perception/inference/libtorch/torch_det.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/vlog_is_on.h:82:0: warning: "VLOG_IS_ON" redefined

define VLOG_IS_ON(verboselevel) \

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_det.h:24, from modules/perception/inference/libtorch/torch_det.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:106:0: note: this is the location of the previous definition

define VLOG_IS_ON(verboselevel) (CAFFE2_LOG_THRESHOLD <= -(verboselevel))

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_det.h:27, from modules/perception/inference/libtorch/torch_det.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:570:0: warning: "LOG_IF" redefined

define LOG_IF(severity, condition) \

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_det.h:24, from modules/perception/inference/libtorch/torch_det.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:101:0: note: this is the location of the previous definition

define LOG_IF(n, condition) \

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_det.h:27, from modules/perception/inference/libtorch/torch_det.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:586:0: warning: "CHECK" redefined

define CHECK(condition) \

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_det.h:24, from modules/perception/inference/libtorch/torch_det.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:121:0: note: this is the location of the previous definition

define CHECK(condition) FATAL_IF(condition) << "Check failed: " #condition " "

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_det.h:27, from modules/perception/inference/libtorch/torch_det.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:765:0: warning: "CHECK_OP" redefined

define CHECK_OP(name, op, val1, val2) \

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_det.h:24, from modules/perception/inference/libtorch/torch_det.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:133:0: note: this is the location of the previous definition

define CHECK_OP(val1, val2, op) \

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_det.h:27, from modules/perception/inference/libtorch/torch_det.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:790:0: warning: "CHECK_EQ" redefined

define CHECK_EQ(val1, val2) CHECK_OP(_EQ, ==, val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_det.h:24, from modules/perception/inference/libtorch/torch_det.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:139:0: note: this is the location of the previous definition

define CHECK_EQ(val1, val2) CHECK_OP(val1, val2, ==)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_det.h:27, from modules/perception/inference/libtorch/torch_det.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:791:0: warning: "CHECK_NE" redefined

define CHECK_NE(val1, val2) CHECK_OP(_NE, !=, val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_det.h:24, from modules/perception/inference/libtorch/torch_det.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:140:0: note: this is the location of the previous definition

define CHECK_NE(val1, val2) CHECK_OP(val1, val2, !=)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_det.h:27, from modules/perception/inference/libtorch/torch_det.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:792:0: warning: "CHECK_LE" redefined

define CHECK_LE(val1, val2) CHECK_OP(_LE, <=, val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_det.h:24, from modules/perception/inference/libtorch/torch_det.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:141:0: note: this is the location of the previous definition

define CHECK_LE(val1, val2) CHECK_OP(val1, val2, <=)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_det.h:27, from modules/perception/inference/libtorch/torch_det.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:793:0: warning: "CHECK_LT" redefined

define CHECK_LT(val1, val2) CHECK_OP(_LT, < , val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_det.h:24, from modules/perception/inference/libtorch/torch_det.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:142:0: note: this is the location of the previous definition

define CHECK_LT(val1, val2) CHECK_OP(val1, val2, <)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_det.h:27, from modules/perception/inference/libtorch/torch_det.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:794:0: warning: "CHECK_GE" redefined

define CHECK_GE(val1, val2) CHECK_OP(_GE, >=, val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_det.h:24, from modules/perception/inference/libtorch/torch_det.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:143:0: note: this is the location of the previous definition

define CHECK_GE(val1, val2) CHECK_OP(val1, val2, >=)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_det.h:27, from modules/perception/inference/libtorch/torch_det.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:795:0: warning: "CHECK_GT" redefined

define CHECK_GT(val1, val2) CHECK_OP(_GT, > , val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_det.h:24, from modules/perception/inference/libtorch/torch_det.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:144:0: note: this is the location of the previous definition

define CHECK_GT(val1, val2) CHECK_OP(val1, val2, >)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_det.h:27, from modules/perception/inference/libtorch/torch_det.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:800:0: warning: "CHECK_NOTNULL" redefined

define CHECK_NOTNULL(val) \

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_det.h:24, from modules/perception/inference/libtorch/torch_det.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:177:0: note: this is the location of the previous definition

define CHECK_NOTNULL(val) \

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_det.h:27, from modules/perception/inference/libtorch/torch_det.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:994:0: warning: "DCHECK" redefined

define DCHECK(condition) CHECK(condition)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_det.h:24, from modules/perception/inference/libtorch/torch_det.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:125:0: note: this is the location of the previous definition

define DCHECK(condition) FATAL_IF(condition) << "Check failed: " #condition " "

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_det.h:27, from modules/perception/inference/libtorch/torch_det.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:995:0: warning: "DCHECK_EQ" redefined

define DCHECK_EQ(val1, val2) CHECK_EQ(val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_det.h:24, from modules/perception/inference/libtorch/torch_det.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:148:0: note: this is the location of the previous definition

define DCHECK_EQ(val1, val2) CHECK_OP(val1, val2, ==)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_det.h:27, from modules/perception/inference/libtorch/torch_det.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:996:0: warning: "DCHECK_NE" redefined

define DCHECK_NE(val1, val2) CHECK_NE(val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_det.h:24, from modules/perception/inference/libtorch/torch_det.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:149:0: note: this is the location of the previous definition

define DCHECK_NE(val1, val2) CHECK_OP(val1, val2, !=)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_det.h:27, from modules/perception/inference/libtorch/torch_det.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:997:0: warning: "DCHECK_LE" redefined

define DCHECK_LE(val1, val2) CHECK_LE(val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_det.h:24, from modules/perception/inference/libtorch/torch_det.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:150:0: note: this is the location of the previous definition

define DCHECK_LE(val1, val2) CHECK_OP(val1, val2, <=)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_det.h:27, from modules/perception/inference/libtorch/torch_det.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:998:0: warning: "DCHECK_LT" redefined

define DCHECK_LT(val1, val2) CHECK_LT(val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_det.h:24, from modules/perception/inference/libtorch/torch_det.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:151:0: note: this is the location of the previous definition

define DCHECK_LT(val1, val2) CHECK_OP(val1, val2, <)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_det.h:27, from modules/perception/inference/libtorch/torch_det.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:999:0: warning: "DCHECK_GE" redefined

define DCHECK_GE(val1, val2) CHECK_GE(val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_det.h:24, from modules/perception/inference/libtorch/torch_det.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:152:0: note: this is the location of the previous definition

define DCHECK_GE(val1, val2) CHECK_OP(val1, val2, >=)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_det.h:27, from modules/perception/inference/libtorch/torch_det.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:1000:0: warning: "DCHECK_GT" redefined

define DCHECK_GT(val1, val2) CHECK_GT(val1, val2)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_det.h:24, from modules/perception/inference/libtorch/torch_det.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:153:0: note: this is the location of the previous definition

define DCHECK_GT(val1, val2) CHECK_OP(val1, val2, >)

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_det.h:27, from modules/perception/inference/libtorch/torch_det.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:1001:0: warning: "DCHECK_NOTNULL" redefined

define DCHECK_NOTNULL(val) CHECK_NOTNULL(val)

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_det.h:24, from modules/perception/inference/libtorch/torch_det.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:183:0: note: this is the location of the previous definition

define DCHECK_NOTNULL(val) \

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_det.h:27, from modules/perception/inference/libtorch/torch_det.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:1098:0: warning: "VLOG" redefined

define VLOG(verboselevel) LOG_IF(INFO, VLOG_IS_ON(verboselevel))

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_det.h:24, from modules/perception/inference/libtorch/torch_det.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:99:0: note: this is the location of the previous definition

define VLOG(n) LOG((-n))

In file included from ./cyber/common/log.h:27:0, from ./modules/perception/base/blob.h:72, from ./modules/perception/inference/inference.h:26, from ./modules/perception/inference/libtorch/torch_det.h:27, from modules/perception/inference/libtorch/torch_det.cc:17: bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/_virtual_includes/glog/glog/logging.h:1100:0: warning: "VLOG_IF" redefined

define VLOG_IF(verboselevel, condition) \

In file included from external/libtorch_gpu/c10/util/Logging.h:28:0, from external/libtorch_gpu/c10/core/TensorImpl.h:18, from external/libtorch_gpu/ATen/core/TensorBody.h:11, from external/libtorch_gpu/ATen/Tensor.h:3, from external/libtorch_gpu/ATen/Context.h:4, from external/libtorch_gpu/ATen/ATen.h:5, from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3, from external/libtorch_gpu/torch/script.h:3, from ./modules/perception/inference/libtorch/torch_det.h:24, from modules/perception/inference/libtorch/torch_det.cc:17: external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:104:0: note: this is the location of the previous definition

define VLOG_IF(n, condition) LOG_IF((-n), (condition))

(02:57:18) INFO: From Compiling modules/perception/inference/tensorrt/rt_net.cc: In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:25:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: ./modules/perception/inference/tensorrt/batch_stream.h:45:32: warning: 'DimsNCHW' is deprecated [-Wdeprecated-declarations] nvinfer1::DimsNCHW getDims() const { return mDims; } ^~~~~ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:316:22: note: declared here class TRT_DEPRECATED DimsNCHW : public Dims4 ^~~~ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:25:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: ./modules/perception/inference/tensorrt/batch_stream.h:60:22: warning: 'DimsNCHW' is deprecated [-Wdeprecated-declarations] nvinfer1::DimsNCHW mDims; ^~~~~ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:316:22: note: declared here class TRT_DEPRECATED DimsNCHW : public Dims4 ^~~~ In file included from modules/perception/inference/tensorrt/rt_net.cc:17:0: ./modules/perception/inference/tensorrt/rt_net.h:42:41: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations] typedef std::map<std::string, nvinfer1::DimsCHW> TensorDimsMap; ^~~ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:206:22: note: declared here class TRT_DEPRECATED DimsCHW : public Dims3 ^~~ In file included from ./modules/perception/inference/tensorrt/plugins/argmax_plugin.h:23:0, from modules/perception/inference/tensorrt/rt_net.cc:26: ./modules/perception/inference/tensorrt/rt_common.h:38:41: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations] typedef std::map<std::string, nvinfer1::DimsCHW> TensorDimsMap; ^~~ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:206:22: note: declared here class TRT_DEPRECATED DimsCHW : public Dims3 ^~~ In file included from ./modules/perception/inference/tensorrt/plugins/argmax_plugin.h:23:0, from modules/perception/inference/tensorrt/rt_net.cc:26: ./modules/perception/inference/tensorrt/rt_common.h:41:65: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations] const nvinfer1::DimsCHW &inputDims); ^ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:206:22: note: declared here class TRT_DEPRECATED DimsCHW : public Dims3 ^~~ In file included from ./modules/perception/inference/tensorrt/plugins/argmax_plugin.h:23:0, from modules/perception/inference/tensorrt/rt_net.cc:26: ./modules/perception/inference/tensorrt/rt_common.h:41:65: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations] const nvinfer1::DimsCHW &inputDims); ^ ./modules/perception/inference/tensorrt/rt_common.h:41:65: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations] ./modules/perception/inference/tensorrt/rt_common.h:62:56: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations] inline nvinfer1::DimsCHW getCHW(const nvinfer1::Dims &d) { ^ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:206:22: note: declared here class TRT_DEPRECATED DimsCHW : public Dims3 ^~~ In file included from ./modules/perception/inference/tensorrt/plugins/argmax_plugin.h:23:0, from modules/perception/inference/tensorrt/rt_net.cc:26: ./modules/perception/inference/tensorrt/rt_common.h: In function 'nvinfer1::DimsCHW apollo::perception::inference::getCHW(const nvinfer1::Dims&)': ./modules/perception/inference/tensorrt/rt_common.h:65:45: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations] d.d[d.nbDims - 1]); ^ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:206:22: note: declared here class TRT_DEPRECATED DimsCHW : public Dims3 ^~~ In file included from modules/perception/inference/tensorrt/rt_net.cc:26:0: ./modules/perception/inference/tensorrt/plugins/argmax_plugin.h: In constructor 'apollo::perception::inference::ArgMax1Plugin::ArgMax1Plugin(const apollo::perception::inference::ArgMaxParameter&, nvinfer1::Dims)': ./modules/perception/inference/tensorrt/plugins/argmax_plugin.h:37:19: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations] inputdims.type[i] = in_dims.type[i]; ^~~~ In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0, from /usr/include/aarch64-linux-gnu/NvInfer.h:53, from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here TRT_DEPRECATED DimensionType type[MAX_DIMS]; //!< The type of each dimension. ^ In file included from modules/perception/inference/tensorrt/rt_net.cc:26:0: ./modules/perception/inference/tensorrt/plugins/argmax_plugin.h:37:19: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations] inputdims.type[i] = in_dims.type[i]; ^~~~ In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0, from /usr/include/aarch64-linux-gnu/NvInfer.h:53, from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here TRT_DEPRECATED DimensionType type[MAX_DIMS]; //!< The type of each dimension. ^ In file included from modules/perception/inference/tensorrt/rt_net.cc:26:0: ./modules/perception/inference/tensorrt/plugins/argmax_plugin.h:37:19: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations] inputdims.type[i] = in_dims.type[i]; ^~~~ In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0, from /usr/include/aarch64-linux-gnu/NvInfer.h:53, from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here TRT_DEPRECATED DimensionType type[MAX_DIMS]; //!< The type of each dimension. ^ In file included from modules/perception/inference/tensorrt/rt_net.cc:26:0: ./modules/perception/inference/tensorrt/plugins/argmax_plugin.h:37:37: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations] inputdims.type[i] = in_dims.type[i]; ^~~~ In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0, from /usr/include/aarch64-linux-gnu/NvInfer.h:53, from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here TRT_DEPRECATED DimensionType type[MAX_DIMS]; //!< The type of each dimension. ^ In file included from modules/perception/inference/tensorrt/rt_net.cc:26:0: ./modules/perception/inference/tensorrt/plugins/argmax_plugin.h:37:37: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations] inputdims.type[i] = in_dims.type[i]; ^~~~ In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0, from /usr/include/aarch64-linux-gnu/NvInfer.h:53, from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here TRT_DEPRECATED DimensionType type[MAX_DIMS]; //!< The type of each dimension. ^ In file included from modules/perception/inference/tensorrt/rt_net.cc:26:0: ./modules/perception/inference/tensorrt/plugins/argmax_plugin.h:37:37: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations] inputdims.type[i] = in_dims.type[i]; ^~~~ In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0, from /usr/include/aarch64-linux-gnu/NvInfer.h:53, from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here TRT_DEPRECATED DimensionType type[MAX_DIMS]; //!< The type of each dimension. ^ In file included from modules/perception/inference/tensorrt/rt_net.cc:28:0: ./modules/perception/inference/tensorrt/plugins/leakyReLU_plugin.h: In constructor 'apollo::perception::inference::ReLUPlugin::ReLUPlugin(const apollo::perception::inference::ReLUParameter&, const nvinfer1::Dims&)': ./modules/perception/inference/tensorrt/plugins/leakyReLU_plugin.h:35:19: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations] inputdims.type[i] = in_dims.type[i]; ^~~~ In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0, from /usr/include/aarch64-linux-gnu/NvInfer.h:53, from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here TRT_DEPRECATED DimensionType type[MAX_DIMS]; //!< The type of each dimension. ^ In file included from modules/perception/inference/tensorrt/rt_net.cc:28:0: ./modules/perception/inference/tensorrt/plugins/leakyReLU_plugin.h:35:19: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations] inputdims.type[i] = in_dims.type[i]; ^~~~ In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0, from /usr/include/aarch64-linux-gnu/NvInfer.h:53, from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here TRT_DEPRECATED DimensionType type[MAX_DIMS]; //!< The type of each dimension. ^ In file included from modules/perception/inference/tensorrt/rt_net.cc:28:0: ./modules/perception/inference/tensorrt/plugins/leakyReLU_plugin.h:35:19: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations] inputdims.type[i] = in_dims.type[i]; ^~~~ In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0, from /usr/include/aarch64-linux-gnu/NvInfer.h:53, from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here TRT_DEPRECATED DimensionType type[MAX_DIMS]; //!< The type of each dimension. ^ In file included from modules/perception/inference/tensorrt/rt_net.cc:28:0: ./modules/perception/inference/tensorrt/plugins/leakyReLU_plugin.h:35:37: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations] inputdims.type[i] = in_dims.type[i]; ^~~~ In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0, from /usr/include/aarch64-linux-gnu/NvInfer.h:53, from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here TRT_DEPRECATED DimensionType type[MAX_DIMS]; //!< The type of each dimension. ^ In file included from modules/perception/inference/tensorrt/rt_net.cc:28:0: ./modules/perception/inference/tensorrt/plugins/leakyReLU_plugin.h:35:37: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations] inputdims.type[i] = in_dims.type[i]; ^~~~ In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0, from /usr/include/aarch64-linux-gnu/NvInfer.h:53, from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here TRT_DEPRECATED DimensionType type[MAX_DIMS]; //!< The type of each dimension. ^ In file included from modules/perception/inference/tensorrt/rt_net.cc:28:0: ./modules/perception/inference/tensorrt/plugins/leakyReLU_plugin.h:35:37: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations] inputdims.type[i] = in_dims.type[i]; ^~~~ In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0, from /usr/include/aarch64-linux-gnu/NvInfer.h:53, from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here TRT_DEPRECATED DimensionType type[MAX_DIMS]; //!< The type of each dimension. ^ In file included from modules/perception/inference/tensorrt/rt_net.cc:31:0: ./modules/perception/inference/tensorrt/plugins/slice_plugin.h: In constructor 'apollo::perception::inference::SLICEPlugin::SLICEPlugin(const apollo::perception::inference::SliceParameter&, const nvinfer1::Dims&)': ./modules/perception/inference/tensorrt/plugins/slice_plugin.h:40:19: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations] inputdims.type[i] = in_dims.type[i]; ^~~~ In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0, from /usr/include/aarch64-linux-gnu/NvInfer.h:53, from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here TRT_DEPRECATED DimensionType type[MAX_DIMS]; //!< The type of each dimension. ^ In file included from modules/perception/inference/tensorrt/rt_net.cc:31:0: ./modules/perception/inference/tensorrt/plugins/slice_plugin.h:40:19: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations] inputdims.type[i] = in_dims.type[i]; ^~~~ In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0, from /usr/include/aarch64-linux-gnu/NvInfer.h:53, from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here TRT_DEPRECATED DimensionType type[MAX_DIMS]; //!< The type of each dimension. ^ In file included from modules/perception/inference/tensorrt/rt_net.cc:31:0: ./modules/perception/inference/tensorrt/plugins/slice_plugin.h:40:19: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations] inputdims.type[i] = in_dims.type[i]; ^~~~ In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0, from /usr/include/aarch64-linux-gnu/NvInfer.h:53, from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here TRT_DEPRECATED DimensionType type[MAX_DIMS]; //!< The type of each dimension. ^ In file included from modules/perception/inference/tensorrt/rt_net.cc:31:0: ./modules/perception/inference/tensorrt/plugins/slice_plugin.h:40:37: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations] inputdims.type[i] = in_dims.type[i]; ^~~~ In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0, from /usr/include/aarch64-linux-gnu/NvInfer.h:53, from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here TRT_DEPRECATED DimensionType type[MAX_DIMS]; //!< The type of each dimension. ^ In file included from modules/perception/inference/tensorrt/rt_net.cc:31:0: ./modules/perception/inference/tensorrt/plugins/slice_plugin.h:40:37: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations] inputdims.type[i] = in_dims.type[i]; ^~~~ In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0, from /usr/include/aarch64-linux-gnu/NvInfer.h:53, from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here TRT_DEPRECATED DimensionType type[MAX_DIMS]; //!< The type of each dimension. ^ In file included from modules/perception/inference/tensorrt/rt_net.cc:31:0: ./modules/perception/inference/tensorrt/plugins/slice_plugin.h:40:37: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations] inputdims.type[i] = in_dims.type[i]; ^~~~ In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0, from /usr/include/aarch64-linux-gnu/NvInfer.h:53, from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here TRT_DEPRECATED DimensionType type[MAX_DIMS]; //!< The type of each dimension. ^ In file included from modules/perception/inference/tensorrt/rt_net.cc:32:0: ./modules/perception/inference/tensorrt/plugins/softmax_plugin.h: In constructor 'apollo::perception::inference::SoftmaxPlugin::SoftmaxPlugin(const apollo::perception::inference::SoftmaxParameter&, nvinfer1::Dims)': ./modules/perception/inference/tensorrt/plugins/softmax_plugin.h:31:19: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations] inputdims.type[i] = in_dims.type[i]; ^~~~ In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0, from /usr/include/aarch64-linux-gnu/NvInfer.h:53, from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here TRT_DEPRECATED DimensionType type[MAX_DIMS]; //!< The type of each dimension. ^ In file included from modules/perception/inference/tensorrt/rt_net.cc:32:0: ./modules/perception/inference/tensorrt/plugins/softmax_plugin.h:31:19: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations] inputdims.type[i] = in_dims.type[i]; ^~~~ In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0, from /usr/include/aarch64-linux-gnu/NvInfer.h:53, from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here TRT_DEPRECATED DimensionType type[MAX_DIMS]; //!< The type of each dimension. ^ In file included from modules/perception/inference/tensorrt/rt_net.cc:32:0: ./modules/perception/inference/tensorrt/plugins/softmax_plugin.h:31:19: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations] inputdims.type[i] = in_dims.type[i]; ^~~~ In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0, from /usr/include/aarch64-linux-gnu/NvInfer.h:53, from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here TRT_DEPRECATED DimensionType type[MAX_DIMS]; //!< The type of each dimension. ^ In file included from modules/perception/inference/tensorrt/rt_net.cc:32:0: ./modules/perception/inference/tensorrt/plugins/softmax_plugin.h:31:37: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations] inputdims.type[i] = in_dims.type[i]; ^~~~ In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0, from /usr/include/aarch64-linux-gnu/NvInfer.h:53, from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here TRT_DEPRECATED DimensionType type[MAX_DIMS]; //!< The type of each dimension. ^ In file included from modules/perception/inference/tensorrt/rt_net.cc:32:0: ./modules/perception/inference/tensorrt/plugins/softmax_plugin.h:31:37: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations] inputdims.type[i] = in_dims.type[i]; ^~~~ In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0, from /usr/include/aarch64-linux-gnu/NvInfer.h:53, from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here TRT_DEPRECATED DimensionType type[MAX_DIMS]; //!< The type of each dimension. ^ In file included from modules/perception/inference/tensorrt/rt_net.cc:32:0: ./modules/perception/inference/tensorrt/plugins/softmax_plugin.h:31:37: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations] inputdims.type[i] = in_dims.type[i]; ^~~~ In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0, from /usr/include/aarch64-linux-gnu/NvInfer.h:53, from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here TRT_DEPRECATED DimensionType type[MAX_DIMS]; //!< The type of each dimension. ^ modules/perception/inference/tensorrt/rt_net.cc: In member function 'void apollo::perception::inference::RTNet::addConvLayer(const apollo::perception::inference::LayerParameter&, nvinfer1::ITensor const, apollo::perception::inference::WeightMap, nvinfer1::INetworkDefinition, apollo::perception::inference::TensorMap, apollo::perception::inference::TensorModifyMap)': modules/perception/inference/tensorrt/rt_net.cc:92:78: warning: 'virtual nvinfer1::IConvolutionLayer nvinfer1::INetworkDefinition::addConvolution(nvinfer1::ITensor&, int, nvinfer1::DimsHW, nvinfer1::Weights, nvinfer1::Weights)' is deprecated [-Wdeprecated-declarations] nvinfer1::DimsHW{kernelH, kernelW}, wt, bias_weight); ^ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:4905:47: note: declared here TRT_DEPRECATED virtual IConvolutionLayer addConvolution(ITensor& input, int nbOutputMaps, DimsHW kernelSize, ^~~~~~ modules/perception/inference/tensorrt/rt_net.cc:114:60: warning: 'virtual void nvinfer1::IConvolutionLayer::setStride(nvinfer1::DimsHW)' is deprecated [-Wdeprecated-declarations] convLayer->setStride(nvinfer1::DimsHW{strideH, strideW}); ^ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:1205:33: note: declared here TRT_DEPRECATED virtual void setStride(DimsHW stride) TRTNOEXCEPT = 0; ^~~~~ modules/perception/inference/tensorrt/rt_net.cc:115:55: warning: 'virtual void nvinfer1::IConvolutionLayer::setPadding(nvinfer1::DimsHW)' is deprecated [-Wdeprecated-declarations] convLayer->setPadding(nvinfer1::DimsHW{padH, padW}); ^ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:1229:33: note: declared here TRT_DEPRECATED virtual void setPadding(DimsHW padding) TRTNOEXCEPT = 0; ^~~~~~ modules/perception/inference/tensorrt/rt_net.cc:117:66: warning: 'virtual void nvinfer1::IConvolutionLayer::setDilation(nvinfer1::DimsHW)' is deprecated [-Wdeprecated-declarations] convLayer->setDilation(nvinfer1::DimsHW{dilationH, dilationW}); ^ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:1312:33: note: declared here TRT_DEPRECATED virtual void setDilation(DimsHW dilation) TRTNOEXCEPT = 0; ^~~ modules/perception/inference/tensorrt/rt_net.cc: In member function 'void apollo::perception::inference::RTNet::addDeconvLayer(const apollo::perception::inference::LayerParameter&, nvinfer1::ITensor const, apollo::perception::inference::WeightMap, nvinfer1::INetworkDefinition, apollo::perception::inference::TensorMap, apollo::perception::inference::TensorModifyMap)': modules/perception/inference/tensorrt/rt_net.cc:168:75: warning: 'virtual nvinfer1::IDeconvolutionLayer nvinfer1::INetworkDefinition::addDeconvolution(nvinfer1::ITensor&, int, nvinfer1::DimsHW, nvinfer1::Weights, nvinfer1::Weights)' is deprecated [-Wdeprecated-declarations] (weight_map)[layer_param.name().c_str()][1]); ^ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:5039:49: note: declared here TRT_DEPRECATED virtual IDeconvolutionLayer addDeconvolution(ITensor& input, int nbOutputMaps, DimsHW kernelSize, ^~~~ modules/perception/inference/tensorrt/rt_net.cc:174:66: warning: 'virtual nvinfer1::IDeconvolutionLayer nvinfer1::INetworkDefinition::addDeconvolution(nvinfer1::ITensor&, int, nvinfer1::DimsHW, nvinfer1::Weights, nvinfer1::Weights)' is deprecated [-Wdeprecated-declarations] (weight_map)[layer_param.name().c_str()][0], bias_weight); ^ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:5039:49: note: declared here TRT_DEPRECATED virtual IDeconvolutionLayer addDeconvolution(ITensor& input, int nbOutputMaps, DimsHW kernelSize, ^~~~ modules/perception/inference/tensorrt/rt_net.cc:176:74: warning: 'virtual void nvinfer1::IDeconvolutionLayer::setStride(nvinfer1::DimsHW)' is deprecated [-Wdeprecated-declarations] deconvLayer->setStride(nvinfer1::DimsHW{param.stride_h, param.stride_w}); ^ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:2286:33: note: declared here TRT_DEPRECATED virtual void setStride(DimsHW stride) TRTNOEXCEPT = 0; ^~~~~ modules/perception/inference/tensorrt/rt_net.cc:177:77: warning: 'virtual void nvinfer1::IDeconvolutionLayer::setPadding(nvinfer1::DimsHW)' is deprecated [-Wdeprecated-declarations] deconvLayer->setPadding(nvinfer1::DimsHW{param.padding_h, param.padding_w}); ^ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:2312:33: note: declared here TRT_DEPRECATED virtual void setPadding(DimsHW padding) TRTNOEXCEPT = 0; ^~~~~~ modules/perception/inference/tensorrt/rt_net.cc: In member function 'void apollo::perception::inference::RTNet::addActiveLayer(const apollo::perception::inference::LayerParameter&, nvinfer1::ITensor const, int, nvinfer1::INetworkDefinition, apollo::perception::inference::TensorMap, apollo::perception::inference::TensorModifyMap)': modules/perception/inference/tensorrt/rt_net.cc:203:29: warning: 'IPluginLayer' is deprecated [-Wdeprecated-declarations] nvinfer1::IPluginLayer ReLU_Layer = ^~~~~~ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:3373:22: note: declared here class TRT_DEPRECATED IPluginLayer : public ILayer ^~~~ modules/perception/inference/tensorrt/rt_net.cc:204:54: warning: 'virtual nvinfer1::IPluginLayer nvinfer1::INetworkDefinition::addPlugin(nvinfer1::ITensor const, int, nvinfer1::IPlugin&)' is deprecated [-Wdeprecated-declarations] net->addPlugin(inputs, nbInputs, relu_plugin); ^ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:5142:42: note: declared here TRT_DEPRECATED virtual IPluginLayer addPlugin( ^~~~~ modules/perception/inference/tensorrt/rt_net.cc: In member function 'void apollo::perception::inference::RTNet::addPoolingLayer(const apollo::perception::inference::LayerParameter&, nvinfer1::ITensor const, nvinfer1::INetworkDefinition, apollo::perception::inference::TensorMap, apollo::perception::inference::TensorModifyMap)': modules/perception/inference/tensorrt/rt_net.cc:276:77: warning: 'virtual nvinfer1::IPoolingLayer nvinfer1::INetworkDefinition::addPooling(nvinfer1::ITensor&, nvinfer1::PoolingType, nvinfer1::DimsHW)' is deprecated [-Wdeprecated-declarations] {static_cast(pool.kernel_h()), static_cast(pool.kernel_w())}); ^ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:4956:43: note: declared here TRT_DEPRECATED virtual IPoolingLayer addPooling( ^~~~~~ modules/perception/inference/tensorrt/rt_net.cc:278:75: warning: 'virtual void nvinfer1::IPoolingLayer::setStride(nvinfer1::DimsHW)' is deprecated [-Wdeprecated-declarations] static_cast(pool.stride_w())}); ^ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:1736:33: note: declared here TRT_DEPRECATED virtual void setStride(DimsHW stride) TRTNOEXCEPT = 0; ^~~~~ modules/perception/inference/tensorrt/rt_net.cc:280:73: warning: 'virtual void nvinfer1::IPoolingLayer::setPadding(nvinfer1::DimsHW)' is deprecated [-Wdeprecated-declarations] static_cast(pool.pad_w())}); ^ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:1758:33: note: declared here TRT_DEPRECATED virtual void setPadding(DimsHW padding) TRTNOEXCEPT = 0; ^~~~~~ modules/perception/inference/tensorrt/rt_net.cc: In member function 'void apollo::perception::inference::RTNet::addSliceLayer(const apollo::perception::inference::LayerParameter&, nvinfer1::ITensor const, int, nvinfer1::INetworkDefinition, apollo::perception::inference::TensorMap, apollo::perception::inference::TensorModifyMap)': modules/perception/inference/tensorrt/rt_net.cc:297:27: warning: 'IPluginLayer' is deprecated [-Wdeprecated-declarations] nvinfer1::IPluginLayer sliceLayer = ^~~~~~ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:3373:22: note: declared here class TRT_DEPRECATED IPluginLayer : public ILayer ^~~~ modules/perception/inference/tensorrt/rt_net.cc:298:53: warning: 'virtual nvinfer1::IPluginLayer nvinfer1::INetworkDefinition::addPlugin(nvinfer1::ITensor const, int, nvinfer1::IPlugin&)' is deprecated [-Wdeprecated-declarations] net->addPlugin(inputs, nbInputs, slice_plugin); ^ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:5142:42: note: declared here TRT_DEPRECATED virtual IPluginLayer addPlugin( ^~~~~ modules/perception/inference/tensorrt/rt_net.cc: In member function 'void apollo::perception::inference::RTNet::addSoftmaxLayer(const apollo::perception::inference::LayerParameter&, nvinfer1::ITensor const, int, nvinfer1::INetworkDefinition, apollo::perception::inference::TensorMap, apollo::perception::inference::TensorModifyMap)': modules/perception/inference/tensorrt/rt_net.cc:379:29: warning: 'IPluginLayer' is deprecated [-Wdeprecated-declarations] nvinfer1::IPluginLayer softmaxLayer = ^~~~ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:3373:22: note: declared here class TRT_DEPRECATED IPluginLayer : public ILayer ^~~~ modules/perception/inference/tensorrt/rt_net.cc:380:57: warning: 'virtual nvinfer1::IPluginLayer nvinfer1::INetworkDefinition::addPlugin(nvinfer1::ITensor const, int, nvinfer1::IPlugin&)' is deprecated [-Wdeprecated-declarations] net->addPlugin(inputs, nbInputs, softmax_plugin); ^ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:5142:42: note: declared here TRT_DEPRECATED virtual IPluginLayer addPlugin( ^~~~~ modules/perception/inference/tensorrt/rt_net.cc: In member function 'void apollo::perception::inference::RTNet::addArgmaxLayer(const apollo::perception::inference::LayerParameter&, nvinfer1::ITensor const, int, nvinfer1::INetworkDefinition, apollo::perception::inference::TensorMap, apollo::perception::inference::TensorModifyMap)': modules/perception/inference/tensorrt/rt_net.cc:417:27: warning: 'IPluginLayer' is deprecated [-Wdeprecated-declarations] nvinfer1::IPluginLayer argmaxLayer = ^~~ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:3373:22: note: declared here class TRT_DEPRECATED IPluginLayer : public ILayer ^~~~ modules/perception/inference/tensorrt/rt_net.cc:418:54: warning: 'virtual nvinfer1::IPluginLayer nvinfer1::INetworkDefinition::addPlugin(nvinfer1::ITensor const, int, nvinfer1::IPlugin&)' is deprecated [-Wdeprecated-declarations] net->addPlugin(inputs, nbInputs, argmax_plugin); ^ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:5142:42: note: declared here TRT_DEPRECATED virtual IPluginLayer addPlugin( ^~~~~ modules/perception/inference/tensorrt/rt_net.cc: In member function 'void apollo::perception::inference::RTNet::addReshapeLayer(const apollo::perception::inference::LayerParameter&, nvinfer1::ITensor const, nvinfer1::INetworkDefinition, apollo::perception::inference::TensorMap, apollo::perception::inference::TensorModifyMap)': modules/perception/inference/tensorrt/rt_net.cc:451:21: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations] nvinfer1::DimsCHW dims; ^~~~ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:206:22: note: declared here class TRT_DEPRECATED DimsCHW : public Dims3 ^~~ modules/perception/inference/tensorrt/rt_net.cc: In member function 'void apollo::perception::inference::RTNet::addPaddingLayer(const apollo::perception::inference::LayerParameter&, nvinfer1::ITensor const, nvinfer1::INetworkDefinition, apollo::perception::inference::TensorMap, apollo::perception::inference::TensorModifyMap)': modules/perception/inference/tensorrt/rt_net.cc:471:54: warning: 'virtual nvinfer1::IPaddingLayer nvinfer1::INetworkDefinition::addPadding(nvinfer1::ITensor&, nvinfer1::DimsHW, nvinfer1::DimsHW)' is deprecated [-Wdeprecated-declarations] net->addPadding(inputs[0], pre_dims, post_dims); ^ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:5173:43: note: declared here TRT_DEPRECATED virtual IPaddingLayer addPadding( ^~~~~~ modules/perception/inference/tensorrt/rt_net.cc: In member function 'void apollo::perception::inference::RTNet::addDFMBPSROIAlignLayer(const apollo::perception::inference::LayerParameter&, nvinfer1::ITensor const, int, nvinfer1::INetworkDefinition, apollo::perception::inference::TensorMap, apollo::perception::inference::TensorModifyMap)': modules/perception/inference/tensorrt/rt_net.cc:490:27: warning: 'IPluginLayer' is deprecated [-Wdeprecated-declarations] nvinfer1::IPluginLayer dfmb_psroi_align_layer = ^~~~~~ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:3373:22: note: declared here class TRT_DEPRECATED IPluginLayer : public ILayer ^~~~ modules/perception/inference/tensorrt/rt_net.cc:491:64: warning: 'virtual nvinfer1::IPluginLayer nvinfer1::INetworkDefinition::addPlugin(nvinfer1::ITensor const, int, nvinfer1::IPlugin&)' is deprecated [-Wdeprecated-declarations] net->addPlugin(inputs, nbInputs, dfmb_psroi_align_plugin); ^ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:5142:42: note: declared here TRT_DEPRECATED virtual IPluginLayer addPlugin( ^~~~~ modules/perception/inference/tensorrt/rt_net.cc: In member function 'void apollo::perception::inference::RTNet::addRCNNProposalLayer(const apollo::perception::inference::LayerParameter&, nvinfer1::ITensor const, int, nvinfer1::INetworkDefinition, apollo::perception::inference::TensorMap, apollo::perception::inference::TensorModifyMap)': modules/perception/inference/tensorrt/rt_net.cc:512:27: warning: 'IPluginLayer' is deprecated [-Wdeprecated-declarations] nvinfer1::IPluginLayer rcnn_proposal_layer = ^~~~~~~ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:3373:22: note: declared here class TRT_DEPRECATED IPluginLayer : public ILayer ^~~~ modules/perception/inference/tensorrt/rt_net.cc:513:61: warning: 'virtual nvinfer1::IPluginLayer nvinfer1::INetworkDefinition::addPlugin(nvinfer1::ITensor const, int, nvinfer1::IPlugin&)' is deprecated [-Wdeprecated-declarations] net->addPlugin(inputs, nbInputs, rcnn_proposal_plugin); ^ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:5142:42: note: declared here TRT_DEPRECATED virtual IPluginLayer addPlugin( ^~~~~ modules/perception/inference/tensorrt/rt_net.cc: In member function 'void apollo::perception::inference::RTNet::addRPNProposalSSDLayer(const apollo::perception::inference::LayerParameter&, nvinfer1::ITensor const, int, nvinfer1::INetworkDefinition, apollo::perception::inference::TensorMap, apollo::perception::inference::TensorModifyMap)': modules/perception/inference/tensorrt/rt_net.cc:534:27: warning: 'IPluginLayer' is deprecated [-Wdeprecated-declarations] nvinfer1::IPluginLayer rpn_proposal_ssd_layer = ^~~~~~ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:3373:22: note: declared here class TRT_DEPRECATED IPluginLayer : public ILayer ^~~~ modules/perception/inference/tensorrt/rt_net.cc:535:64: warning: 'virtual nvinfer1::IPluginLayer nvinfer1::INetworkDefinition::addPlugin(nvinfer1::ITensor const, int, nvinfer1::IPlugin&)' is deprecated [-Wdeprecated-declarations] net->addPlugin(inputs, nbInputs, rpn_proposal_ssd_plugin); ^ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:5142:42: note: declared here TRT_DEPRECATED virtual IPluginLayer addPlugin( ^~~~~ modules/perception/inference/tensorrt/rt_net.cc: In member function 'bool apollo::perception::inference::RTNet::shape(const string&, std::vector)': modules/perception/inference/tensorrt/rt_net.cc:727:21: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations] nvinfer1::DimsCHW dims = static_cast<nvinfer1::DimsCHW &&>( ^~~~ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:206:22: note: declared here class TRT_DEPRECATED DimsCHW : public Dims3 ^~~ modules/perception/inference/tensorrt/rt_net.cc:727:58: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations] nvinfer1::DimsCHW dims = static_cast<nvinfer1::DimsCHW &&>( ^~ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:206:22: note: declared here class TRT_DEPRECATED DimsCHW : public Dims3 ^~~ modules/perception/inference/tensorrt/rt_net.cc: In member function 'void apollo::perception::inference::RTNet::init_blob(std::vector<std::cxx11::basic_string >*)': modules/perception/inference/tensorrt/rt_net.cc:744:23: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations] nvinfer1::DimsCHW dims = static_cast<nvinfer1::DimsCHW &&>( ^~~~ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:206:22: note: declared here class TRT_DEPRECATED DimsCHW : public Dims3 ^~~ modules/perception/inference/tensorrt/rt_net.cc:744:60: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations] nvinfer1::DimsCHW dims = static_cast<nvinfer1::DimsCHW &&>( ^~ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:206:22: note: declared here class TRT_DEPRECATED DimsCHW : public Dims3 ^~~ modules/perception/inference/tensorrt/rt_net.cc: In member function 'virtual bool apollo::perception::inference::RTNet::Init(const std::map<std::cxx11::basic_string, std::vector >&)': modules/perception/inference/tensorrt/rtnet.cc:767:38: warning: 'virtual nvinfer1::INetworkDefinition* nvinfer1::IBuilder::createNetwork()' is deprecated [-Wdeprecated-declarations] network = builder_->createNetwork(); ^ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:6799:58: note: declared here TRT_DEPRECATED virtual nvinfer1::INetworkDefinition createNetwork() TRTNOEXCEPT = 0; ^~~~~ modules/perception/inference/tensorrt/rt_net.cc:772:47: warning: 'virtual void nvinfer1::IBuilder::setMaxWorkspaceSize(std::sizet)' is deprecated [-Wdeprecated-declarations] builder->setMaxWorkspaceSize(workspaceSize_); ^ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:6830:33: note: declared here TRT_DEPRECATED virtual void setMaxWorkspaceSize(std::size_t workspaceSize) TRTNOEXCEPT = 0; ^~~~~~~ modules/perception/inference/tensorrt/rtnet.cc:777:34: warning: 'virtual void nvinfer1::IBuilder::setInt8Mode(bool)' is deprecated [-Wdeprecated-declarations] builder->setInt8Mode(int8_mode); ^ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:6963:33: note: declared here TRT_DEPRECATED virtual void setInt8Mode(bool mode) TRTNOEXCEPT = 0; ^~~ modules/perception/inference/tensorrt/rt_net.cc:778:42: warning: 'virtual void nvinfer1::IBuilder::setInt8Calibrator(nvinfer1::IInt8Calibrator)' is deprecated [-Wdeprecated-declarations] builder->setInt8Calibrator(calibrator); ^ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:6979:33: note: declared here TRT_DEPRECATED virtual void setInt8Calibrator(IInt8Calibrator calibrator) TRTNOEXCEPT = 0; ^~~~~ modules/perception/inference/tensorrt/rtnet.cc:780:30: warning: 'virtual void nvinfer1::IBuilder::setDebugSync(bool)' is deprecated [-Wdeprecated-declarations] builder->setDebugSync(true); ^ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:6874:33: note: declared here TRT_DEPRECATED virtual void setDebugSync(bool sync) TRTNOEXCEPT = 0; ^~~~ modules/perception/inference/tensorrt/rt_net.cc:782:70: warning: 'virtual nvinfer1::ICudaEngine nvinfer1::IBuilder::buildCudaEngine(nvinfer1::INetworkDefinition&)' is deprecated [-Wdeprecated-declarations] nvinfer1::ICudaEngine engine = builder_->buildCudaEngine(network_); ^ In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0, from ./modules/perception/inference/tensorrt/rt_net.h:27, from modules/perception/inference/tensorrt/rt_net.cc:17: /usr/include/aarch64-linux-gnu/NvInfer.h:6934:51: note: declared here TRT_DEPRECATED virtual nvinfer1::ICudaEngine buildCudaEngine( ^~~~~~~ (02:57:21) INFO: From Compiling modules/perception/inference/tensorrt/rt_utils.cc: modules/perception/inference/tensorrt/rt_utils.cc: In function 'bool apollo::perception::inference::ReadProtoFromBinaryFile(const string&, google::protobuf::Message)': modules/perception/inference/tensorrt/rt_utils.cc:53:76: warning: 'void google::protobuf::io::CodedInputStream::SetTotalBytesLimit(int, int)' is deprecated: Please use the single parameter version of SetTotalBytesLimit(). The second parameter is ignored. [-Wdeprecated-declarations] coded_input.SetTotalBytesLimit(std::numeric_limits::max(), 536870912); ^ In file included from external/com_google_protobuf/src/google/protobuf/message_lite.h:47:0, from external/com_google_protobuf/src/google/protobuf/generated_enum_util.h:36, from external/com_google_protobuf/src/google/protobuf/generated_enum_reflection.h:44, from external/com_google_protobuf/src/google/protobuf/generated_message_reflection.h:46, from external/com_google_protobuf/src/google/protobuf/message.h:122, from external/com_google_protobuf/src/google/protobuf/text_format.h:48, from ./modules/perception/inference/tensorrt/rt_utils.h:21, from modules/perception/inference/tensorrt/rt_utils.cc:17: external/com_google_protobuf/src/google/protobuf/io/coded_stream.h:397:8: note: declared here void SetTotalBytesLimit(int total_bytes_limit, int) { ^~~~~~ (02:58:02) ERROR: /apollo/modules/perception/lidar/lib/ground_detector/spatio_temporal_ground_detector/BUILD:6:11: C++ compilation of rule '//modules/perception/lidar/lib/ground_detector/spatio_temporal_ground_detector:spatio_temporal_ground_detector' failed (Exit 1): crosstool_wrapper_driver_is_not_gcc failed: error executing command external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -MD -MF ... (remaining 151 argument(s) skipped) aarch64-linux-gnu-gcc-7: error: unrecognized command line option '-msse4.1' (02:58:03) INFO: Elapsed time: 1192.312s, Critical Path: 163.84s (02:58:03) INFO: 6398 processes: 5298 internal, 1100 local. (02:58:03) FAILED: Build did NOT complete successfully root@in-dev-docker:/apollo# `

@daohu527

daohu527 commented 2 years ago

The line 10 copts = ["-msse4.1"],, this compiler option explicit specifies the sse directive, which not supported by arm.

Since there are sse-dependent data structures in the code, I think these codes may need to be modified!

https://github.com/ApolloAuto/apollo/blob/266afbf68d83fa6fac7a812ff8a950223f5ab2c0/modules/perception/lidar/lib/ground_detector/spatio_temporal_ground_detector/BUILD#L6-L11

jingruhou commented 2 years ago

`

In file included from ./modules/drivers/camera/usb_cam.h:50:0, from modules/drivers/camera/usb_cam.cc:44: external/ffmpeg/libavcodec/avcodec.h:3739:5: note: declared here int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height); ^~~~~~ modules/drivers/camera/usb_cam.cc: In member function 'void apollo::drivers::camera::UsbCam::mjpeg2rgb(char, int, char, int)': modules/drivers/camera/usb_cam.cc:175:59: warning: 'int avcodec_decode_video2(AVCodecContext, AVFrame, int, const AVPacket)' is deprecated [-Wdeprecated-declarations] &got_picture, &avpkt); ^ In file included from ./modules/drivers/camera/usb_cam.h:50:0, from modules/drivers/camera/usb_cam.cc:44: external/ffmpeg/libavcodec/avcodec.h:3073:5: note: declared here int avcodec_decode_video2(AVCodecContext avctx, AVFrame picture, ^~~~~ modules/drivers/camera/usb_cam.cc:193:76: warning: 'int avpicture_get_size(AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations] int pic_size = avpicture_get_size(avcodeccontext->pix_fmt, xsize, ysize); ^ In file included from ./modules/drivers/camera/usb_cam.h:50:0, from modules/drivers/camera/usb_cam.cc:44: external/ffmpeg/libavcodec/avcodec.h:3739:5: note: declared here int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height); ^~~~~~ modules/drivers/camera/usb_cam.cc:217:71: warning: 'int avpicture_layout(const AVPicture, AVPixelFormat, int, int, unsigned char, int)' is deprecated [-Wdeprecated-declarations] ysize, reinterpret_cast<uint8_t>(rgb_buffer), avframe_rgbsize); ^ In file included from ./modules/drivers/camera/usb_cam.h:50:0, from modules/drivers/camera/usb_cam.cc:44: external/ffmpeg/libavcodec/avcodec.h:3731:5: note: declared here int avpicture_layout(const AVPicture src, enum AVPixelFormat pix_fmt, ^~~~ (07:11:04) ERROR: /apollo/modules/perception/common/i_lib/pc/BUILD:6:11: C++ compilation of rule '//modules/perception/common/i_lib/pc:i_ground' failed (Exit 1): crosstool_wrapper_driver_is_not_gcc failed: error executing command external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -MD -MF bazel-out/aarch64-fastbuild/bin/modules/perception/common/i_lib/pc/_objs/i_ground/i_ground.pic.d ... (remaining 89 argument(s) skipped) In file included from ./modules/perception/common/i_lib/pc/i_ground.h:24:0, from modules/perception/common/i_lib/pc/i_ground.cc:16: ./modules/perception/common/i_lib/pc/i_struct_s.h: In member function 'bool apollo::perception::common::VoxelGridXY::SetS(const float*, unsigned int, unsigned int)': ./modules/perception/common/i_lib/pc/i_struct_s.h:732:3: error: 'm128i' was not declared in this scope m128i iv_nr_voxel_x = _mm_setr_epi32(static_cast(nr_voxelx), 0, ^~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:732:3: note: suggested alternative: 'f128' m128i iv_nr_voxel_x = _mm_setr_epi32(static_cast(nr_voxelx), 0, ^~~ f128 ./modules/perception/common/i_lib/pc/i_struct_s.h:734:11: error: expected ';' before 'iv_nr_voxel_x_m1' m128i iv_nr_voxel_x_m1 = _mm_set1_epi32(static_cast(nr_voxelx - 1)); ^~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:735:11: error: expected ';' before 'iv_nr_voxel_y_m1' m128i iv_nr_voxel_y_m1 = _mm_set1_epi32(static_cast(nr_voxely - 1)); ^~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:737:3: error: 'm128' was not declared in this scope m128 v_width_x_rec = _mm_set_ps1(voxel_width_x_rec); ^~ ./modules/perception/common/i_lib/pc/i_struct_s.h:737:3: note: suggested alternative: 'f128' m128 v_width_x_rec = _mm_set_ps1(voxel_width_x_rec); ^~ f128 ./modules/perception/common/i_lib/pc/i_struct_s.h:738:10: error: expected ';' before 'v_width_y_rec' m128 v_width_y_rec = _mm_set_ps1(voxel_width_y_rec); ^~~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:740:10: error: expected ';' before 'v_x_min' m128 v_x_min = _mm_set_ps1(dimx[0]); ^~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:741:10: error: expected ';' before 'v_x_max' m128 v_x_max = _mm_set_ps1(dimx[1]); ^~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:742:10: error: expected ';' before 'v_y_min' m128 v_y_min = _mm_set_ps1(dimy[0]); ^~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:743:10: error: expected ';' before 'v_y_max' m128 v_y_max = _mm_set_ps1(dimy[1]); ^~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:744:10: error: expected ';' before 'v_z_min' m128 v_z_min = _mm_set_ps1(dimz[0]); ^~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:745:10: error: expected ';' before 'v_z_max' m128 v_z_max = _mm_set_ps1(dimz[1]); ^~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:747:10: error: expected ';' before 'v_cmp_x' m128 v_cmp_x, v_cmp_y, v_cmp_z, v_in_roi; ^~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:748:3: error: 'v_in_roi' was not declared in this scope v_in_roi = _mm_setr_ps(1.0, 1.0, 1.0, 1.0); ^~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:748:3: note: suggested alternative: 'vmin_f16' v_in_roi = _mm_setr_ps(1.0, 1.0, 1.0, 1.0); ^~~~ vmin_f16 ./modules/perception/common/i_lib/pc/i_struct_s.h:748:14: error: there are no arguments to '_mm_setr_ps' that depend on a template parameter, so a declaration of '_mm_setr_ps' must be available [-fpermissive] v_in_roi = _mm_setr_ps(1.0, 1.0, 1.0, 1.0); ^~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:748:14: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) ./modules/perception/common/i_lib/pc/i_struct_s.h:750:10: error: expected ';' before 'v_xs' m128 v_xs, v_ys, v_zs; ^~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:751:11: error: expected ';' before 'iv_indices' m128i iv_indices, iv_x_indices, iv_y_indices, iv_v_indices_02, ^~~~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:775:5: error: 'v_xs' was not declared in this scope v_xs = _mm_setr_ps(cptr_x[0], cptr_x[d1], cptr_x[d2], cptr_x[d3]); ^~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:775:12: error: there are no arguments to '_mm_setr_ps' that depend on a template parameter, so a declaration of '_mm_setr_ps' must be available [-fpermissive] v_xs = _mm_setr_ps(cptr_x[0], cptr_x[d1], cptr_x[d2], cptr_x[d3]); ^~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:776:5: error: 'v_ys' was not declared in this scope v_ys = _mm_setr_ps(cptr_y[0], cptr_y[d1], cptr_y[d2], cptr_y[d3]); ^~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:776:5: note: suggested alternative: 'yn' v_ys = _mm_setr_ps(cptr_y[0], cptr_y[d1], cptr_y[d2], cptr_y[d3]); ^~~~ yn ./modules/perception/common/i_lib/pc/i_struct_s.h:776:12: error: there are no arguments to '_mm_setr_ps' that depend on a template parameter, so a declaration of '_mm_setr_ps' must be available [-fpermissive] v_ys = _mm_setr_ps(cptr_y[0], cptr_y[d1], cptr_y[d2], cptr_y[d3]); ^~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:777:5: error: 'v_zs' was not declared in this scope v_zs = _mm_setr_ps(cptr_z[0], cptr_z[d1], cptr_z[d2], cptr_z[d3]); ^~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:777:12: error: there are no arguments to '_mm_setr_ps' that depend on a template parameter, so a declaration of '_mm_setr_ps' must be available [-fpermissive] v_zs = _mm_setr_ps(cptr_z[0], cptr_z[d1], cptr_z[d2], cptr_z[d3]); ^~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:780:5: error: 'v_cmp_x' was not declared in this scope v_cmp_x = ^~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:781:39: error: 'v_x_min' was not declared in this scope _mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max)); ^~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:781:39: note: suggested alternative: 'fmin' _mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max)); ^~~ fmin ./modules/perception/common/i_lib/pc/i_struct_s.h:781:20: error: there are no arguments to '_mm_cmpge_ps' that depend on a template parameter, so a declaration of '_mm_cmpge_ps' must be available [-fpermissive] _mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max)); ^~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:781:68: error: 'v_x_max' was not declared in this scope _mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max)); ^~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:781:68: note: suggested alternative: 'fmax' _mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max)); ^~~ fmax ./modules/perception/common/i_lib/pc/i_struct_s.h:781:49: error: there are no arguments to '_mm_cmple_ps' that depend on a template parameter, so a declaration of '_mm_cmple_ps' must be available [-fpermissive] _mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max)); ^~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:782:5: error: 'v_cmp_y' was not declared in this scope v_cmp_y = ^~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:783:39: error: 'v_y_min' was not declared in this scope _mm_and_ps(_mm_cmpge_ps(v_ys, v_y_min), _mm_cmple_ps(v_ys, v_y_max)); ^~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:783:39: note: suggested alternative: 'fmin' _mm_and_ps(_mm_cmpge_ps(v_ys, v_y_min), _mm_cmple_ps(v_ys, v_y_max)); ^~~ fmin ./modules/perception/common/i_lib/pc/i_struct_s.h:783:20: error: there are no arguments to '_mm_cmpge_ps' that depend on a template parameter, so a declaration of '_mm_cmpge_ps' must be available [-fpermissive] _mm_and_ps(_mm_cmpge_ps(v_ys, v_y_min), _mm_cmple_ps(v_ys, v_y_max)); ^~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:783:68: error: 'v_y_max' was not declared in this scope _mm_and_ps(_mm_cmpge_ps(v_ys, v_y_min), _mm_cmple_ps(v_ys, v_y_max)); ^~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:783:68: note: suggested alternative: 'fmax' _mm_and_ps(_mm_cmpge_ps(v_ys, v_y_min), _mm_cmple_ps(v_ys, v_y_max)); ^~~ fmax ./modules/perception/common/i_lib/pc/i_struct_s.h:783:49: error: there are no arguments to '_mm_cmple_ps' that depend on a template parameter, so a declaration of '_mm_cmple_ps' must be available [-fpermissive] _mm_and_ps(_mm_cmpge_ps(v_ys, v_y_min), _mm_cmple_ps(v_ys, v_y_max)); ^~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:784:5: error: 'v_cmp_z' was not declared in this scope v_cmp_z = ^~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:785:39: error: 'v_z_min' was not declared in this scope _mm_and_ps(_mm_cmpge_ps(v_zs, v_z_min), _mm_cmple_ps(v_zs, v_z_max)); ^~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:785:39: note: suggested alternative: 'fmin' _mm_and_ps(_mm_cmpge_ps(v_zs, v_z_min), _mm_cmple_ps(v_zs, v_z_max)); ^~~ fmin ./modules/perception/common/i_lib/pc/i_struct_s.h:785:20: error: there are no arguments to '_mm_cmpge_ps' that depend on a template parameter, so a declaration of '_mm_cmpge_ps' must be available [-fpermissive] _mm_and_ps(_mm_cmpge_ps(v_zs, v_z_min), _mm_cmple_ps(v_zs, v_z_max)); ^~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:785:68: error: 'v_z_max' was not declared in this scope _mm_and_ps(_mm_cmpge_ps(v_zs, v_z_min), _mm_cmple_ps(v_zs, v_z_max)); ^~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:785:68: note: suggested alternative: 'fmax' _mm_and_ps(_mm_cmpge_ps(v_zs, v_z_min), _mm_cmple_ps(v_zs, v_z_max)); ^~~ fmax ./modules/perception/common/i_lib/pc/i_struct_s.h:785:49: error: there are no arguments to '_mm_cmple_ps' that depend on a template parameter, so a declaration of '_mm_cmple_ps' must be available [-fpermissive] _mm_and_ps(_mm_cmpge_ps(v_zs, v_z_min), _mm_cmple_ps(v_zs, v_z_max)); ^~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:786:27: error: there are no arguments to '_mm_and_ps' that depend on a template parameter, so a declaration of '_mm_and_ps' must be available [-fpermissive] v_in_roi = _mm_and_ps(_mm_and_ps(v_cmp_x, v_cmp_y), v_cmp_z); ^~~~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:789:12: error: there are no arguments to '_mm_sub_ps' that depend on a template parameter, so a declaration of '_mm_sub_ps' must be available [-fpermissive] v_xs = _mm_sub_ps(v_xs, v_x_min); ^~~~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:790:29: error: 'v_width_x_rec' was not declared in this scope v_xs = _mm_mul_ps(v_xs, v_width_x_rec); ^~~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:790:29: note: suggested alternative: 'voxel_width_x_rec' v_xs = _mm_mul_ps(v_xs, v_width_x_rec); ^~~~~ voxel_width_x_rec ./modules/perception/common/i_lib/pc/i_struct_s.h:790:12: error: there are no arguments to '_mm_mul_ps' that depend on a template parameter, so a declaration of '_mm_mul_ps' must be available [-fpermissive] v_xs = _mm_mul_ps(v_xs, v_width_x_rec); ^~~~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:791:5: error: 'iv_x_indices' was not declared in this scope iv_x_indices = _mm_cvttps_epi32(v_xs); // truncate towards zero ^~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:791:20: error: there are no arguments to '_mm_cvttps_epi32' that depend on a template parameter, so a declaration of '_mm_cvttps_epi32' must be available [-fpermissive] iv_x_indices = _mm_cvttps_epi32(v_xs); // truncate towards zero ^~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:792:34: error: 'iv_nr_voxel_x_m1' was not declared in this scope iv_x_indices = _mm_min_epi32(iv_nr_voxel_x_m1, iv_x_indices); ^~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:792:34: note: suggested alternative: 'nr_voxelx' iv_x_indices = _mm_min_epi32(iv_nr_voxel_x_m1, iv_x_indices); ^~~~ nr_voxelx ./modules/perception/common/i_lib/pc/i_struct_s.h:792:20: error: there are no arguments to '_mm_min_epi32' that depend on a template parameter, so a declaration of '_mm_min_epi32' must be available [-fpermissive] iv_x_indices = _mm_min_epi32(iv_nr_voxel_x_m1, iv_x_indices); ^~~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:795:12: error: there are no arguments to '_mm_sub_ps' that depend on a template parameter, so a declaration of '_mm_sub_ps' must be available [-fpermissive] v_ys = _mm_sub_ps(v_ys, v_y_min); ^~~~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:796:29: error: 'v_width_y_rec' was not declared in this scope v_ys = _mm_mul_ps(v_ys, v_width_y_rec); ^~~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:796:29: note: suggested alternative: 'voxel_width_y_rec' v_ys = _mm_mul_ps(v_ys, v_width_y_rec); ^~~~~ voxel_width_y_rec ./modules/perception/common/i_lib/pc/i_struct_s.h:796:12: error: there are no arguments to '_mm_mul_ps' that depend on a template parameter, so a declaration of '_mm_mul_ps' must be available [-fpermissive] v_ys = _mm_mul_ps(v_ys, v_width_y_rec); ^~~~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:797:5: error: 'iv_y_indices' was not declared in this scope iv_y_indices = _mm_cvttps_epi32(v_ys); // truncate towards zero ^~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:797:20: error: there are no arguments to '_mm_cvttps_epi32' that depend on a template parameter, so a declaration of '_mm_cvttps_epi32' must be available [-fpermissive] iv_y_indices = _mm_cvttps_epi32(v_ys); // truncate towards zero ^~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:798:34: error: 'iv_nr_voxel_y_m1' was not declared in this scope iv_y_indices = _mm_min_epi32(iv_nr_voxel_y_m1, iv_y_indices); ^~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:798:34: note: suggested alternative: 'nr_voxely' iv_y_indices = _mm_min_epi32(iv_nr_voxel_y_m1, iv_y_indices); ^~~~ nr_voxely ./modules/perception/common/i_lib/pc/i_struct_s.h:798:20: error: there are no arguments to '_mm_min_epi32' that depend on a template parameter, so a declaration of '_mm_min_epi32' must be available [-fpermissive] iv_y_indices = _mm_min_epi32(iv_nr_voxel_y_m1, iv_y_indices); ^~~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:800:5: error: 'iv_v_indices_02' was not declared in this scope iv_v_indices_02 = _mm_mullo_epi32(iv_y_indices, iv_nr_voxel_x); ^~~~~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:800:53: error: 'iv_nr_voxel_x' was not declared in this scope iv_v_indices_02 = _mm_mullo_epi32(iv_y_indices, iv_nr_voxel_x); ^~~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:800:53: note: suggested alternative: 'nr_voxelx' iv_v_indices_02 = _mm_mullo_epi32(iv_y_indices, iv_nr_voxel_x); ^~~~~ nr_voxelx ./modules/perception/common/i_lib/pc/i_struct_s.h:800:23: error: there are no arguments to '_mm_mullo_epi32' that depend on a template parameter, so a declaration of '_mm_mullo_epi32' must be available [-fpermissive] iv_v_indices_02 = _mm_mullo_epi32(iv_y_indices, iv_nr_voxel_x); ^~~~~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:801:52: error: there are no arguments to '_MM_SHUFFLE' that depend on a template parameter, so a declaration of '_MM_SHUFFLE' must be available [-fpermissive] iv_y_indices = _mm_shuffle_epi32(iv_y_indices, _MM_SHUFFLE(2, 3, 0, 1)); ^~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:803:5: error: 'iv_v_indices_13' was not declared in this scope iv_v_indices_13 = _mm_mullo_epi32(iv_y_indices, iv_nr_voxel_x); ^~~~~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:803:23: error: there are no arguments to '_mm_mullo_epi32' that depend on a template parameter, so a declaration of '_mm_mullo_epi32' must be available [-fpermissive] iv_v_indices_13 = _mm_mullo_epi32(iv_y_indices, iv_nr_voxel_x); ^~~~~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:805:44: error: there are no arguments to '_MM_SHUFFLE' that depend on a template parameter, so a declaration of '_MM_SHUFFLE' must be available [-fpermissive] _mm_shuffle_epi32(iv_v_indices_13, _MM_SHUFFLE(2, 3, 0, 1)); ^~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:807:5: error: 'iv_indices' was not declared in this scope iv_indices = _mm_add_epi32(iv_v_indices_02, iv_v_indices_13); ^~~~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:807:18: error: there are no arguments to '_mm_add_epi32' that depend on a template parameter, so a declaration of '_mm_add_epi32' must be available [-fpermissive] iv_indices = _mm_add_epi32(iv_v_indices_02, iv_v_indices_13); ^~~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:808:18: error: there are no arguments to '_mm_add_epi32' that depend on a template parameter, so a declaration of '_mm_add_epi32' must be available [-fpermissive] iv_indices = _mm_add_epi32(iv_indices, iv_x_indices); ^~~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:812:5: error: there are no arguments to '_mm_store_ps' that depend on a template parameter, so a declaration of '_mm_store_ps' must be available [-fpermissive] _mm_store_ps(mem_aligned16f32, v_in_roi); ^~~~ ./modules/perception/common/i_lib/pc/i_struct_s.h:814:38: error: 'm128i' does not name a type; did you mean 'f128'? _mm_store_si128(reinterpret_cast<m128i *>(mem_aligned16i32), ^~~ f128 ./modules/perception/common/i_lib/pc/i_struct_s.h:814:46: error: expected '>' before '' token _mm_store_si128(reinterpret_cast<__m128i >(mem_aligned16i32), ^ ./modules/perception/common/i_lib/pc/i_struct_s.h:814:46: error: expected '(' before '' token ./modules/perception/common/i_lib/pc/i_struct_s.h:814:47: error: expected primary-expression before '>' token _mm_store_si128(reinterpret_cast<__m128i >(mem_aligned16i32), ^ ./modules/perception/common/i_lib/pc/i_struct_s.h: In instantiation of 'bool apollo::perception::common::VoxelGridXY::SetS(const float*, unsigned int, unsigned int) [with T = float]': modules/perception/common/i_lib/pc/i_ground.cc:1244:64: required from here ./modules/perception/common/i_lib/pc/i_struct_s.h:748:25: error: '_mm_setr_ps' was not declared in this scope v_in_roi = _mm_setr_ps(1.0, 1.0, 1.0, 1.0);


./modules/perception/common/i_lib/pc/i_struct_s.h:775:23: error: '_mm_setr_ps' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
     v_xs = _mm_setr_ps(cptr_x[0], cptr_x[d1], cptr_x[d2], cptr_x[d3]);
            ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:748:25: note: '_mm_setr_ps' declared here, later in the translation unit
   v_in_roi = _mm_setr_ps(1.0, 1.0, 1.0, 1.0);
              ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:776:23: error: '_mm_setr_ps' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
     v_ys = _mm_setr_ps(cptr_y[0], cptr_y[d1], cptr_y[d2], cptr_y[d3]);
            ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:748:25: note: '_mm_setr_ps' declared here, later in the translation unit
   v_in_roi = _mm_setr_ps(1.0, 1.0, 1.0, 1.0);
              ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:777:23: error: '_mm_setr_ps' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
     v_zs = _mm_setr_ps(cptr_z[0], cptr_z[d1], cptr_z[d2], cptr_z[d3]);
            ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:748:25: note: '_mm_setr_ps' declared here, later in the translation unit
   v_in_roi = _mm_setr_ps(1.0, 1.0, 1.0, 1.0);
              ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:781:46: error: '_mm_cmpge_ps' was not declared in this scope
         _mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max));
                                              ^
./modules/perception/common/i_lib/pc/i_struct_s.h:781:75: error: '_mm_cmple_ps' was not declared in this scope
         _mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max));
                                                                           ^
./modules/perception/common/i_lib/pc/i_struct_s.h:781:19: error: '_mm_and_ps' was not declared in this scope
         _mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max));
         ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:783:46: error: '_mm_cmpge_ps' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
         _mm_and_ps(_mm_cmpge_ps(v_ys, v_y_min), _mm_cmple_ps(v_ys, v_y_max));
                                              ^
./modules/perception/common/i_lib/pc/i_struct_s.h:781:46: note: '_mm_cmpge_ps' declared here, later in the translation unit
         _mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max));
                                              ^
./modules/perception/common/i_lib/pc/i_struct_s.h:783:75: error: '_mm_cmple_ps' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
         _mm_and_ps(_mm_cmpge_ps(v_ys, v_y_min), _mm_cmple_ps(v_ys, v_y_max));
                                                                           ^
./modules/perception/common/i_lib/pc/i_struct_s.h:781:75: note: '_mm_cmple_ps' declared here, later in the translation unit
         _mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max));
                                                                           ^
./modules/perception/common/i_lib/pc/i_struct_s.h:783:19: error: '_mm_and_ps' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
         _mm_and_ps(_mm_cmpge_ps(v_ys, v_y_min), _mm_cmple_ps(v_ys, v_y_max));
         ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:781:19: note: '_mm_and_ps' declared here, later in the translation unit
         _mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max));
         ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:785:46: error: '_mm_cmpge_ps' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
         _mm_and_ps(_mm_cmpge_ps(v_zs, v_z_min), _mm_cmple_ps(v_zs, v_z_max));
                                              ^
./modules/perception/common/i_lib/pc/i_struct_s.h:781:46: note: '_mm_cmpge_ps' declared here, later in the translation unit
         _mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max));
                                              ^
./modules/perception/common/i_lib/pc/i_struct_s.h:785:75: error: '_mm_cmple_ps' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
         _mm_and_ps(_mm_cmpge_ps(v_zs, v_z_min), _mm_cmple_ps(v_zs, v_z_max));
                                                                           ^
./modules/perception/common/i_lib/pc/i_struct_s.h:781:75: note: '_mm_cmple_ps' declared here, later in the translation unit
         _mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max));
                                                                           ^
./modules/perception/common/i_lib/pc/i_struct_s.h:785:19: error: '_mm_and_ps' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
         _mm_and_ps(_mm_cmpge_ps(v_zs, v_z_min), _mm_cmple_ps(v_zs, v_z_max));
         ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:781:19: note: '_mm_and_ps' declared here, later in the translation unit
         _mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max));
         ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:786:37: error: '_mm_and_ps' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
     v_in_roi = _mm_and_ps(_mm_and_ps(v_cmp_x, v_cmp_y), v_cmp_z);
                           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:781:19: note: '_mm_and_ps' declared here, later in the translation unit
         _mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max));
         ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:786:26: error: '_mm_and_ps' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
     v_in_roi = _mm_and_ps(_mm_and_ps(v_cmp_x, v_cmp_y), v_cmp_z);
                ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:781:19: note: '_mm_and_ps' declared here, later in the translation unit
         _mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max));
         ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:789:22: error: '_mm_sub_ps' was not declared in this scope
     v_xs = _mm_sub_ps(v_xs, v_x_min);
            ~~~~~~~~~~^~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:790:42: error: '_mm_mul_ps' was not declared in this scope
     v_xs = _mm_mul_ps(v_xs, v_width_x_rec);
                                          ^
./modules/perception/common/i_lib/pc/i_struct_s.h:790:42: note: suggested alternative: 'vmul_p8'
     v_xs = _mm_mul_ps(v_xs, v_width_x_rec);
                                          ^
                                          vmul_p8
./modules/perception/common/i_lib/pc/i_struct_s.h:791:36: error: '_mm_cvttps_epi32' was not declared in this scope
     iv_x_indices = _mm_cvttps_epi32(v_xs);  // truncate towards zero
                    ~~~~~~~~~~~~~~~~^~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:792:33: error: '_mm_min_epi32' was not declared in this scope
     iv_x_indices = _mm_min_epi32(iv_nr_voxel_x_m1, iv_x_indices);
                    ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:795:22: error: '_mm_sub_ps' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
     v_ys = _mm_sub_ps(v_ys, v_y_min);
            ~~~~~~~~~~^~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:789:22: note: '_mm_sub_ps' declared here, later in the translation unit
     v_xs = _mm_sub_ps(v_xs, v_x_min);
            ~~~~~~~~~~^~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:796:42: error: '_mm_mul_ps' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
     v_ys = _mm_mul_ps(v_ys, v_width_y_rec);
                                          ^
./modules/perception/common/i_lib/pc/i_struct_s.h:790:42: note: '_mm_mul_ps' declared here, later in the translation unit
     v_xs = _mm_mul_ps(v_xs, v_width_x_rec);
                                          ^
./modules/perception/common/i_lib/pc/i_struct_s.h:797:36: error: '_mm_cvttps_epi32' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
     iv_y_indices = _mm_cvttps_epi32(v_ys);  // truncate towards zero
                    ~~~~~~~~~~~~~~~~^~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:791:36: note: '_mm_cvttps_epi32' declared here, later in the translation unit
     iv_x_indices = _mm_cvttps_epi32(v_xs);  // truncate towards zero
                    ~~~~~~~~~~~~~~~~^~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:798:33: error: '_mm_min_epi32' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
     iv_y_indices = _mm_min_epi32(iv_nr_voxel_y_m1, iv_y_indices);
                    ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:792:33: note: '_mm_min_epi32' declared here, later in the translation unit
     iv_x_indices = _mm_min_epi32(iv_nr_voxel_x_m1, iv_x_indices);
                    ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:800:66: error: '_mm_mullo_epi32' was not declared in this scope
     iv_v_indices_02 = _mm_mullo_epi32(iv_y_indices, iv_nr_voxel_x);
                                                                  ^
./modules/perception/common/i_lib/pc/i_struct_s.h:801:63: error: '_MM_SHUFFLE' was not declared in this scope
     iv_y_indices = _mm_shuffle_epi32(iv_y_indices, _MM_SHUFFLE(2, 3, 0, 1));
                                                    ~~~~~~~~~~~^~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:801:37: error: '_mm_shuffle_epi32' was not declared in this scope
     iv_y_indices = _mm_shuffle_epi32(iv_y_indices, _MM_SHUFFLE(2, 3, 0, 1));
                    ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:803:38: error: '_mm_mullo_epi32' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
     iv_v_indices_13 = _mm_mullo_epi32(iv_y_indices, iv_nr_voxel_x);
                       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:800:66: note: '_mm_mullo_epi32' declared here, later in the translation unit
     iv_v_indices_02 = _mm_mullo_epi32(iv_y_indices, iv_nr_voxel_x);
                                                                  ^
./modules/perception/common/i_lib/pc/i_struct_s.h:805:55: error: '_MM_SHUFFLE' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
         _mm_shuffle_epi32(iv_v_indices_13, _MM_SHUFFLE(2, 3, 0, 1));
                                            ~~~~~~~~~~~^~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:801:63: note: '_MM_SHUFFLE' declared here, later in the translation unit
     iv_y_indices = _mm_shuffle_epi32(iv_y_indices, _MM_SHUFFLE(2, 3, 0, 1));
                                                    ~~~~~~~~~~~^~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:805:26: error: '_mm_shuffle_epi32' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
         _mm_shuffle_epi32(iv_v_indices_13, _MM_SHUFFLE(2, 3, 0, 1));
         ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:801:37: note: '_mm_shuffle_epi32' declared here, later in the translation unit
     iv_y_indices = _mm_shuffle_epi32(iv_y_indices, _MM_SHUFFLE(2, 3, 0, 1));
                    ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:807:31: error: '_mm_add_epi32' was not declared in this scope
     iv_indices = _mm_add_epi32(iv_v_indices_02, iv_v_indices_13);
                  ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:808:31: error: '_mm_add_epi32' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
     iv_indices = _mm_add_epi32(iv_indices, iv_x_indices);
                  ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:807:31: note: '_mm_add_epi32' declared here, later in the translation unit
     iv_indices = _mm_add_epi32(iv_v_indices_02, iv_v_indices_13);
                  ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:812:17: error: '_mm_store_ps' was not declared in this scope
     _mm_store_ps(mem_aligned16_f32_, v_in_roi);
     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:812:17: note: suggested alternative: '__mbstate_t'
     _mm_store_ps(mem_aligned16_f32_, v_in_roi);
     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     __mbstate_t
(07:11:05) INFO: Elapsed time: 1938.840s, Critical Path: 134.66s
(07:11:05) INFO: 4262 processes: 2052 internal, 2210 local.
(07:11:05) FAILED: Build did NOT complete successfully
root@in-dev-docker:/apollo#
`
@daohu527 
daohu527 commented 2 years ago

main question

The main question is below function need sse support on x86. Arm also has a SIMD (single instruction multiple data) architecture call arm_neon, We need to port to cross platform. https://github.com/ApolloAuto/apollo/blob/266afbf68d83fa6fac7a812ff8a950223f5ab2c0/modules/perception/common/i_lib/pc/i_struct_s.h#L712-L714

solution

  1. eigen is cross platform we can find some way to use eigen to rewrite function SetS
  2. use arm_neon to rewrite function SetS ref
  3. sse2neon already do the job.
jingruhou commented 2 years ago

So, I should give up 。

还是非常感谢你的热心解答 , 比心@daohu527

lx18233184051 commented 2 years ago

sorry, Apollo only support X86 platform now.

fei4xu commented 2 years ago

sorry, Apollo only support X86 platform now.

but I see https://github.com/ApolloAuto/apollo/blob/master/apollo.sh#L8

SUPPORTED_ARCHS=" x86_64 aarch64 "
fei4xu commented 2 years ago

msse4.1 is support by x86 only. We need to look at the compile options on arm

or how can I exclude modules/perception from build as a temporary solution? I only need cyber related now.

daohu527 commented 2 years ago

cyber is already support arm, and you can have a try.