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

Failed to load dynamic library 'libflutter_opengl_plugin.so' #10

Open
cwwww24 opened this issue Jun 4, 2024 · 3 comments
Open

Failed to load dynamic library 'libflutter_opengl_plugin.so' #10

cwwww24 opened this issue Jun 4, 2024 · 3 comments

Comments

@cwwww24
Copy link

cwwww24 commented Jun 4, 2024

Hello brother, I Fork the source code, according to the tutorial to run the example code after the prompt 'Failed to load dynamic library 'libflutter_opengl_plugin.so', I tried for a long time, still can not solve, Did I miss some steps? It's still the same problem when I introduced flutter_opengl from pub to new projects, I think I missed something, but I didn't find another way in the tutorial, can you help me solve it

@alnitak
Copy link
Owner

alnitak commented Jun 5, 2024

Hi,

can you please copy/paste some relevant log errors? Are you trying on Linux right?

Anyway, I almost abandoned this project because of the incoming support for OpenGL by the Flutter team.

@xiaweizi
Copy link

xiaweizi commented Jun 20, 2024

 [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'libflutter_opengl_plugin.so': dlopen failed: library "libopencv_java4.so" not found: needed by /data/app/~~9Gb3uLkP959jAfYTyvHxGA==/com.example.flutter_opengl_example-Gf4QUz23KLujePboD7LJRQ==/base.apk!/lib/arm64-v8a/libflutter_opengl_plugin.so in namespace clns-4
 #0      _open (dart:ffi-patch/ffi_dynamic_library_patch.dart:11)
 #1      new DynamicLibrary.open (dart:ffi-patch/ffi_dynamic_library_patch.dart:22)
 #2      OpenGLController.initializeGL (package:flutter_opengl/src/opengl_controller.dart:21)
 #3      main (package:flutter_opengl_example/main.dart:5)
 #4      _runMain.<anonymous closure> (dart:ui/hooks.dart:301)
 #5      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:297)
 #6      _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184)

@alnitak
Copy link
Owner

alnitak commented Jun 20, 2024

Have you followed the instructions here?

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

3 participants