xiang-wuu / ncnn-android-yolov7

Android Live Demo inferenece of Yolov7 using ncnn
GNU General Public License v3.0
131 stars 35 forks source link

cmake build error #5

Closed mhyeonsoo closed 2 years ago

mhyeonsoo commented 2 years ago

Hi, thanks for the great implementation.

I've tried running on my android device, but been facing cmake related errors.

  Error while executing process /Users/gea_hs/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja with arguments {-C ~/Downloads/ncnn-android-yolov7-master/app/.cxx/cmake/debug/arm64-v8a ncnnyolov7}
ninja: Entering directory `/Users/gea_hs/Downloads/ncnn-android-yolov7-master/app/.cxx/cmake/debug/arm64-v8a'
  [1/4] Building CXX object CMakeFiles/ncnnyolov7.dir/yoloncnn.cpp.o
  [2/4] Building CXX object CMakeFiles/ncnnyolov7.dir/ndkcamera.cpp.o
  [3/4] Building CXX object CMakeFiles/ncnnyolov7.dir/yolo.cpp.o
  [4/4] Linking CXX shared library ~/Downloads/ncnn-android-yolov7-master/app/build/intermediates/cmake/debug/obj/arm64-v8a/libncnnyolov7.so

I followed step 1 and step 2, but is there any other pre-requisite?

Thanks,

mhyeonsoo commented 2 years ago

I solved with newer ndk version > 21 Thanks,