putraxor / flutter_desktop_launcher

Flutter Desktop Launcher for Mac OS/Linux, support hot reload via VS Code
221 stars 35 forks source link

Error while loading shared libraries (Ubuntu) #5

Open xsahil03x opened 5 years ago

xsahil03x commented 5 years ago

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

putraxor commented 5 years ago

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

xsahil03x commented 5 years ago

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

putraxor commented 5 years ago

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

I will post the progress ASAP

xsahil03x commented 5 years ago

Sure and great work.

kindlychung commented 5 years ago

Got this:

Null pointer on window
hamidabdulmalik commented 5 years ago

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

zabilal commented 5 years ago

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

thmaph commented 5 years ago

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.