Skip to content

Commit 20bf865

Browse files
authored
Merge pull request #6 from andyjjones28/master
Compilation fixes
2 parents 56e470f + 7d41a83 commit 20bf865

File tree

7 files changed

+1408
-105
lines changed

7 files changed

+1408
-105
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ Compiling the embedder:
4747
```bash
4848
mkdir out
4949
cc -D_GNU_SOURCE \
50-
`pkg-config --cflags --libs dri gbm libdrm glesv2 egl` -lrt -lflutter_engine -lpthread -ldl \
51-
./src/flutter-pi.c ./src/platformchannel.c ./src/pluginregistry.c ./src/services-plugin.c -o ./out/flutter-pi
50+
-lEGL -ldrm -lgbm -lGLESv2 -lrt -lflutter_engine -lpthread -ldl \
51+
-I./include -I/usr/include -I/usr/include/libdrm ./src/flutter-pi.c \
52+
./src/platformchannel.c ./src/pluginregistry.c ./src/plugins/services-plugin.c -o out/flutter-pi
5253
```
53-
5454
## Performance
5555
Performance is actually better than I expected. With most of the apps inside the `flutter SDK -> examples -> catalog` directory I get smooth 50-60fps.
5656

File renamed without changes.

0 commit comments

Comments
 (0)