rainyl / opencv_dart

OpenCV bindings for Dart language and Flutter.
https://pub.dev/packages/opencv_dart
Apache License 2.0
78 stars 10 forks source link

Failed to load dynamic library 'libopencv_dart.so' #112

Closed YancyHsu closed 1 week ago

YancyHsu commented 1 week ago

On Linux error: ArgumentError (Invalid argument(s): Failed to load dynamic library 'libopencv_dart.so'

Unbuntu Ubuntu 24.04 LTS

i have check the libPath here:

final libPath = Platform.environment["OPENCV_DART_LIB_PATH"] ?? defaultLibPath; print(File(libPath).absolute.existsSync());

got:

flutter: true

i just put libopencv_dart.so in example folder, and check its existence, the code above

YancyHsu commented 1 week ago

sorry, not linked to the code, I open a new one issue.