zhy520xp / mace-makefile-project

makefile 交叉编译 libmace.a,并能在嵌入式端调用GPU来跑深度学习模型
95 stars 18 forks source link

fatal error: map: No such file or directory #4

Open zhangkom opened 6 years ago

zhangkom commented 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

include

           ^

compilation terminated.

: recipe for target '../mace/codegen/opencl/opencl_encrypt_program.o' failed make: *** [../mace/codegen/opencl/opencl_encrypt_program.o] Error 1
zhy520xp commented 6 years ago

不能直接用安卓的编译链来编译c++项目,因为你的ndk编译链和g++编译链是不能通用的

zhy520xp commented 6 years ago

如果你是安卓端部署的话,请使用官方的用法。这个工程的目的是为了方便在嵌入式端部署的