flutter_desktop_launcher icon indicating copy to clipboard operation
flutter_desktop_launcher copied to clipboard

Error while loading shared libraries (Ubuntu)

Open xsahil03x opened this issue 6 years ago • 8 comments

./flutter_launcher: error while loading shared libraries: libglfw.so.3: cannot open shared object file: No such file or directory

xsahil03x avatar Jan 09 '19 21:01 xsahil03x

Install $ sudo apt-get install libglfw3-dev libepoxy-dev libjsoncpp-dev libgtk-3-dev libx11-dev

putraxor avatar Jan 09 '19 21:01 putraxor

Thanks @putraxor it worked but i am unable to see any kind of text and most of the images. screenshot from 2019-01-10 12-59-46

xsahil03x avatar Jan 10 '19 07:01 xsahil03x

Yes I still encounter with the issue, it possibly related to linux embedder itself

I will post the progress ASAP

putraxor avatar Jan 10 '19 17:01 putraxor

Sure and great work.

xsahil03x avatar Jan 11 '19 13:01 xsahil03x

Got this:

Null pointer on window

kindlychung avatar Jan 16 '19 16:01 kindlychung

Where are we with this one @putraxor, still can't see any other texts on linux mint.

hamidabdulmalik avatar Feb 10 '19 18:02 hamidabdulmalik

what a beautiful effort. Am on deepin linux and am encountering 2 the same issue as @xsahil03x . I cant see any text and the HOT Reload is also not working. please if you can attend to this

zabilal avatar Feb 15 '19 22:02 zabilal

I have not got to checking hot reload on linux but i have got text working in linux mint, I think this will work for all linux distros.

So far the best solution for text on linux is to use a custom font following this:

https://flutter.io/docs/cookbook/design/fonts

I followed steps 1 to 3

  1. Import the font files
  2. Declare the font in the pubspec.yaml
  3. Set a font as the default

You can still use the material (flutter) default Roboto font as a custom font.

thmaph avatar Feb 21 '19 16:02 thmaph