Skip to content
This repository has been archived by the owner on Jan 26, 2021. It is now read-only.

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 this issue Apr 10, 2019 · 1 comment

Comments

@ZhangXinNan
Copy link

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
Copy link
Author

  1. compile ceres ,choose your abi in Application.mk
  2. file the path of libceres.a in your CMakeLists.txt

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant