Closed wuzp986 closed 4 years ago
root@in-dev-docker:/apollo# sudo bash 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-2020-07-13-be72024341
[INFO] APOLLO_ENV: STAGE=dev USE_ESD_CAN=false USE_GPU=1
[INFO] Your GPU is enabled to run the build on x86_64 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] Bazel Options: --define USE_ESD_CAN=false
[INFO] Build Targets: //modules/... union //cyber/... except //modules/drivers/canbus/can_client/esd/...
Loading: 0 packages loaded
Loading: 3 packages loaded
Loading: 3 packages loaded
(09:36:11) INFO: Current date is 2020-08-01
(09:36:11) INFO: Build option --define has changed, discarding analysis cache.
(09:36:13) INFO: Analyzed 4127 targets (10 packages loaded, 14853 targets configured).
(09:36:13) INFO: Found 4127 targets...
(09:36:14) ERROR: /apollo/modules/planning/scenarios/emergency/emergency_stop/BUILD:62:8: Linking of rule '//modules/planning/scenarios/emergency/emergency_stop:stage_standby_test' failed (Exit 1)
/usr/bin/ld.gold: error: bazel-out/k8-dbg/bin/_solib_k8/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/libcudart.so: file is empty
bazel-out/k8-dbg/bin/_solib_k8/libmodules_Splanning_Sopen_Uspace_Scoarse_Utrajectory_Ugenerator_Slibreeds_Ushepp_Upath.so: error: undefined reference to 'GOMP_parallel'
bazel-out/k8-dbg/bin/_solib_k8/libmodules_Splanning_Sopen_Uspace_Scoarse_Utrajectory_Ugenerator_Slibreeds_Ushepp_Upath.so: error: undefined reference to 'GOMP_loop_dynamic_start'
bazel-out/k8-dbg/bin/_solib_k8/libmodules_Splanning_Sopen_Uspace_Scoarse_Utrajectory_Ugenerator_Slibreeds_Ushepp_Upath.so: error: undefined reference to 'GOMP_loop_dynamic_next'
bazel-out/k8-dbg/bin/_solib_k8/libmodules_Splanning_Sopen_Uspace_Scoarse_Utrajectory_Ugenerator_Slibreeds_Ushepp_Upath.so: error: undefined reference to 'GOMP_loop_end_nowait'
collect2: error: ld returned 1 exit status
(09:36:14) INFO: Elapsed time: 3.333s, Critical Path: 1.17s
(09:36:14) INFO: 30 processes: 30 local.
(09:36:14) FAILED: Build did NOT complete successfully
root@in-dev-docker:/apollo# sudo bash 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-2020-07-13-be72024341 [INFO] APOLLO_ENV: STAGE=dev USE_ESD_CAN=false USE_GPU=1 [INFO] Your GPU is enabled to run the build on x86_64 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] Bazel Options: --define USE_ESD_CAN=false [INFO] Build Targets: //modules/... union //cyber/... except //modules/drivers/canbus/can_client/esd/... Loading: 0 packages loaded Loading: 3 packages loaded Loading: 3 packages loaded (09:36:11) INFO: Current date is 2020-08-01 (09:36:11) INFO: Build option --define has changed, discarding analysis cache. (09:36:13) INFO: Analyzed 4127 targets (10 packages loaded, 14853 targets configured). (09:36:13) INFO: Found 4127 targets... (09:36:14) ERROR: /apollo/modules/planning/scenarios/emergency/emergency_stop/BUILD:62:8: Linking of rule '//modules/planning/scenarios/emergency/emergency_stop:stage_standby_test' failed (Exit 1) /usr/bin/ld.gold: error: bazel-out/k8-dbg/bin/_solib_k8/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/libcudart.so: file is empty bazel-out/k8-dbg/bin/_solib_k8/libmodules_Splanning_Sopen_Uspace_Scoarse_Utrajectory_Ugenerator_Slibreeds_Ushepp_Upath.so: error: undefined reference to 'GOMP_parallel' bazel-out/k8-dbg/bin/_solib_k8/libmodules_Splanning_Sopen_Uspace_Scoarse_Utrajectory_Ugenerator_Slibreeds_Ushepp_Upath.so: error: undefined reference to 'GOMP_loop_dynamic_start' bazel-out/k8-dbg/bin/_solib_k8/libmodules_Splanning_Sopen_Uspace_Scoarse_Utrajectory_Ugenerator_Slibreeds_Ushepp_Upath.so: error: undefined reference to 'GOMP_loop_dynamic_next' bazel-out/k8-dbg/bin/_solib_k8/libmodules_Splanning_Sopen_Uspace_Scoarse_Utrajectory_Ugenerator_Slibreeds_Ushepp_Upath.so: error: undefined reference to 'GOMP_loop_end_nowait' collect2: error: ld returned 1 exit status (09:36:14) INFO: Elapsed time: 3.333s, Critical Path: 1.17s (09:36:14) INFO: 30 processes: 30 local. (09:36:14) FAILED: Build did NOT complete successfully
From your log, it seems that you are running the master
branch rather than the r5.5.0
branch.
Try source scripts/apollo_base.sh
before running the build.
According to the operation you said, after recompiling, a new error appeared.
(07:48:07) INFO: From Compiling modules/prediction/predictor/junction/junction_predictor_test.cc:
In file included from ./modules/prediction/container/obstacles/obstacle.h:38:0,
from ./modules/prediction/container/obstacles/obstacles_container.h:30,
from ./modules/prediction/predictor/junction/junction_predictor.h:27,
from modules/prediction/predictor/junction/junction_predictor_test.cc:17:
bazel-out/k8-dbg/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/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:109:3: note: declared here
ObstacleConf_EvaluatorType_RNN_EVALUATOR PROTOBUF_DEPRECATED_ENUM = 1,
^~~~~~~~~~~~
bazel-out/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:378:5: warning: 'ObstacleConf_PredictorType_REGIONAL_PREDICTOR' is deprecated [-Wdeprecated-declarations]
ObstacleConf_PredictorType_REGIONAL_PREDICTOR;
^~~~~~~~~~~~~
bazel-out/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:142:3: note: declared here
ObstacleConf_PredictorType_REGIONAL_PREDICTOR PROTOBUF_DEPRECATED_ENUM = 2,
^~~~~~~~~~~~~
(07:48:10) INFO: From Compiling modules/planning/scenarios/scenario_manager.cc:
modules/planning/scenarios/scenario_manager.cc: In member function 'void apollo::planning::scenario::ScenarioManager::UpdatePlanningContextEmergencyStopcenario(const apollo::planning::Frame&, const ScenarioType&)':
modules/planning/scenarios/scenario_manager.cc:987:22: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
if (!scenario_type == ScenarioConfig::EMERGENCY_STOP) {
^~
modules/planning/scenarios/scenario_manager.cc:987:7: note: add parentheses around left hand side expression to silence this warning
if (!scenario_type == ScenarioConfig::EMERGENCY_STOP) {
^~~~~~
( )
modules/planning/scenarios/scenario_manager.cc:987:22: warning: comparison of constant '12' with boolean expression is always false [-Wbool-compare]
if (!scenario_type == ScenarioConfig::EMERGENCY_STOP) {
(07:48:42) ERROR: /apollo/modules/perception/lidar/lib/detection/lidar_point_pillars/BUILD:84:13: error while parsing .d file: /apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/execroot/apollo/bazel-out/k8-dbg/bin/modules/perception/lidar/lib/detection/lidar_point_pillars/_objs/nms_cuda/nms_cuda.pic.d (No such file or directory)
gcc: warning: modules/perception/lidar/lib/detection/lidar_point_pillars/nms_cuda.cu: linker input file unused because linking not done
(07:48:42) INFO: Elapsed time: 72.320s, Critical Path: 26.13s
(07:48:42) INFO: 292 processes: 292 local.
(07:48:42) FAILED: Build did NOT complete successfully
root@in-dev-docker:/apollo#
According to the operation you said, after recompiling, a new error appeared.
(07:48:07) INFO: From Compiling modules/prediction/predictor/junction/junction_predictor_test.cc: In file included from ./modules/prediction/container/obstacles/obstacle.h:38:0, from ./modules/prediction/container/obstacles/obstacles_container.h:30, from ./modules/prediction/predictor/junction/junction_predictor.h:27, from modules/prediction/predictor/junction/junction_predictor_test.cc:17: bazel-out/k8-dbg/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/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:109:3: note: declared here ObstacleConf_EvaluatorType_RNN_EVALUATOR PROTOBUF_DEPRECATED_ENUM = 1, ^~~~~~~~~~~~ bazel-out/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:378:5: warning: 'ObstacleConf_PredictorType_REGIONAL_PREDICTOR' is deprecated [-Wdeprecated-declarations] ObstacleConf_PredictorType_REGIONAL_PREDICTOR; ^~~~~~~~~~~~~ bazel-out/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:142:3: note: declared here ObstacleConf_PredictorType_REGIONAL_PREDICTOR PROTOBUF_DEPRECATED_ENUM = 2, ^~~~~~~~~~~~~ (07:48:10) INFO: From Compiling modules/planning/scenarios/scenario_manager.cc: modules/planning/scenarios/scenario_manager.cc: In member function 'void apollo::planning::scenario::ScenarioManager::UpdatePlanningContextEmergencyStopcenario(const apollo::planning::Frame&, const ScenarioType&)': modules/planning/scenarios/scenario_manager.cc:987:22: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if (!scenario_type == ScenarioConfig::EMERGENCY_STOP) { ^~ modules/planning/scenarios/scenario_manager.cc:987:7: note: add parentheses around left hand side expression to silence this warning if (!scenario_type == ScenarioConfig::EMERGENCY_STOP) { ^~~~~~ ( ) modules/planning/scenarios/scenario_manager.cc:987:22: warning: comparison of constant '12' with boolean expression is always false [-Wbool-compare] if (!scenario_type == ScenarioConfig::EMERGENCY_STOP) {(07:48:42) ERROR: /apollo/modules/perception/lidar/lib/detection/lidar_point_pillars/BUILD:84:13: error while parsing .d file: /apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/execroot/apollo/bazel-out/k8-dbg/bin/modules/perception/lidar/lib/detection/lidar_point_pillars/_objs/nms_cuda/nms_cuda.pic.d (No such file or directory) gcc: warning: modules/perception/lidar/lib/detection/lidar_point_pillars/nms_cuda.cu: linker input file unused because linking not done (07:48:42) INFO: Elapsed time: 72.320s, Critical Path: 26.13s (07:48:42) INFO: 292 processes: 292 local. (07:48:42) FAILED: Build did NOT complete successfully root@in-dev-docker:/apollo#
This seems to be a CUDA-related issue. Do you have GPU enabled in the second run? Try to paste the detailed output in you reply.
BTW, login as root is discouraged. Try to start and login to Apollo dev
container as a normal user rather than root, and run ./apollo.sh build
to see what happens.
Always compile with GPU.
root@in-dev-docker:/apollo# sudo bash 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-2020-07-13-be72024341
[INFO] APOLLO_ENV: STAGE=dev USE_ESD_CAN=false USE_GPU=1
[INFO] Your GPU is enabled to run the build on x86_64 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] Bazel Options: --define USE_ESD_CAN=false
[INFO] Build Targets: //modules/... union //cyber/... except //modules/drivers/canbus/can_client/esd/...
Starting local Bazel server and connecting to it...
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 398 packages loaded
Loading: 398 packages loaded
(07:47:30) INFO: Current date is 2020-08-03
(07:47:33) INFO: Analyzed 4127 targets (99 packages loaded, 14853 targets configured).
(07:47:33) INFO: Found 4127 targets...
(07:47:33) INFO: Deleting stale sandbox base /apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/sandbox
(07:47:36) INFO: From Compiling cyber/tools/cyber_recorder/spliter.cc:
In file included from ./cyber/tools/cyber_recorder/spliter.h:27:0,
from cyber/tools/cyber_recorder/spliter.cc:17:
./cyber/record/file/record_file_reader.h: In instantiation of 'bool apollo::cyber::record::RecordFileReader::ReadSection(int64_t, T) [with T = apollo::cyber::proto::Channel; int64_t = long int]':
cyber/tools/cyber_recorder/spliter.cc:95:62: required from here
./cyber/record/file/record_file_reader.h:82:27: warning: 'int google::protobuf::MessageLite::ByteSize() const' is deprecated: Please use ByteSizeLong() instead [-Wdeprecated-declarations]
if (message->ByteSize() != size) {
In file included from external/com_google_protobuf/src/google/protobuf/generated_enum_util.h:36:0,
from external/com_google_protobuf/src/google/protobuf/map.h:55,
from external/com_google_protobuf/src/google/protobuf/generated_message_table_driven.h:34,
from bazel-out/k8-dbg/bin/cyber/proto/record.pb.h:26,
from ./cyber/tools/cyber_recorder/spliter.h:26,
from cyber/tools/cyber_recorder/spliter.cc:17:
external/com_google_protobuf/src/google/protobuf/message_lite.h:420:7: note: declared here
int ByteSize() const { return internal::ToIntSize(ByteSizeLong()); }
^~~~
In file included from ./cyber/tools/cyber_recorder/spliter.h:27:0,
from cyber/tools/cyber_recorder/spliter.cc:17:
./cyber/record/file/record_file_reader.h:84:52: warning: 'int google::protobuf::MessageLite::ByteSize() const' is deprecated: Please use ByteSizeLong() instead [-Wdeprecated-declarations]
<< ", expect: " << size << ", actual: " << message->ByteSize();
In file included from external/com_google_protobuf/src/google/protobuf/generated_enum_util.h:36:0,
from external/com_google_protobuf/src/google/protobuf/map.h:55,
from external/com_google_protobuf/src/google/protobuf/generated_message_table_driven.h:34,
from bazel-out/k8-dbg/bin/cyber/proto/record.pb.h:26,
from ./cyber/tools/cyber_recorder/spliter.h:26,
from cyber/tools/cyber_recorder/spliter.cc:17:
external/com_google_protobuf/src/google/protobuf/message_lite.h:420:7: note: declared here
int ByteSize() const { return internal::ToIntSize(ByteSizeLong()); }
^~~~
In file included from ./cyber/tools/cyber_recorder/spliter.h:27:0,
from cyber/tools/cyber_recorder/spliter.cc:17:
./cyber/record/file/record_file_reader.h: In instantiation of 'bool apollo::cyber::record::RecordFileReader::ReadSection(int64_t, T) [with T = apollo::cyber::proto::ChunkHeader; int64_t = long int]':
cyber/tools/cyber_recorder/spliter.cc:111:66: required from here
./cyber/record/file/record_file_reader.h:82:27: warning: 'int google::protobuf::MessageLite::ByteSize() const' is deprecated: Please use ByteSizeLong() instead [-Wdeprecated-declarations]
if (message->ByteSize() != size) {
In file included from external/com_google_protobuf/src/google/protobuf/generated_enum_util.h:36:0,
from external/com_google_protobuf/src/google/protobuf/map.h:55,
from external/com_google_protobuf/src/google/protobuf/generated_message_table_driven.h:34,
from bazel-out/k8-dbg/bin/cyber/proto/record.pb.h:26,
from ./cyber/tools/cyber_recorder/spliter.h:26,
from cyber/tools/cyber_recorder/spliter.cc:17:
external/com_google_protobuf/src/google/protobuf/message_lite.h:420:7: note: declared here
int ByteSize() const { return internal::ToIntSize(ByteSizeLong()); }
^~~~
In file included from ./cyber/tools/cyber_recorder/spliter.h:27:0,
from cyber/tools/cyber_recorder/spliter.cc:17:
./cyber/record/file/record_file_reader.h:84:52: warning: 'int google::protobuf::MessageLite::ByteSize() const' is deprecated: Please use ByteSizeLong() instead [-Wdeprecated-declarations]
<< ", expect: " << size << ", actual: " << message->ByteSize();
In file included from external/com_google_protobuf/src/google/protobuf/generated_enum_util.h:36:0,
from external/com_google_protobuf/src/google/protobuf/map.h:55,
from external/com_google_protobuf/src/google/protobuf/generated_message_table_driven.h:34,
from bazel-out/k8-dbg/bin/cyber/proto/record.pb.h:26,
from ./cyber/tools/cyber_recorder/spliter.h:26,
from cyber/tools/cyber_recorder/spliter.cc:17:
external/com_google_protobuf/src/google/protobuf/message_lite.h:420:7: note: declared here
int ByteSize() const { return internal::ToIntSize(ByteSizeLong()); }
^~~~
In file included from ./cyber/tools/cyber_recorder/spliter.h:27:0,
from cyber/tools/cyber_recorder/spliter.cc:17:
./cyber/record/file/record_file_reader.h: In instantiation of 'bool apollo::cyber::record::RecordFileReader::ReadSection(int64_t, T) [with T = apollo::cyber::proto::ChunkBody; int64_t = long int]':
cyber/tools/cyber_recorder/spliter.cc:127:63: required from here
./cyber/record/file/record_file_reader.h:82:27: warning: 'int google::protobuf::MessageLite::ByteSize() const' is deprecated: Please use ByteSizeLong() instead [-Wdeprecated-declarations]
if (message->ByteSize() != size) {
In file included from external/com_google_protobuf/src/google/protobuf/generated_enum_util.h:36:0,
from external/com_google_protobuf/src/google/protobuf/map.h:55,
from external/com_google_protobuf/src/google/protobuf/generated_message_table_driven.h:34,
from bazel-out/k8-dbg/bin/cyber/proto/record.pb.h:26,
from ./cyber/tools/cyber_recorder/spliter.h:26,
from cyber/tools/cyber_recorder/spliter.cc:17:
external/com_google_protobuf/src/google/protobuf/message_lite.h:420:7: note: declared here
int ByteSize() const { return internal::ToIntSize(ByteSizeLong()); }
^~~~
In file included from ./cyber/tools/cyber_recorder/spliter.h:27:0,
from cyber/tools/cyber_recorder/spliter.cc:17:
./cyber/record/file/record_file_reader.h:84:52: warning: 'int google::protobuf::MessageLite::ByteSize() const' is deprecated: Please use ByteSizeLong() instead [-Wdeprecated-declarations]
<< ", expect: " << size << ", actual: " << message->ByteSize();
In file included from external/com_google_protobuf/src/google/protobuf/generated_enum_util.h:36:0,
from external/com_google_protobuf/src/google/protobuf/map.h:55,
from external/com_google_protobuf/src/google/protobuf/generated_message_table_driven.h:34,
from bazel-out/k8-dbg/bin/cyber/proto/record.pb.h:26,
from ./cyber/tools/cyber_recorder/spliter.h:26,
from cyber/tools/cyber_recorder/spliter.cc:17:
external/com_google_protobuf/src/google/protobuf/message_lite.h:420:7: note: declared here
int ByteSize() const { return internal::ToIntSize(ByteSizeLong()); }
^~~~
(07:47:36) INFO: From Compiling cyber/tools/cyber_recorder/recoverer.cc:
In file included from ./cyber/tools/cyber_recorder/recoverer.h:27:0,
from cyber/tools/cyber_recorder/recoverer.cc:17:
./cyber/record/file/record_file_reader.h: In instantiation of 'bool apollo::cyber::record::RecordFileReader::ReadSection(int64_t, T) [with T = apollo::cyber::proto::Channel; int64_t = long int]':
cyber/tools/cyber_recorder/recoverer.cc:88:62: required from here
./cyber/record/file/record_file_reader.h:82:27: warning: 'int google::protobuf::MessageLite::ByteSize() const' is deprecated: Please use ByteSizeLong() instead [-Wdeprecated-declarations]
if (message->ByteSize() != size) {
In file included from external/com_google_protobuf/src/google/protobuf/generated_enum_util.h:36:0,
from external/com_google_protobuf/src/google/protobuf/map.h:55,
from external/com_google_protobuf/src/google/protobuf/generated_message_table_driven.h:34,
from bazel-out/k8-dbg/bin/cyber/proto/record.pb.h:26,
from ./cyber/tools/cyber_recorder/recoverer.h:26,
from cyber/tools/cyber_recorder/recoverer.cc:17:
external/com_google_protobuf/src/google/protobuf/message_lite.h:420:7: note: declared here
int ByteSize() const { return internal::ToIntSize(ByteSizeLong()); }
^~~~
In file included from ./cyber/tools/cyber_recorder/recoverer.h:27:0,
from cyber/tools/cyber_recorder/recoverer.cc:17:
./cyber/record/file/record_file_reader.h:84:52: warning: 'int google::protobuf::MessageLite::ByteSize() const' is deprecated: Please use ByteSizeLong() instead [-Wdeprecated-declarations]
<< ", expect: " << size << ", actual: " << message->ByteSize();
In file included from external/com_google_protobuf/src/google/protobuf/generated_enum_util.h:36:0,
from external/com_google_protobuf/src/google/protobuf/map.h:55,
from external/com_google_protobuf/src/google/protobuf/generated_message_table_driven.h:34,
from bazel-out/k8-dbg/bin/cyber/proto/record.pb.h:26,
from ./cyber/tools/cyber_recorder/recoverer.h:26,
from cyber/tools/cyber_recorder/recoverer.cc:17:
external/com_google_protobuf/src/google/protobuf/message_lite.h:420:7: note: declared here
int ByteSize() const { return internal::ToIntSize(ByteSizeLong()); }
^~~~
In file included from ./cyber/tools/cyber_recorder/recoverer.h:27:0,
from cyber/tools/cyber_recorder/recoverer.cc:17:
./cyber/record/file/record_file_reader.h: In instantiation of 'bool apollo::cyber::record::RecordFileReader::ReadSection(int64_t, T) [with T = apollo::cyber::proto::ChunkHeader; int64_t = long int]':
cyber/tools/cyber_recorder/recoverer.cc:101:66: required from here
./cyber/record/file/record_file_reader.h:82:27: warning: 'int google::protobuf::MessageLite::ByteSize() const' is deprecated: Please use ByteSizeLong() instead [-Wdeprecated-declarations]
if (message->ByteSize() != size) {
In file included from external/com_google_protobuf/src/google/protobuf/generated_enum_util.h:36:0,
from external/com_google_protobuf/src/google/protobuf/map.h:55,
from external/com_google_protobuf/src/google/protobuf/generated_message_table_driven.h:34,
from bazel-out/k8-dbg/bin/cyber/proto/record.pb.h:26,
from ./cyber/tools/cyber_recorder/recoverer.h:26,
from cyber/tools/cyber_recorder/recoverer.cc:17:
external/com_google_protobuf/src/google/protobuf/message_lite.h:420:7: note: declared here
int ByteSize() const { return internal::ToIntSize(ByteSizeLong()); }
^~~~
In file included from ./cyber/tools/cyber_recorder/recoverer.h:27:0,
from cyber/tools/cyber_recorder/recoverer.cc:17:
./cyber/record/file/record_file_reader.h:84:52: warning: 'int google::protobuf::MessageLite::ByteSize() const' is deprecated: Please use ByteSizeLong() instead [-Wdeprecated-declarations]
<< ", expect: " << size << ", actual: " << message->ByteSize();
In file included from external/com_google_protobuf/src/google/protobuf/generated_enum_util.h:36:0,
from external/com_google_protobuf/src/google/protobuf/map.h:55,
from external/com_google_protobuf/src/google/protobuf/generated_message_table_driven.h:34,
from bazel-out/k8-dbg/bin/cyber/proto/record.pb.h:26,
from ./cyber/tools/cyber_recorder/recoverer.h:26,
from cyber/tools/cyber_recorder/recoverer.cc:17:
external/com_google_protobuf/src/google/protobuf/message_lite.h:420:7: note: declared here
int ByteSize() const { return internal::ToIntSize(ByteSizeLong()); }
^~~~
In file included from ./cyber/tools/cyber_recorder/recoverer.h:27:0,
from cyber/tools/cyber_recorder/recoverer.cc:17:
./cyber/record/file/record_file_reader.h: In instantiation of 'bool apollo::cyber::record::RecordFileReader::ReadSection(int64_t, T) [with T = apollo::cyber::proto::ChunkBody; int64_t = long int]':
cyber/tools/cyber_recorder/recoverer.cc:108:63: required from here
./cyber/record/file/record_file_reader.h:82:27: warning: 'int google::protobuf::MessageLite::ByteSize() const' is deprecated: Please use ByteSizeLong() instead [-Wdeprecated-declarations]
if (message->ByteSize() != size) {
In file included from external/com_google_protobuf/src/google/protobuf/generated_enum_util.h:36:0,
from external/com_google_protobuf/src/google/protobuf/map.h:55,
from external/com_google_protobuf/src/google/protobuf/generated_message_table_driven.h:34,
from bazel-out/k8-dbg/bin/cyber/proto/record.pb.h:26,
from ./cyber/tools/cyber_recorder/recoverer.h:26,
from cyber/tools/cyber_recorder/recoverer.cc:17:
external/com_google_protobuf/src/google/protobuf/message_lite.h:420:7: note: declared here
int ByteSize() const { return internal::ToIntSize(ByteSizeLong()); }
^~~~
In file included from ./cyber/tools/cyber_recorder/recoverer.h:27:0,
from cyber/tools/cyber_recorder/recoverer.cc:17:
./cyber/record/file/record_file_reader.h:84:52: warning: 'int google::protobuf::MessageLite::ByteSize() const' is deprecated: Please use ByteSizeLong() instead [-Wdeprecated-declarations]
<< ", expect: " << size << ", actual: " << message->ByteSize();
In file included from external/com_google_protobuf/src/google/protobuf/generated_enum_util.h:36:0,
from external/com_google_protobuf/src/google/protobuf/map.h:55,
from external/com_google_protobuf/src/google/protobuf/generated_message_table_driven.h:34,
from bazel-out/k8-dbg/bin/cyber/proto/record.pb.h:26,
from ./cyber/tools/cyber_recorder/recoverer.h:26,
from cyber/tools/cyber_recorder/recoverer.cc:17:
external/com_google_protobuf/src/google/protobuf/message_lite.h:420:7: note: declared here
int ByteSize() const { return internal::ToIntSize(ByteSizeLong()); }
^~~~
(07:47:38) INFO: From Compiling modules/common/adapters/proto/adapter_config.pb.cc:
In file included from bazel-out/k8-dbg/bin/modules/common/adapters/proto/adapter_config.pb.cc:4:0:
bazel-out/k8-dbg/bin/modules/common/adapters/proto/adapter_config.pb.h:346:5: warning: 'AdapterConfig_MessageType_DECISION' is deprecated [-Wdeprecated-declarations]
AdapterConfig_MessageType_DECISION;
^~~~~~~~~~
bazel-out/k8-dbg/bin/modules/common/adapters/proto/adapter_config.pb.h:93:3: note: declared here
AdapterConfig_MessageType_DECISION PROTOBUF_DEPRECATED_ENUM = 14,
^~~~~~~~~~
bazel-out/k8-dbg/bin/modules/common/adapters/proto/adapter_config.pb.h:358:5: warning: 'AdapterConfig_MessageType_HMI_COMMAND' is deprecated [-Wdeprecated-declarations]
AdapterConfig_MessageType_HMI_COMMAND;
^~~~~~~~~
bazel-out/k8-dbg/bin/modules/common/adapters/proto/adapter_config.pb.h:99:3: note: declared here
AdapterConfig_MessageType_HMI_COMMAND PROTOBUF_DEPRECATED_ENUM = 20,
^~~~~~~~~
(07:47:43) INFO: From Compiling cyber/node/writer_test.cc:
In file included from ./cyber/transport/dispatcher/intra_dispatcher.h:30:0,
from ./cyber/transport/transport.h:26,
from ./cyber/node/writer.h:28,
from cyber/node/writer_test.cc:17:
./cyber/message/message_traits.h: In instantiation of 'typename std::enable_if<apollo::cyber::message::HasByteSize~~~
(07:47:43) INFO: From Compiling modules/prediction/predictor/empty/empty_predictor.cc:
In file included from ./modules/prediction/container/obstacles/obstacle.h:38:0,
from ./modules/prediction/container/obstacles/obstacles_container.h:30,
from ./modules/prediction/predictor/empty/empty_predictor.h:23,
from modules/prediction/predictor/empty/empty_predictor.cc:17:
bazel-out/k8-dbg/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/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:109:3: note: declared here
ObstacleConf_EvaluatorType_RNN_EVALUATOR PROTOBUF_DEPRECATED_ENUM = 1,
^~~~~~~~~~~~
bazel-out/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:378:5: warning: 'ObstacleConf_PredictorType_REGIONAL_PREDICTOR' is deprecated [-Wdeprecated-declarations]
ObstacleConf_PredictorType_REGIONAL_PREDICTOR;
^~~~~~~~~~~~~
bazel-out/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:142:3: note: declared here
ObstacleConf_PredictorType_REGIONAL_PREDICTOR PROTOBUF_DEPRECATED_ENUM = 2,
^~~~~~~~~~~~~
(07:47:44) INFO: From Compiling modules/prediction/predictor/empty/empty_predictor_test.cc:
In file included from ./modules/prediction/container/obstacles/obstacle.h:38:0,
from ./modules/prediction/container/obstacles/obstacles_container.h:30,
from ./modules/prediction/predictor/empty/empty_predictor.h:23,
from modules/prediction/predictor/empty/empty_predictor_test.cc:17:
bazel-out/k8-dbg/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/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:109:3: note: declared here
ObstacleConf_EvaluatorType_RNN_EVALUATOR PROTOBUF_DEPRECATED_ENUM = 1,
^~~~~~~~~~~~
bazel-out/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:378:5: warning: 'ObstacleConf_PredictorType_REGIONAL_PREDICTOR' is deprecated [-Wdeprecated-declarations]
ObstacleConf_PredictorType_REGIONAL_PREDICTOR;
^~~~~~~~~~~~~
bazel-out/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:142:3: note: declared here
ObstacleConf_PredictorType_REGIONAL_PREDICTOR PROTOBUF_DEPRECATED_ENUM = 2,
^~~~~~~~~~~~~
(07:47:48) INFO: From Compiling modules/prediction/predictor/junction/junction_predictor.cc:
In file included from ./modules/prediction/container/obstacles/obstacle.h:38:0,
from ./modules/prediction/container/obstacles/obstacles_container.h:30,
from ./modules/prediction/predictor/junction/junction_predictor.h:27,
from modules/prediction/predictor/junction/junction_predictor.cc:17:
bazel-out/k8-dbg/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/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:109:3: note: declared here
ObstacleConf_EvaluatorType_RNN_EVALUATOR PROTOBUF_DEPRECATED_ENUM = 1,
^~~~~~~~~~~~
bazel-out/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:378:5: warning: 'ObstacleConf_PredictorType_REGIONAL_PREDICTOR' is deprecated [-Wdeprecated-declarations]
ObstacleConf_PredictorType_REGIONAL_PREDICTOR;
^~~~~~~~~~~~~
bazel-out/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:142:3: note: declared here
ObstacleConf_PredictorType_REGIONAL_PREDICTOR PROTOBUF_DEPRECATED_ENUM = 2,
^~~~~~~~~~~~~
(07:47:49) INFO: From Compiling modules/prediction/predictor/sequence/sequence_predictor.cc:
In file included from ./modules/prediction/container/obstacles/obstacle.h:38:0,
from ./modules/prediction/predictor/predictor.h:27,
from ./modules/prediction/predictor/sequence/sequence_predictor.h:30,
from modules/prediction/predictor/sequence/sequence_predictor.cc:17:
bazel-out/k8-dbg/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/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:109:3: note: declared here
ObstacleConf_EvaluatorType_RNN_EVALUATOR PROTOBUF_DEPRECATED_ENUM = 1,
^~~~~~~~~~~~
bazel-out/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:378:5: warning: 'ObstacleConf_PredictorType_REGIONAL_PREDICTOR' is deprecated [-Wdeprecated-declarations]
ObstacleConf_PredictorType_REGIONAL_PREDICTOR;
^~~~~~~~~~~~~
bazel-out/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:142:3: note: declared here
ObstacleConf_PredictorType_REGIONAL_PREDICTOR PROTOBUF_DEPRECATED_ENUM = 2,
^~~~~~~~~~~~~
In file included from ./modules/prediction/container/container_manager.h:30:0,
from modules/prediction/predictor/sequence/sequence_predictor.cc:24:
bazel-out/k8-dbg/bin/modules/common/adapters/proto/adapter_config.pb.h:346:5: warning: 'AdapterConfig_MessageType_DECISION' is deprecated [-Wdeprecated-declarations]
AdapterConfig_MessageType_DECISION;
^~~~~~~~~~
bazel-out/k8-dbg/bin/modules/common/adapters/proto/adapter_config.pb.h:93:3: note: declared here
AdapterConfig_MessageType_DECISION PROTOBUF_DEPRECATED_ENUM = 14,
^~~~~~~~~~
bazel-out/k8-dbg/bin/modules/common/adapters/proto/adapter_config.pb.h:358:5: warning: 'AdapterConfig_MessageType_HMI_COMMAND' is deprecated [-Wdeprecated-declarations]
AdapterConfig_MessageType_HMI_COMMAND;
^~~~~~~~~
bazel-out/k8-dbg/bin/modules/common/adapters/proto/adapter_config.pb.h:99:3: note: declared here
AdapterConfig_MessageType_HMI_COMMAND PROTOBUF_DEPRECATED_ENUM = 20,
^~~~~~~~~
(07:47:49) INFO: From Compiling modules/prediction/predictor/single_lane/single_lane_predictor.cc:
In file included from ./modules/prediction/container/obstacles/obstacle.h:38:0,
from ./modules/prediction/predictor/predictor.h:27,
from ./modules/prediction/predictor/sequence/sequence_predictor.h:30,
from ./modules/prediction/predictor/single_lane/single_lane_predictor.h:24,
from modules/prediction/predictor/single_lane/single_lane_predictor.cc:17:
bazel-out/k8-dbg/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/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:109:3: note: declared here
ObstacleConf_EvaluatorType_RNN_EVALUATOR PROTOBUF_DEPRECATED_ENUM = 1,
^~~~~~~~~~~~
bazel-out/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:378:5: warning: 'ObstacleConf_PredictorType_REGIONAL_PREDICTOR' is deprecated [-Wdeprecated-declarations]
ObstacleConf_PredictorType_REGIONAL_PREDICTOR;
^~~~~~~~~~~~~
bazel-out/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:142:3: note: declared here
ObstacleConf_PredictorType_REGIONAL_PREDICTOR PROTOBUF_DEPRECATED_ENUM = 2,
^~~~~~~~~~~~~
(07:47:50) INFO: From Compiling modules/prediction/predictor/single_lane/single_lane_predictor_test.cc:
In file included from ./modules/prediction/container/obstacles/obstacle.h:38:0,
from ./modules/prediction/predictor/predictor.h:27,
from ./modules/prediction/predictor/sequence/sequence_predictor.h:30,
from ./modules/prediction/predictor/single_lane/single_lane_predictor.h:24,
from modules/prediction/predictor/single_lane/single_lane_predictor_test.cc:17:
bazel-out/k8-dbg/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/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:109:3: note: declared here
ObstacleConf_EvaluatorType_RNN_EVALUATOR PROTOBUF_DEPRECATED_ENUM = 1,
^~~~~~~~~~~~
bazel-out/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:378:5: warning: 'ObstacleConf_PredictorType_REGIONAL_PREDICTOR' is deprecated [-Wdeprecated-declarations]
ObstacleConf_PredictorType_REGIONAL_PREDICTOR;
^~~~~~~~~~~~~
bazel-out/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:142:3: note: declared here
ObstacleConf_PredictorType_REGIONAL_PREDICTOR PROTOBUF_DEPRECATED_ENUM = 2,
^~~~~~~~~~~~~
(07:48:01) INFO: From Compiling modules/prediction/evaluator/pedestrian/pedestrian_interaction_evaluator.cc:
In file included from ./modules/prediction/container/obstacles/obstacle.h:38:0,
from ./modules/prediction/evaluator/evaluator.h:28,
from ./modules/prediction/evaluator/pedestrian/pedestrian_interaction_evaluator.h:31,
from modules/prediction/evaluator/pedestrian/pedestrian_interaction_evaluator.cc:17:
bazel-out/k8-dbg/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/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:109:3: note: declared here
ObstacleConf_EvaluatorType_RNN_EVALUATOR PROTOBUF_DEPRECATED_ENUM = 1,
^~~~~~~~~~~~
bazel-out/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:378:5: warning: 'ObstacleConf_PredictorType_REGIONAL_PREDICTOR' is deprecated [-Wdeprecated-declarations]
ObstacleConf_PredictorType_REGIONAL_PREDICTOR;
^~~~~~~~~~~~~
bazel-out/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:142:3: note: declared here
ObstacleConf_PredictorType_REGIONAL_PREDICTOR PROTOBUF_DEPRECATED_ENUM = 2,
^~~~~~~~~~~~~
In file included from ./modules/prediction/container/container_manager.h:30:0,
from modules/prediction/evaluator/pedestrian/pedestrian_interaction_evaluator.cc:26:
bazel-out/k8-dbg/bin/modules/common/adapters/proto/adapter_config.pb.h:346:5: warning: 'AdapterConfig_MessageType_DECISION' is deprecated [-Wdeprecated-declarations]
AdapterConfig_MessageType_DECISION;
^~~~~~~~~~
bazel-out/k8-dbg/bin/modules/common/adapters/proto/adapter_config.pb.h:93:3: note: declared here
AdapterConfig_MessageType_DECISION PROTOBUF_DEPRECATED_ENUM = 14,
^~~~~~~~~~
bazel-out/k8-dbg/bin/modules/common/adapters/proto/adapter_config.pb.h:358:5: warning: 'AdapterConfig_MessageType_HMI_COMMAND' is deprecated [-Wdeprecated-declarations]
AdapterConfig_MessageType_HMI_COMMAND;
^~~~~~~~~
bazel-out/k8-dbg/bin/modules/common/adapters/proto/adapter_config.pb.h:99:3: note: declared here
AdapterConfig_MessageType_HMI_COMMAND PROTOBUF_DEPRECATED_ENUM = 20,
^~~~~~~~~
(07:48:01) INFO: From Compiling modules/prediction/evaluator/pedestrian/pedestrian_interaction_evaluator_test.cc:
In file included from ./modules/prediction/container/obstacles/obstacle.h:38:0,
from ./modules/prediction/evaluator/evaluator.h:28,
from ./modules/prediction/evaluator/pedestrian/pedestrian_interaction_evaluator.h:31,
from modules/prediction/evaluator/pedestrian/pedestrian_interaction_evaluator_test.cc:17:
bazel-out/k8-dbg/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/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:109:3: note: declared here
ObstacleConf_EvaluatorType_RNN_EVALUATOR PROTOBUF_DEPRECATED_ENUM = 1,
^~~~~~~~~~~~
bazel-out/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:378:5: warning: 'ObstacleConf_PredictorType_REGIONAL_PREDICTOR' is deprecated [-Wdeprecated-declarations]
ObstacleConf_PredictorType_REGIONAL_PREDICTOR;
^~~~~~~~~~~~~
bazel-out/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:142:3: note: declared here
ObstacleConf_PredictorType_REGIONAL_PREDICTOR PROTOBUF_DEPRECATED_ENUM = 2,
^~~~~~~~~~~~~
(07:48:06) INFO: From Compiling modules/prediction/evaluator/vehicle/junction_mlp_evaluator.cc:
In file included from ./modules/prediction/container/obstacles/obstacle.h:38:0,
from ./modules/prediction/container/obstacles/obstacles_container.h:30,
from ./modules/prediction/evaluator/vehicle/junction_mlp_evaluator.h:25,
from modules/prediction/evaluator/vehicle/junction_mlp_evaluator.cc:17:
bazel-out/k8-dbg/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/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:109:3: note: declared here
ObstacleConf_EvaluatorType_RNN_EVALUATOR PROTOBUF_DEPRECATED_ENUM = 1,
^~~~~~~~~~~~
bazel-out/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:378:5: warning: 'ObstacleConf_PredictorType_REGIONAL_PREDICTOR' is deprecated [-Wdeprecated-declarations]
ObstacleConf_PredictorType_REGIONAL_PREDICTOR;
^~~~~~~~~~~~~
bazel-out/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:142:3: note: declared here
ObstacleConf_PredictorType_REGIONAL_PREDICTOR PROTOBUF_DEPRECATED_ENUM = 2,
^~~~~~~~~~~~~
In file included from modules/prediction/evaluator/vehicle/junction_mlp_evaluator.cc:26:0:
bazel-out/k8-dbg/bin/modules/common/adapters/proto/adapter_config.pb.h:346:5: warning: 'AdapterConfig_MessageType_DECISION' is deprecated [-Wdeprecated-declarations]
AdapterConfig_MessageType_DECISION;
^~~~~~~~~~
bazel-out/k8-dbg/bin/modules/common/adapters/proto/adapter_config.pb.h:93:3: note: declared here
AdapterConfig_MessageType_DECISION PROTOBUF_DEPRECATED_ENUM = 14,
^~~~~~~~~~
bazel-out/k8-dbg/bin/modules/common/adapters/proto/adapter_config.pb.h:358:5: warning: 'AdapterConfig_MessageType_HMI_COMMAND' is deprecated [-Wdeprecated-declarations]
AdapterConfig_MessageType_HMI_COMMAND;
^~~~~~~~~
bazel-out/k8-dbg/bin/modules/common/adapters/proto/adapter_config.pb.h:99:3: note: declared here
AdapterConfig_MessageType_HMI_COMMAND PROTOBUF_DEPRECATED_ENUM = 20,
^~~~~~~~~
modules/prediction/evaluator/vehicle/junction_mlp_evaluator.cc:45:8: warning: 'double apollo::prediction::{anonymous}::ComputeMean(const std::vector~~
(07:48:07) INFO: From Compiling modules/prediction/predictor/junction/junction_predictor_test.cc:
In file included from ./modules/prediction/container/obstacles/obstacle.h:38:0,
from ./modules/prediction/container/obstacles/obstacles_container.h:30,
from ./modules/prediction/predictor/junction/junction_predictor.h:27,
from modules/prediction/predictor/junction/junction_predictor_test.cc:17:
bazel-out/k8-dbg/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/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:109:3: note: declared here
ObstacleConf_EvaluatorType_RNN_EVALUATOR PROTOBUF_DEPRECATED_ENUM = 1,
^~~~~~~~~~~~
bazel-out/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:378:5: warning: 'ObstacleConf_PredictorType_REGIONAL_PREDICTOR' is deprecated [-Wdeprecated-declarations]
ObstacleConf_PredictorType_REGIONAL_PREDICTOR;
^~~~~~~~~~~~~
bazel-out/k8-dbg/bin/modules/prediction/proto/prediction_conf.pb.h:142:3: note: declared here
ObstacleConf_PredictorType_REGIONAL_PREDICTOR PROTOBUF_DEPRECATED_ENUM = 2,
^~~~~~~~~~~~~
(07:48:10) INFO: From Compiling modules/planning/scenarios/scenario_manager.cc:
modules/planning/scenarios/scenario_manager.cc: In member function 'void apollo::planning::scenario::ScenarioManager::UpdatePlanningContextEmergencyStopcenario(const apollo::planning::Frame&, const ScenarioType&)':
modules/planning/scenarios/scenario_manager.cc:987:22: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
if (!scenario_type == ScenarioConfig::EMERGENCY_STOP) {
^~
modules/planning/scenarios/scenario_manager.cc:987:7: note: add parentheses around left hand side expression to silence this warning
if (!scenario_type == ScenarioConfig::EMERGENCY_STOP) {
^~~~~~
( )
modules/planning/scenarios/scenario_manager.cc:987:22: warning: comparison of constant '12' with boolean expression is always false [-Wbool-compare]
if (!scenario_type == ScenarioConfig::EMERGENCY_STOP) {
(07:48:42) ERROR: /apollo/modules/perception/lidar/lib/detection/lidar_point_pillars/BUILD:84:13: error while parsing .d file: /apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/execroot/apollo/bazel-out/k8-dbg/bin/modules/perception/lidar/lib/detection/lidar_point_pillars/_objs/nms_cuda/nms_cuda.pic.d (No such file or directory)
gcc: warning: modules/perception/lidar/lib/detection/lidar_point_pillars/nms_cuda.cu: linker input file unused because linking not done
(07:48:42) INFO: Elapsed time: 72.320s, Critical Path: 26.13s
(07:48:42) INFO: 292 processes: 292 local.
(07:48:42) FAILED: Build did NOT complete successfully
i@dt:~$ export -p |grep cuda declare -x CUDA_HOME=":/usr/local/cuda-10.0" declare -x LD_LIBRARY_PATH="/home/i/mhl/cartographer_ws/devel_isolated/cartographer_rviz/lib:/home/i/mhl/cartographer_ws/install_isolated/lib:/home/i/lxx/lxxlxx_ws/devel/lib:/home/i/mhl/darknet_ws/devel/lib:/opt/ros/melodic/lib:/usr/local/cuda-10.0/lib64" declare -x PATH="/home/i/mhl/cartographer_ws/install_isolated/bin:/opt/ros/melodic/bin:/home/i/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/cuda-10.0/bin"
i@dt:~$ export -p |grep cuda declare -x CUDA_HOME=":/usr/local/cuda-10.0" declare -x LD_LIBRARY_PATH="/home/i/mhl/cartographer_ws/devel_isolated/cartographer_rviz/lib:/home/i/mhl/cartographer_ws/install_isolated/lib:/home/i/lxx/lxxlxx_ws/devel/lib:/home/i/mhl/darknet_ws/devel/lib:/opt/ros/melodic/lib:/usr/local/cuda-10.0/lib64" declare -x PATH="/home/i/mhl/cartographer_ws/install_isolated/bin:/opt/ros/melodic/bin:/home/i/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/cuda-10.0/bin"
As described in https://github.com/ApolloAuto/apollo#getting-started , the master
branch now requires CUDA toolkit 10.2
to run. So please update CUDA toolkit to version 10.2+
with NVIDIA driver 440.33+
on your host first.
The problem has been solved, thank you very much!
I met this save issue, but I'm pretty sure the UCDA toolkit and NVIDIA driver are up-to-date. Is there anything I missed?
(03:49:40) ERROR: /apollo/modules/map/pnc_map/BUILD:7:13: error while parsing .d file: /apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/execroot/apollo/bazel-out/k8-fastbuild/bin/modules/map/pnc_map/_objs/cuda_pnc_util/cuda_util.pic.d (No such file or directory) gcc: warning: modules/map/pnc_map/cuda_util.cu: linker input file unused because linking not done (03:49:40) INFO: Elapsed time: 109.945s, Critical Path: 28.00s (03:49:40) INFO: 278 processes: 278 local. (03:49:40) FAILED: Build did NOT complete successfully [jay@in-dev-docker:/apollo]$ export -p |grep cuda declare -x LIBRARY_PATH="/usr/local/cuda/lib64/stubs" declare -x NVIDIA_REQUIRE_CUDA="cuda>=10.2 brand=tesla,driver>=396,driver<397 brand=tesla,driver>=410,driver<411 brand=tesla,driver>=418,driver<419 brand=tesla,driver>=440,driver<441" declare -x PATH="/opt/apollo/sysroot/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/apollo/scripts:/opt/apollo/pkgs/llvm.clang/bin:/usr/local/qt5/bin"
The problem has been solved, thank you very much! I ran into a similar problem. Can you tell me what caused it and how did you solve it? 方便透露一下是什么原因导致的,并且你是如何解决的吗
The same computer apollo5.0 can compile successfully, but apollo5.5 compile fails. ubuntu18.04, NVIDIA driver, Nvidia-container-toolkit, libgomp1 have been installed.