Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make 失败 #8

Open
Aqinn opened this issue Dec 6, 2020 · 1 comment
Open

make 失败 #8

Aqinn opened this issue Dec 6, 2020 · 1 comment

Comments

@Aqinn
Copy link

Aqinn commented Dec 6, 2020

根据 issue #1 的办法调整了 CMakeLists.txt 里的 if 判断顺序。可以 cmake 成功。
但是 make 的时候,总是提示我 mobilenetssdncnn_jni.cpp 中的 <jni.h> <android/asset_manager_jni.h> 等头文件找不到。
请问我是哪里没有做好吗?应该是一个简单的错漏,但是我不知道要改哪里,希望大佬可以指导一下,多谢!

@Aqinn
Copy link
Author

Aqinn commented Dec 7, 2020

解决问题了,原因在 Step 2,nihui大佬写得很清楚,但是我的做法是把 ncnn-android-vulkan-lib.zip 解压后的五个文件夹拖到了项目里的 jni 文件夹里。正确的做法是 直接把 ncnn-android-vulkan-lib 整个文件夹拖过去 jni 里...

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

No branches or pull requests

1 participant