jannismoeller / VINS-Mobile-Android

GNU General Public License v3.0
110 stars 41 forks source link

ninja: error: '../../../../libs/VINS-Mobile-master/VINS_ThirdPartyLib/ceres-solver/obj/local/x86_64/libceres.a', needed by '../../../../build/intermediates/cmake/debug/obj/x86_64/libNativeLib.so', missing and no known rule to make it #8

Open ZhangXinNan opened 5 years ago

ZhangXinNan commented 5 years ago
Build command failed.
Error while executing process /home/zhangxin/Android/Sdk/cmake/3.6.4111459/bin/cmake with arguments {--build /media/zhangxin/DATA/github/VINS-Mobile-Android/VINS_Mobile_AndroidPort/app/.externalNativeBuild/cmake/debug/x86_64 --target NativeLib}

ninja: error: '../../../../libs/VINS-Mobile-master/VINS_ThirdPartyLib/ceres-solver/obj/local/x86_64/libceres.a', needed by '../../../../build/intermediates/cmake/debug/obj/x86_64/libNativeLib.so', missing and no known rule to make it
ZhangXinNan commented 5 years ago
  1. compile ceres ,choose your abi in Application.mk
  2. file the path of libceres.a in your CMakeLists.txt