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

Support macOS 10.15+ #249

Closed
ywu2014 opened this issue Sep 23, 2024 · 7 comments · Fixed by #262
Closed

Support macOS 10.15+ #249

ywu2014 opened this issue Sep 23, 2024 · 7 comments · Fixed by #262
Labels
question Further information is requested

Comments

@ywu2014
Copy link

ywu2014 commented Sep 23, 2024

opencv_dart version is opencv_dart: ^1.2.4, but when i start app using command
flutter run -d macos
it shows Failed to load dynamic library 'libopencv_dart.dylib': dlopen failed: library "libopencv_dart.dylib" not found
the readme document said it will download libs auto automatically, but it didn't fot me.

so i manually run commands below

flutter pub add opencv_dart
dart run opencv_dart:setup macos --arch x64

and it did download libs,but still show "libopencv_dart.dylib" not found

then i set the lib environment below

export OPENCV_DART_DISABLE_AUTO_BUILD=1
export OPENCV_DART_LIB_PATH=/Users/ywu/.pub-cache/hosted/pub.flutter-io.cn/opencv_dart-1.2.4/macos/GNUSparseFile.0/libopencv_dart.dylib

and this time,it shows no suitable image found
image

my os version is macOS Catalina 10.15.7

@ywu2014 ywu2014 added the question Further information is requested label Sep 23, 2024
@rainyl
Copy link
Owner

rainyl commented Sep 23, 2024

@ywu2014 The minimum supported macos version is 11.0, I will try to support 10.15, you can try to build the project by yourself for now.

@ywu2014
Copy link
Author

ywu2014 commented Sep 23, 2024

thx,then about what time will you support 10.15,is there a general plan?

@rainyl
Copy link
Owner

rainyl commented Sep 23, 2024

I am migrating the entire build system to cmake, including opencv.full, the most important dependency is ffmpeg, since github doesnt provide macos 10.15 runner, ffmpeg needs to be properly configured, also I am planning to support ffmpeg on android and ios, so it may take a long time to finish.

@ywu2014
Copy link
Author

ywu2014 commented Sep 24, 2024

@rainyl OK,thx!

@ywu2014 ywu2014 closed this as completed Sep 24, 2024
@rainyl rainyl changed the title no suitable image found Support macOS 10.15+ Sep 24, 2024
@rainyl
Copy link
Owner

rainyl commented Sep 24, 2024

Never mind.

I am going to reopen this issue to remind myself, hope you wont mind it.

@rainyl rainyl reopened this Sep 24, 2024
@ywu2014
Copy link
Author

ywu2014 commented Sep 26, 2024

No problem!

@rainyl
Copy link
Owner

rainyl commented Oct 25, 2024

opencv_dart and opencv_core version v1.3.0 have been published, with macos 10.15 and above supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
2 participants