-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
利用最新demo中的so,andriod工程编译没问题,在运行中报createSession的错误 #212
Comments
运行demo中的andriod工程也报createSession,请问大家有遇到这种情况吗? |
修正了,更新下试试 |
更新so,问题已解决 |
运行android程序,只加载libMNN.so进行识别没有问题,但尝试加上libMNN_vulkan.so的时候,报了类似的错误。 看log也是在createSession的时候崩掉的,不过在那之前vulkan和libMNN_vulkan被调用过。 这是我的CMakeLists.txt文件(不知道需不需要,我添加了android studio自带的libvulkan.so): set(IMPORTED_LIB_PATH ${CMAKE_SOURCE_DIR}/../jniLibs) #第三方库路径 #Vulkan支持 #添加mnn静态库并包含include下的多个.h文件 #添加mnn_vulkan #include_directories(${Vulkan_INCLUDE_DIR}) #创建自己的so库:yolovmobilenetvcoco find_library( log-lib log) |
请问如何解决?
The text was updated successfully, but these errors were encountered: