-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
file_picker package compatibility issue on texture_renderer example #306
Comments
@fadelfffar I can't reproduce it with Ubuntu 24.04. ➜ texture_renderer git:(main) ✗ flutter build linux --release
Resolving dependencies... (1.0s)
Downloading packages...
+ async 2.11.0 (2.12.0 available)
+ boolean_selector 2.1.1 (2.1.2 available)
+ characters 1.3.0 (1.4.0 available)
+ clock 1.1.1 (1.1.2 available)
+ collection 1.18.0 (1.19.1 available)
+ cross_file 0.3.4+2
+ cupertino_icons 1.0.8
+ dartcv4 1.0.1
+ fake_async 1.3.1 (1.3.2 available)
+ ffi 2.1.3
+ file_picker 8.1.5
+ flutter 0.0.0 from sdk flutter
+ flutter_lints 2.0.3 (5.0.0 available)
+ flutter_plugin_android_lifecycle 2.0.23
+ flutter_test 0.0.0 from sdk flutter
+ flutter_web_plugins 0.0.0 from sdk flutter
+ leak_tracker 10.0.5 (10.0.8 available)
+ leak_tracker_flutter_testing 3.0.5 (3.0.9 available)
+ leak_tracker_testing 3.0.1
+ lints 2.1.1 (5.1.0 available)
+ logging 1.3.0
+ matcher 0.12.16+1 (0.12.17 available)
+ material_color_utilities 0.11.1 (0.12.0 available)
+ meta 1.15.0 (1.16.0 available)
+ opencv_dart 1.3.3
+ path 1.9.0 (1.9.1 available)
+ plugin_platform_interface 2.1.8
+ sky_engine 0.0.99 from sdk flutter
+ source_span 1.10.0 (1.10.1 available)
+ stack_trace 1.11.1 (1.12.0 available)
+ stream_channel 2.1.2
+ string_scanner 1.2.0 (1.4.0 available)
+ term_glyph 1.2.1
+ test_api 0.7.2 (0.7.4 available)
+ texture_rgba_renderer 0.0.16
+ vector_math 2.1.4
+ vm_service 14.2.5 (15.0.0 available)
+ web 1.1.0
+ win32 5.9.0
Changed 39 dependencies!
19 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
Building Linux application...
✓ Built build/linux/x64/release/bundle/texture_rgba_renderer_example
➜ texture_renderer git:(main) ✗ screenfetch
./+o+-
yyyyy- -yyyyyy+ OS: Ubuntu 24.04 noble
://+//////-yyyyyyo Kernel: x86_64 Linux 6.8.0-49-generic
.++ .:/++++++/-.+sss/` Uptime: 1d 16h 28m
.:++o: /++++++++/:--:/- Packages: 1900
o:+o+:++.`..```.-/oo+++++/ Shell: zsh 5.9
.:+o:+o/. `+sssoo+/ Disk: 2.6T / 5.2T (51%)
.++/+:+oo+o:` /sssooo. CPU: AMD Ryzen 9 9950X 16-Core @ 32x 7.835GHz
/+++//+:`oo+o /::--:. GPU:
\+/+o+++`o++o ++////. RAM: 64605MiB / 126404MiB
.++.o+++oo+:` /dddhhh.
.+.o+oo:. `oddhhhh+
\+.++o+o``-````.:ohdhhhhh+
`:o+++ `ohhhhhhhhyo++os:
.o:`.syhhhhhhh/.oo++o`
/osyyyyyyo++ooo+++/
````` +oo+++o\:
`oo++.
➜ texture_renderer git:(main) ✗ Also, It seems not a problem of opencv_dart, why do you open the issue here rather than file_picker. P.S., You do not need to use both opencv_dart and opencv_core, just choose one of them, depending on whether you need videoio module. |
Sorry my bad for posting this as issues, on another note I forgot to mention that using Imageformat as in imencode(cv.Imageformat.png.cv, img, params) is not working on another example (i forgot which) |
|
abdelaziz-mahdy has reported this in file_picker, check this: |
okidoki thanks for your help, I'm gonna close this issue |
I think you can just use 8.1.4, it works fine for me. |
hmmm weird, I already tried that earlier. Does this need Nvidia gpu in anyway? |
Nope. Did you use the exact version of 8.1.4? miguelpruivo/flutter_file_picker#1643 (comment) Also mind that texture_rgba_renderer only supports windows, linux and macos for now, android is not supported. |
yes i did, without the ^ on pubspec.yaml, maybe because I run it on android lol, thanks |
All right, kind of weird... |
Help please, I can't seem to run the texture_renderer example cause of uncompatibility with the file_picker packgage, I was trying all different file_picker version from 8.1.2 until 8.1.5
FAILURE: Build failed with an exception.
Execution failed for task ':file_picker:compileDebugJavaWithJavac'.
Originally posted by @fadelfffar in #33 (comment)
The text was updated successfully, but these errors were encountered: