-
-
Notifications
You must be signed in to change notification settings - Fork 173
Can't compile libflutter_engine.so #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
(I also replied to you on medium) You need to enable the Raspberry Pi GL support by doing Then, as usual, rsync the raspberry pi root to your host-machine's cross-compilation sysroot. For the embedder & engine to run, you need to disable the raspberry pi's GL support again (simply switch to Legacy in |
Thank you for your support. Sorry for doubling my question, but I read too late that you have created this repo. Therefore I thought it would be better to discuss technical details here. |
Looks like I have fixed my problem. I installed following packages gtk3-dev, libglib2.0-dev and libgl1-mesa-dev on on my Rasp PI to solved my linker issues. Thanks for your support. |
nice! no problem |
I know is not related directly to you repository, but might be you have an advice for me.
I'm followed the steps from flutter from scratch article. I get nearly all my files in engine/src folder compiled. Build process stuck AT ../flutter/shell/platform/glfw/flutter_glfw.key_event_handler with ../../third_party/glfw/include/GLFW/glfw3.h:171:12: fatal error: 'GL/gl.h' file not found
In my /opt/vc/include folder copied form my Raspberry PI 3 there are only header files in EGL/GLES/GLES2. I don't have a /opt/vc/include/GL
Is there an option to use EGL or GLES instead? Or do I missing some packages on my Raspberry PI?
Thanks in advance.
The text was updated successfully, but these errors were encountered: