go-flutter-desktop / go-flutter

Flutter on Windows, MacOS and Linux - based on Flutter Embedding, Go and GLFW.
https://hover.build/
BSD 3-Clause "New" or "Revised" License
5.85k stars 283 forks source link

how to use go-flutter some feature like texture use my flutter desktop projects, I want use it display video stream, but my project is not use go-fluuter now #629

Closed labulakalia closed 2 years ago

labulakalia commented 2 years ago

Is your feature request related to a problem?

I use golang will recv some video stream like vp8 encoder, then display video stream in flutter desktop

Describe the feature you'd like

this is my attempt

https://gist.github.com/labulaka521/e913d37d83c75c1d5d0817501a35cd44 https://gist.github.com/labulaka521/60333919ca933c9e07134c48b65c4bfc

but can not build

# github.com/go-flutter-desktop/go-flutter/embedder
ld: framework not found FlutterEmbedder
clang: error: linker command failed with exit code 1 (use -v to see invocation)

is it correct use texture?and LDFLAGS how to change?