flutter-embedded-linux icon indicating copy to clipboard operation
flutter-embedded-linux copied to clipboard

elinux-common.zip is outdated and incompatible with shared libs

Open wang-bin opened this issue 7 months ago • 2 comments

even in the latest release, for example flutter 3.29.3, last modified time of every c++ file in elinux-common.zip is 2024-09-20. I have a crash in UnregisterTexture, virtual void UnregisterTexture(int64_t texture_id, std::function<void()> callback) = 0; is missing in texture_registrar.h. updating elinux-common.zip should fix the crash.

@taka-okayama

wang-bin avatar May 25 '25 15:05 wang-bin

Is there a way to update libraries globally.

Wazirri avatar May 25 '25 16:05 Wazirri

copying the corresponding files from this repo to flutter-elinux/flutter/bin/cache/artifacts/engine/elinux-common solves the crash in UnregisterTexture, and gl resources can be released in a correct context

wang-bin avatar May 27 '25 02:05 wang-bin