-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Mobile版ncnn在android studio上问题。 #632
Comments
|
@SisterL 遇到相同问题,还想查一下有人解决没。既然我解决了,就说一下吧。当然我是使用的cmake,不是Android.mk set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fopenmp -L${CMAKE_SOURCE_DIR}/src/main/cpp/libs/${ANDROID_ABI}") 同时当前我使用的ndkr17c,早已经不是r15c了,默认也早已不是 |
谢谢大家。 |
请问我在编译opencv-mobile时也报了相同的错误,想问下.a文件您是自己交叉编译的吗? |
照链接git了ncnn-mobile的工程,路径已对应,ndk-build时出现诸如
undefined reference to '__kmpc_fork_call'
undefined reference to '__kmpc_for_static_init_4'
undefined reference to '__kmpc_global_thread_num'
...
undefined reference to '__kmpc_global_thread_num'
等一系列类似错误。
The text was updated successfully, but these errors were encountered: