Open zhangkom opened 6 years ago
android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -O3 -std=c++14 -fpermissive -DMACE_ENABLE_OPENCL -I.. -I../include/protobuf3.4.0 -I../include -I../include/opencl_clhpp -I../include/opencl20 -I../mace -I../mace/publics -c -o ../mace/codegen/opencl/opencl_encrypt_program.o ../mace/codegen/opencl/opencl_encrypt_program.cc ../mace/codegen/opencl/opencl_encrypt_program.cc:17:15: fatal error: map: No such file or directory
^
compilation terminated.
不能直接用安卓的编译链来编译c++项目,因为你的ndk编译链和g++编译链是不能通用的
如果你是安卓端部署的话,请使用官方的用法。这个工程的目的是为了方便在嵌入式端部署的
android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -O3 -std=c++14 -fpermissive -DMACE_ENABLE_OPENCL -I.. -I../include/protobuf3.4.0 -I../include -I../include/opencl_clhpp -I../include/opencl20 -I../mace -I../mace/publics -c -o ../mace/codegen/opencl/opencl_encrypt_program.o ../mace/codegen/opencl/opencl_encrypt_program.cc ../mace/codegen/opencl/opencl_encrypt_program.cc:17:15: fatal error: map: No such file or directory
include
compilation terminated.