Skip to content

drm not found #73

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
queirozrphl opened this issue Aug 6, 2020 · 2 comments
Closed

drm not found #73

queirozrphl opened this issue Aug 6, 2020 · 2 comments

Comments

@queirozrphl
Copy link

Hi folks, yesterday I have faced some issue that I never seem.
When I was installing the flutter engine, with make, I got this error:

pi@raspberrypi:~/flutter-engine/flutter-pi $ make
Package libinput was not found in the pkg-config search path.
Perhaps you should add the directory containing `libinput.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libinput' found
cc -c -I./include  -DBUILD_TEXT_INPUT_PLUGIN -DBUILD_GPIOD_PLUGIN -DBUILD_SPIDEV_PLUGIN -DBUILD_TEST_PLUGIN -DBUILD_OMXPLAYER_VIDEO_PLAYER_PLUGIN -O0 -ggdb  src/flutter-pi.c -o out/obj/flutter-pi.o
In file included from src/flutter-pi.c:30:
/usr/include/xf86drm.h:40:10: fatal error: drm.h: No such file or directory
 #include <drm.h>

I don't understand why this happened, I've installed this many times and that is the first time.
Had someone got this error?

@DisDis
Copy link
Contributor

DisDis commented Aug 6, 2020

See #65 (comment)

@queirozrphl
Copy link
Author

Thany you very much! @DisDis

sudo apt-get install libsystemd-dev libinput-dev

Solved this problem
Sorry, I had not seem this question before.

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

2 participants