Skip to content
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.

Error while loading shared libraries (Ubuntu) #5

Open
xsahil03x opened this issue Jan 9, 2019 · 8 comments
Open

Error while loading shared libraries (Ubuntu) #5

xsahil03x opened this issue Jan 9, 2019 · 8 comments

Comments

@xsahil03x
Copy link

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

@putraxor
Copy link
Owner

putraxor commented Jan 9, 2019

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

@xsahil03x
Copy link
Author

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
Copy link
Owner

putraxor commented Jan 10, 2019

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

I will post the progress ASAP

@xsahil03x
Copy link
Author

Sure and great work.

@kindlychung
Copy link

kindlychung commented Jan 16, 2019

Got this:

Null pointer on window

@hamidabdulmalik
Copy link

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

@zabilal
Copy link

zabilal commented Feb 15, 2019

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
Copy link

thmaph commented Feb 21, 2019

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants