Skip to content

Unable to compile flutter-pi on Raspi #2

Closed
@volkrass

Description

@volkrass

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions