-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
DllNotFound exception on Android version #34
Comments
I have a related issue in that I also get DllNotFound. I have a few questions about how things work:
Thanks for any help! |
Greetings, I have similar problems here. Any updates or guide for newbie? Thanks for any help! |
I have previously tried to recompile this plugin. I think the reason that you are getting the
I uploaded the updated version of the repository to this repository: https://github.com/keli95566/gstreamerUnityPluginAndroid For the uploaded repository, I used the following NDK/gstreamer versions:
Noticed that I tried a lot of Gstreamer version, and only 1.14.5 seems to work correctly. |
Hi @mrayy ,
I'm trying to build the .so (the static also tried the shared lib) for android but I'm getting DLLNotFound exception on static build and the shared lib is not working for ARMv7 I'm getting Unable to find an entry point named 'mray_gstreamer_initialize' in 'GStreamerUnityPlugin'.
PS1: I tried Mono and IL2CPP many NDK versions possible (I haven't tried ARM64).
PS2: I could make it to work on windows, streaming the test video and also from one c++ windows gstream app to unity.
Here some build info:
I'm confused about the NDK version I should use and it's compatibility with my Unity2020.3.8f1
If I put an older NDK as it is by default NDK_TARGET_LEVEL -> "android-16", if I put this older ndk it will be compatible with my newer ndk? I'm asking this because I'm getting dllnotfoundexception so I don't have a clue about whats going on, some dll reference is missing.
APP_STL := c++_static
APP_PLATFORM := $(NDK_TARGET_LEVEL)
APP_ABI := armeabi-v7a
NDK_TARGET_LEVEL := android-23
APP_OPTIM := release
APP_BUILD_SCRIPT := Android.mk
The output of the build:
C:\mrayGStreamerUnity-master\Plugin\Android\GStreamer>C:\android-ndk-r17c-windows-x86_64\android-ndk-r17c/ndk-build NDK_PROJECT_PATH=. NDK_APPLICATION_MK=Application.mk
Android NDK: APP_PLATFORM not set. Defaulting to minimum supported version android-14.
GStreamer : [GEN] => gst-build-armeabi-v7a/gstreamer_android.c
GStreamer : [COMPILE] => gst-build-armeabi-v7a/gstreamer_android.c
GStreamer : [LINK] => gst-build-armeabi-v7a/libgstreamer_android.so
Done mkdir
Done cp
[armeabi-v7a] Prebuilt : libgstreamer_android.so <= gst-build-armeabi-v7a/
Done rm
[armeabi-v7a] Install : libgstreamer_android.so => libs/armeabi-v7a/libgstreamer_android.so
PS: I also tried NDK 18.1.5063045 and as it is on the "echo use ndk r17c to compile on windows" also tried with the version: 17.2.4988734
When compiling static lib I get:
I got the same result: Autoconnected Player DllNotFoundException: GStreamerUnityPlugin
When compiling with shared lib I get:
Autoconnected Player EntryPointNotFoundException: Unable to find an entry point named 'mray_gstreamer_initialize' in 'GStreamerUnityPlugin'.
I also included it on unity just to mention:
I also tried Mono and IL2CPP on ARMv7, what am I missing?
The text was updated successfully, but these errors were encountered: