yuzhangbit / apollo_standalone

cmake version of apollo5.0
Apache License 2.0
67 stars 39 forks source link

make error #7

Closed Aidous closed 5 years ago

Aidous commented 5 years ago

Describe apollo_standalone/src/apollo/modules/common/vehicle_state/proto/vehicle_state.pb.h:32:45: fatal error: modules/canbus/proto/chassis.pb.h: No such file or directory Discuss Is it necessary to change "add_subdirectory(modules/canbus)" above "add_subdirectory(modules/common)" in project(apollo)'s CMakeLists.txt to generate chassis.pb.h first? ori: _addsubdirectory(modules/common) add_subdirectory(modules/localization) _addsubdirectory(modules/canbus) changed: _addsubdirectory(modules/canbus) _addsubdirectory(modules/common) add_subdirectory(modules/localization)

Describe apollo_standalone/src/apollo/modules/map/pnc_map/route_segments.h:31:46: fatal error: modules/routing/proto/routing.pb.h: No such file or directory the same as above: _addsubdirectory(modules/routing) _addsubdirectory(modules/map)

yuzhangbit commented 5 years ago

@Aidous The order of targets does not matter as long as you declare the dependencies using target_link_libraries. Your protobuf cmake module may not work properly. Please use the install scripts to install all the needed dependencies. The protobuf cmake module script is customized for apollo. The one comes with the system or cmake doesn't work with this repo. Please see https://cmake.org/pipermail/cmake/2016-December/064690.html and CI test results.

Aidous commented 5 years ago

@yuzhangbit I clone the whole repo, so the cmake module that used may not in other dictionaries. And I installed the protobuf again used by this repo scripts. Then i compiled the repo but not change the cmakelist, i totally compiled three times then make succeed. I didn't change anything in this three times compiling, but get the different results. So weird... First: apollo_standalone/src/apollo/modules/routing/proto/routing.pb.h:36:52: fatal error: modules/map/proto/map_parking_space.pb.h: No such file or directory ... apollo_standalone/src/apollo/modules/routing/proto/routing.pb.h:36:52: fatal error: modules/map/proto/map_parking_space.pb.h: No such file or directory compilation terminated.

Second: apollo_standalone/src/apollo/modules/common/vehicle_state/proto/vehicle_state.pb.h:32:45: fatal error: modules/canbus/proto/chassis.pb.h: No such file or directory compilation terminated. ...

Third: Succeed.

yuzhangbit commented 5 years ago

@Aidous Seems still related to the protobuf. Posting the complete terminal outputs here may help.

Aidous commented 5 years ago

@yuzhangbit When i used protobuf in other project, it will generate proto.h/cc in the process of cmake .., but in this repo, the proto.h/cc are generated in make process. I think it may raise above error. cmake:: aidous@aidous-ThinkPad-Edge-E540:~/apollo_ws/apollo_standalone/src/apollo/build$ cmake .. -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PythonInterp: /usr/local/bin/python (found version "2.7.12") -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") -- Checking for module 'protobuf>=3.3.0' -- Found protobuf, version 3.3.0 -- Found PROTOBUF: /usr/local/lib/libprotobuf.so;/usr/local/lib/libprotoc.so;/usr/local/lib/libprotobuf-lite.so
-- Found Protobuf Version: 3.3.0 installed in/usr/local -- Found Protobuf Compiler: /usr/local/bin/protoc -- Found gflags:/usr/local/lib/libgflags.a -- Found qpOASES installed in: /usr/local -- Found qpOASES: /usr/local/lib/libqpOASES.so
-- Found osqp:/usr/local/lib/libosqp.so -- Found Glog: /usr/local/include
-- Found glog (include: /usr/local/include, library: /usr/local/lib/libglog.so) -- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "7.47.0") -- Found curlpp: /usr/lib/x86_64-linux-gnu/libcurl.so;/usr/lib/x86_64-linux-gnu/libcurlpp.so
-- Found tinyxml2:/usr/local/lib/libtinyxml2.so -- Reading /usr/local/share/cmake/PROJ4/proj4-config.cmake -- PROJ4 configuration, version 4.9.3 -- Checking for module 'ipopt>=3.12.4' -- Found ipopt, version 3.12.4 -- Found IPOPT: ipopt;lapack;blas;m;dl;coinmumps;blas;gfortran;m;quadmath;coinmetis
-- Found IPOPT version: 3.12.4 installed in: /usr/local -- Found adolc:/usr/local/lib64/libadolc.so -- Try OpenMP C flag = [-fopenmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Success -- Try OpenMP CXX flag = [-fopenmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Success -- Found OpenMP: -fopenmp
-- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/choreography_conf.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/choreography_conf.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/classic_conf.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/classic_conf.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/component_conf.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/component_conf.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/cyber_conf.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/cyber_conf.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/dag_conf.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/dag_conf.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/parameter.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/parameter.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/perception.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/perception.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/proto_desc.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/proto_desc.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/qos_profile.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/qos_profile.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/record.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/record.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/role_attributes.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/role_attributes.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/run_mode_conf.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/run_mode_conf.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/scheduler_conf.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/scheduler_conf.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/topology_change.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/topology_change.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/transport_conf.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/transport_conf.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/unit_test.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/unit_test.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/util/testdata -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/util/testdata/simple.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/util/testdata/simple.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/proto/geometry.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/proto/geometry.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/proto/pnc_point.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/proto/pnc_point.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/proto/drive_state.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/proto/drive_state.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/proto/error_code.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/proto/error_code.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/proto/header.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/proto/header.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/proto/vehicle_signal.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/proto/vehicle_signal.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/configs/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/configs/proto/vehicle_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/configs/proto/vehicle_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/vehicle_state/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/vehicle_state/proto/vehicle_state.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/vehicle_state/proto/vehicle_state.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/vehicle_model/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/vehicle_model/proto/vehicle_model_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/vehicle_model/proto/vehicle_model_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/localization/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/localization/proto/pose.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/localization/proto/pose.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/localization/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/localization/proto/localization_status.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/localization/proto/localization_status.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/localization/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/localization/proto/localization.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/localization/proto/localization.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/canbus/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/canbus/proto/chassis.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/canbus/proto/chassis.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_clear_area.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_clear_area.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_crosswalk.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_crosswalk.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_geometry.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_geometry.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_id.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_id.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_junction.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_junction.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_lane.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_lane.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_overlap.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_overlap.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_parking_space.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_parking_space.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_pnc_junction.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_pnc_junction.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_road.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_road.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_signal.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_signal.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_speed_bump.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_speed_bump.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_speed_control.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_speed_control.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_stop_sign.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_stop_sign.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_yield_sign.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_yield_sign.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/relative_map/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/relative_map/proto/navigation.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/relative_map/proto/navigation.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/relative_map/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/relative_map/proto/relative_map_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/relative_map/proto/relative_map_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/relative_map/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/relative_map/proto/navigator_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/relative_map/proto/navigator_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/perception/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/perception/proto/motion_service.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/perception/proto/motion_service.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/perception/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/perception/proto/perception_camera.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/perception/proto/perception_camera.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/perception/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/perception/proto/perception_lane.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/perception/proto/perception_lane.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/perception/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/perception/proto/perception_obstacle.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/perception/proto/perception_obstacle.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/perception/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/perception/proto/traffic_light_detection.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/perception/proto/traffic_light_detection.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/prediction/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/prediction/proto/prediction_obstacle.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/prediction/proto/prediction_obstacle.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/prediction/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/prediction/proto/feature.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/prediction/proto/feature.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/prediction/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/prediction/proto/scenario.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/prediction/proto/scenario.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/prediction/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/prediction/proto/lane_graph.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/prediction/proto/lane_graph.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/prediction/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/prediction/proto/prediction_point.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/prediction/proto/prediction_point.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/routing/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/routing/proto/poi.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/routing/proto/poi.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/routing/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/routing/proto/routing.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/routing/proto/routing.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/routing/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/routing/proto/routing_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/routing/proto/routing_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/routing/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/routing/proto/topo_graph.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/routing/proto/topo_graph.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/cos_theta_smoother_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/cos_theta_smoother_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/decider_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/decider_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/decision.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/decision.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/dp_st_speed_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/dp_st_speed_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/fem_pos_deviation_smoother_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/fem_pos_deviation_smoother_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/lane_change_decider_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/lane_change_decider_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/lattice_sampling_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/lattice_sampling_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/lattice_structure.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/lattice_structure.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/navi_obstacle_decider_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/navi_obstacle_decider_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/navi_path_decider_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/navi_path_decider_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/navi_speed_decider_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/navi_speed_decider_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/open_space_fallback_decider_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/open_space_fallback_decider_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/open_space_pre_stop_decider_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/open_space_pre_stop_decider_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/open_space_roi_decider_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/open_space_roi_decider_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/open_space_trajectory_partition_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/open_space_trajectory_partition_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/open_space_trajectory_provider_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/open_space_trajectory_provider_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/pad_msg.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/pad_msg.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/path_assessment_decider_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/path_assessment_decider_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/path_bounds_decider_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/path_bounds_decider_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/path_decider_info.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/path_decider_info.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/path_lane_borrow_decider_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/path_lane_borrow_decider_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/piecewise_jerk_path_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/piecewise_jerk_path_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/piecewise_jerk_speed_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/piecewise_jerk_speed_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/planner_open_space_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/planner_open_space_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/planning_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/planning_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/planning_internal.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/planning_internal.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/planning_stats.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/planning_stats.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/planning_status.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/planning_status.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/planning.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/planning.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/proceed_with_caution_speed_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/proceed_with_caution_speed_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/qp_problem.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/qp_problem.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/reference_line_smoother_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/reference_line_smoother_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/rule_based_stop_decider_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/rule_based_stop_decider_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/sl_boundary.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/sl_boundary.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/speed_bounds_decider_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/speed_bounds_decider_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/spiral_curve_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/spiral_curve_config.pb.h -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/traffic_rule_config.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/planning/proto/traffic_rule_config.pb.h -- Found osqp:/usr/local/lib/libosqp.so -- Boost version: 1.60.0 -- Found the following Boost libraries: -- thread -- chrono -- system -- date_time -- atomic -- GENERATED_DIR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/dreamview/proto -- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/dreamview/proto/chart.pb.cc -- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/dreamview/proto/chart.pb.h -- Configuring done -- Generating done -- Build files have been written to: /home/aidous/apollo_ws/apollo_standalone/src/apollo/build

make: aidous@aidous-ThinkPad-Edge-E540:~/apollo_ws/apollo_standalone/src/apollo/build$ make -j$(nproc) Scanning dependencies of target cyber_binary [ 0%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/unit_test.proto Scanning dependencies of target cyber_base Scanning dependencies of target gtest [ 0%] Linking CXX static library libcyber_binary.a [ 0%] Linking CXX static library libcyber_base.a [ 0%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/choreography_conf.proto [ 0%] Building CXX object deps/googletest/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o [ 0%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/classic_conf.proto [ 0%] Built target cyber_base [ 0%] Built target cyber_binary Scanning dependencies of target cyber_util [ 0%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/component_conf.proto [ 0%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/cyber_conf.proto [ 0%] Linking CXX static library libcyber_util.a [ 0%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/dag_conf.proto [ 1%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/parameter.proto [ 1%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/perception.proto Scanning dependencies of target cyber_macros [ 1%] Built target cyber_util [ 1%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/proto_desc.proto [ 1%] Linking CXX static library libcyber_macros.a [ 1%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/qos_profile.proto [ 1%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/record.proto Scanning dependencies of target cyber_types [ 1%] Built target cyber_macros [ 1%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/role_attributes.proto [ 2%] Linking CXX static library libcyber_types.a Scanning dependencies of target cyber_time_conversion [ 2%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/run_mode_conf.proto [ 2%] Linking CXX static library libcyber_time_conversion.a [ 3%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/scheduler_conf.proto [ 3%] Built target cyber_types Scanning dependencies of target common_map_util [ 3%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/topology_change.proto [ 3%] Built target cyber_time_conversion [ 4%] Linking CXX static library libcommon_map_util.a [ 4%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/cyber/proto/transport_conf.proto Scanning dependencies of target common_color [ 4%] Linking CXX static library libcommon_color.a [ 4%] Built target common_map_util [ 4%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/proto/vehicle_signal.proto [ 4%] Built target common_color [ 4%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/proto/geometry.proto [ 4%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/proto/pnc_point.proto [ 4%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/proto/drive_state.proto [ 4%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/proto/error_code.proto [ 4%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/proto/header.proto Scanning dependencies of target common_string_util Scanning dependencies of target cyber_proto Scanning dependencies of target common_proto [ 5%] Building CXX object modules/common/util/CMakeFiles/common_string_util.dir/string_util.cc.o [ 6%] Building CXX object modules/common/proto/CMakeFiles/common_proto.dir/geometry.pb.cc.o [ 6%] Building CXX object cyber/proto/CMakeFiles/cyber_proto.dir/choreography_conf.pb.cc.o [ 6%] Building CXX object cyber/proto/CMakeFiles/cyber_proto.dir/classic_conf.pb.cc.o [ 6%] Building CXX object modules/common/proto/CMakeFiles/common_proto.dir/pnc_point.pb.cc.o [ 6%] Linking CXX static library libcommon_string_util.a [ 6%] Built target common_string_util Scanning dependencies of target 3rdparty_json [ 6%] Linking CXX static library lib3rdparty_json.a [ 6%] Built target 3rdparty_json [ 6%] Building CXX object cyber/proto/CMakeFiles/cyber_proto.dir/component_conf.pb.cc.o [ 7%] Building CXX object cyber/proto/CMakeFiles/cyber_proto.dir/cyber_conf.pb.cc.o [ 7%] Building CXX object modules/common/proto/CMakeFiles/common_proto.dir/drive_state.pb.cc.o [ 7%] Building CXX object cyber/proto/CMakeFiles/cyber_proto.dir/dag_conf.pb.cc.o [ 7%] Linking CXX static library ../../../lib/libgtest.a [ 7%] Building CXX object cyber/proto/CMakeFiles/cyber_proto.dir/parameter.pb.cc.o [ 7%] Built target gtest Scanning dependencies of target common_string_tokenizer [ 7%] Building CXX object modules/common/util/CMakeFiles/common_string_tokenizer.dir/string_tokenizer.cc.o [ 7%] Linking CXX static library libcommon_string_tokenizer.a [ 7%] Built target common_string_tokenizer Scanning dependencies of target common_lru_cache [ 7%] Linking CXX static library libcommon_lru_cache.a [ 7%] Built target common_lru_cache Scanning dependencies of target common_config_gflags [ 7%] Building CXX object modules/common/configs/CMakeFiles/common_config_gflags.dir/config_gflags.cc.o [ 8%] Linking CXX static library libcommon_config_gflags.a [ 8%] Built target common_config_gflags Scanning dependencies of target common_disjoint_set [ 8%] Linking CXX static library libcommon_disjoint_set.a [ 8%] Building CXX object modules/common/proto/CMakeFiles/common_proto.dir/error_code.pb.cc.o [ 8%] Built target common_disjoint_set Scanning dependencies of target common_qp_solver [ 9%] Building CXX object modules/common/math/qp_solver/CMakeFiles/common_qp_solver.dir/qp_solver.cc.o [ 9%] Building CXX object cyber/proto/CMakeFiles/cyber_proto.dir/perception.pb.cc.o [ 9%] Building CXX object cyber/proto/CMakeFiles/cyber_proto.dir/proto_desc.pb.cc.o [ 9%] Linking CXX static library libcommon_qp_solver.a [ 9%] Built target common_qp_solver Scanning dependencies of target common_qp_solver_gflags [ 9%] Building CXX object modules/common/math/qp_solver/CMakeFiles/common_qp_solver_gflags.dir/qp_solver_gflags.cc.o [ 9%] Building CXX object modules/common/proto/CMakeFiles/common_proto.dir/header.pb.cc.o [ 9%] Linking CXX static library libcommon_qp_solver_gflags.a [ 9%] Built target common_qp_solver_gflags Scanning dependencies of target common_sin_table [ 10%] Building CXX object modules/common/math/CMakeFiles/common_sin_table.dir/sin_table.cc.o [ 10%] Building CXX object modules/common/proto/CMakeFiles/common_proto.dir/vehicle_signal.pb.cc.o [ 10%] Linking CXX static library libcommon_sin_table.a [ 10%] Built target common_sin_table Scanning dependencies of target common_factorial [ 10%] Linking CXX static library libcommon_factorial.a [ 10%] Built target common_factorial Scanning dependencies of target common_search [ 10%] Building CXX object modules/common/math/CMakeFiles/common_search.dir/search.cc.o [ 10%] Linking CXX static library libcommon_search.a [ 10%] Built target common_search Scanning dependencies of target adapter_gflags [ 10%] Building CXX object modules/common/adapters/CMakeFiles/adapter_gflags.dir/adapter_gflags.cc.o [ 10%] Building CXX object cyber/proto/CMakeFiles/cyber_proto.dir/qos_profile.pb.cc.o [ 10%] Linking CXX static library libadapter_gflags.a [ 10%] Built target adapter_gflags Scanning dependencies of target localization_localization_common [ 10%] Building CXX object modules/localization/common/CMakeFiles/localization_localization_common.dir/localization_gflags.cc.o [ 10%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/common/vehicle_model/proto/vehicle_model_config.proto [ 10%] Linking CXX static library liblocalization_localization_common.a Scanning dependencies of target common_vehicle_model_config_proto [ 10%] Built target localization_localization_common [ 10%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/perception/proto/traffic_light_detection.proto [ 10%] Building CXX object modules/common/vehicle_model/proto/CMakeFiles/common_vehicle_model_config_proto.dir/vehicle_model_config.pb.cc.o [ 10%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/perception/proto/motion_service.proto [ 11%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/perception/proto/perception_camera.proto [ 11%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/perception/proto/perception_lane.proto [ 11%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/perception/proto/perception_obstacle.proto [ 11%] Linking CXX static library libcommon_proto.a [ 11%] Built target common_proto Scanning dependencies of target perception_proto Scanning dependencies of target routing_routing_gflags [ 11%] Building CXX object modules/routing/common/CMakeFiles/routing_routing_gflags.dir/routing_gflags.cc.o [ 11%] Building CXX object modules/perception/proto/CMakeFiles/perception_proto.dir/motion_service.pb.cc.o [ 11%] Linking CXX static library librouting_routing_gflags.a [ 11%] Built target routing_routing_gflags Scanning dependencies of target planning_gflags [ 11%] Building CXX object modules/planning/common/CMakeFiles/planning_gflags.dir/planning_gflags.cc.o [ 11%] Linking CXX static library libplanning_gflags.a [ 11%] Built target planning_gflags [ 11%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/routing/proto/topo_graph.proto [ 11%] Building CXX object cyber/proto/CMakeFiles/cyber_proto.dir/record.pb.cc.o [ 11%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/routing/proto/poi.proto [ 11%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/routing/proto/routing.proto [ 11%] Running C++ protocol buffer compiler on /home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/routing/proto/routing_config.proto Scanning dependencies of target routing_proto [ 11%] Building CXX object modules/routing/proto/CMakeFiles/routing_proto.dir/poi.pb.cc.o In file included from /home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/routing/proto/poi.pb.h:32:0, from /home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/routing/proto/poi.pb.cc:5: /home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/routing/proto/routing.pb.h:36:52: fatal error: modules/map/proto/map_parking_space.pb.h: No such file or directory compilation terminated. modules/routing/proto/CMakeFiles/routing_proto.dir/build.make:94: recipe for target 'modules/routing/proto/CMakeFiles/routing_proto.dir/poi.pb.cc.o' failed make[2]: [modules/routing/proto/CMakeFiles/routing_proto.dir/poi.pb.cc.o] Error 1 CMakeFiles/Makefile2:6945: recipe for target 'modules/routing/proto/CMakeFiles/routing_proto.dir/all' failed make[1]: [modules/routing/proto/CMakeFiles/routing_proto.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... [ 12%] Building CXX object cyber/proto/CMakeFiles/cyber_proto.dir/role_attributes.pb.cc.o [ 13%] Linking CXX static library libcommon_vehicle_model_config_proto.a [ 13%] Built target common_vehicle_model_config_proto [ 13%] Building CXX object cyber/proto/CMakeFiles/cyber_proto.dir/run_mode_conf.pb.cc.o [ 13%] Building CXX object modules/perception/proto/CMakeFiles/perception_proto.dir/perception_camera.pb.cc.o In file included from /home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/perception/proto/perception_camera.pb.h:35:0, from /home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/perception/proto/perception_camera.pb.cc:5: /home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/perception/proto/perception_obstacle.pb.h:36:43: fatal error: modules/map/proto/map_lane.pb.h: No such file or directory compilation terminated. modules/perception/proto/CMakeFiles/perception_proto.dir/build.make:126: recipe for target 'modules/perception/proto/CMakeFiles/perception_proto.dir/perception_camera.pb.cc.o' failed make[2]: [modules/perception/proto/CMakeFiles/perception_proto.dir/perception_camera.pb.cc.o] Error 1 CMakeFiles/Makefile2:6794: recipe for target 'modules/perception/proto/CMakeFiles/perception_proto.dir/all' failed make[1]: [modules/perception/proto/CMakeFiles/perception_proto.dir/all] Error 2 [ 13%] Building CXX object cyber/proto/CMakeFiles/cyber_proto.dir/scheduler_conf.pb.cc.o [ 13%] Building CXX object cyber/proto/CMakeFiles/cyber_proto.dir/topology_change.pb.cc.o [ 13%] Building CXX object cyber/proto/CMakeFiles/cyber_proto.dir/transport_conf.pb.cc.o [ 13%] Building CXX object cyber/proto/CMakeFiles/cyber_proto.dir/unit_test.pb.cc.o [ 13%] Linking CXX static library libcyber_proto.a [ 13%] Built target cyber_proto Makefile:127: recipe for target 'all' failed make: [all] Error 2

yuzhangbit commented 5 years ago

@Aidous The standard FindProtoBuf.cmake comes with cmake will generate the proto*.cc/h in compiling time as well. All the generated files are marked as sources files of libraries in cmake configuration time to prevent building errors you mentioned above by the command SET_SOURCE_FILES_PROPERTIES.

The customized protobuf cmake module in port_apollo uses command execute_process to generate protobuf source and header files in cmake configuration stage. But this causes another problem. Every build of the project needs to start from scratch that takes a long time to build. You can't reuse the generated targets to reduce the compiling time. Obviously it is not efficient for big cmake projects.

You can try to debug the FindPROTOBUF.cmake with the message command of cmake to find the problem.

ytiang commented 5 years ago

I find this in your result of cmake ..

-- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_parking_space.pb.cc
-- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_parking_space.pb.h
-- GENERATED_SRC:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_lane.pb.cc
-- GENERATED_HDR:/home/aidous/apollo_ws/apollo_standalone/src/apollo/modules/map/proto/map_lane.pb.h

related source files should have been generated after your cmake .. process

yuzhangbit commented 5 years ago

@ytiang These are messages I printed in the cmake module file. The source and header files are still not generated in cmake configuration stage.

yuzhangbit commented 5 years ago

@Aidous @ytiang The above compiling errors are caused by missing dependencies in target_link_libraries. Please see the fix : https://github.com/yuzhangbit/apollo_standalone/commit/a5a47e887867b1377d124865fa866ea129d08982