Skip to content

Unable to compile flutter-pi on Raspi #2

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

Closed
volkrass opened this issue Jun 13, 2019 · 1 comment
Closed

Unable to compile flutter-pi on Raspi #2

volkrass opened this issue Jun 13, 2019 · 1 comment

Comments

@volkrass
Copy link

volkrass commented Jun 13, 2019

I encounter following error when I try to compile flutter-pi on my Raspi.
cc -D_GNU_SOURCE
-I/opt/vc/include
-I/home/pi/flutter_engine \ <- home flutter_embedder.h
-L/usr/local/lib \ <-home of libflutter_engine.so
-L/opt/vc/lib
-lrt -lbrcmGLESv2 -lflutter_engine -lpthread -ldl -lbcm_host -lvcos -lvchiq_arm -lm
./src/flutter-pi.c ./src/methodchannel.c -o ./out/flutter-pi

I get this:
/usr/bin/ld: /tmp/ccFN4OTA.o: undefined reference to symbol 'eglTerminate'
//opt/vc/lib/libbrcmEGL.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

Would appreciate your support.

I forget to mention that I'm using Raspbian Stretch Lite

@volkrass
Copy link
Author

I had to add -lbrcmEGL.

kerberjg added a commit to kerberjg/flutter-pi that referenced this issue Jan 10, 2024
kerberjg added a commit to kerberjg/flutter-pi that referenced this issue Jan 10, 2024
kerberjg added a commit to kerberjg/flutter-pi that referenced this issue Jan 10, 2024
kerberjg added a commit to kerberjg/flutter-pi that referenced this issue Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant