他的回复:
您好,解决了;DDk_DIR这个变量初始化的时候最后多了一个空格,所以下边进行local_src_file初始化的时候出现了问题;DDK_DIR :=/home/chenzhifa/.mindstudio/huawei/ddk/1.32.0.B080/ddk DDK_DIR_2 :=/home/chenzhifa/.mindstudio/huawei/ddk/1.32.0.B080/RC/host-aarch64_Ubuntu16.04.5 LOCAL_MODULE_NAME := libssd.so #CC_FLAGS := -rdynamic -std=c++14 -O3 CC_FLAGS := -fpic -shared -rdynamic -std=c++14 local_src_files := \ $(LOCAL_DIR)/ssd.cpp \ local_inc_dirs := \ $(DDK_DIR)/include/inc \ $(DDK_DIR)/include/inc/dvpp \ $(DDK_DIR)/include/libc_sec/include \ $(DDK_DIR)/include/third_party/protobuf/include \ $(DDK_DIR)/include/third_party/cereal/include \ $(DDK_DIR)/include/third_party/opencv/include \ $(DDK_DIR)/include/third_party/opencv/include/opencv \ $(DDK_DIR)/include/third_party/opencv/include/opencv2 \ $(LOCAL_DIR) \