-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
Error compiling: DRM_FORMAT_MOD_LINEAR’ undeclared (first use in this function) #210
Comments
Seems like Try running cmake with |
Now I have another issues compiling:
|
Add these additional flags to
(maybe you need more, if yes you can find the definitions for any I don't really support raspbian stretch, even if I add fallbacks for these macros inside the flutter-pi source code, things will probably break again later on because I'm not testing on stretch |
Hi, I'm having this issue now. CMakeFiles/flutter-pi.dir/src/flutter-pi.c.o: In function `init_display':
flutter-pi.c:(.text+0x3160): undefined reference to `drmGetDevices2'
flutter-pi.c:(.text+0x3934): undefined reference to `drmCrtcGetSequence'
flutter-pi.c:(.text+0x3a34): undefined reference to `gbm_surface_create_with_modifiers'
CMakeFiles/flutter-pi.dir/src/compositor.c.o: In function `gbm_bo_get_drm_fb_id':
compositor.c:(.text+0x14c): undefined reference to `gbm_bo_get_modifier'
compositor.c:(.text+0x160): undefined reference to `gbm_bo_get_plane_count'
compositor.c:(.text+0x178): undefined reference to `gbm_bo_get_stride_for_plane'
compositor.c:(.text+0x1a4): undefined reference to `gbm_bo_get_offset'
CMakeFiles/flutter-pi.dir/src/user_input.c.o: In function `user_input_on_fd_ready':
user_input.c:(.text+0x9c4): undefined reference to `libinput_device_touch_get_touch_count'
user_input.c:(.text+0x1094): undefined reference to `libinput_device_touch_get_touch_count'
CMakeFiles/flutter-pi.dir/src/plugins/omxplayer_video_player.c.o: In function `mgr_entry':
omxplayer_video_player.c:(.text+0x13a4): undefined reference to `sd_bus_match_signal' I notice that the library is in the path: pi@raspberrypi:/usr/lib/arm-linux-gnueabihf $ ls -l | grep libGL
lrwxrwxrwx 1 root root 14 Aug 4 2017 libGL.so -> libGL.so.1.2.0
lrwxrwxrwx 1 root root 14 Aug 4 2017 libGL.so.1 -> libGL.so.1.2.0
-rw-r--r-- 1 root root 400092 Aug 4 2017 libGL.so.1.2.0
lrwxrwxrwx 1 root root 21 Aug 4 2017 libGLESv1_CM.so.1 -> libGLESv1_CM.so.1.1.0
-rw-r--r-- 1 root root 17704 Aug 4 2017 libGLESv1_CM.so.1.1.0
lrwxrwxrwx 1 root root 18 Aug 4 2017 libGLESv2.so -> libGLESv2.so.2.0.0
lrwxrwxrwx 1 root root 18 Aug 4 2017 libGLESv2.so.2 -> libGLESv2.so.2.0.0
-rw-r--r-- 1 root root 38184 Aug 4 2017 libGLESv2.so.2.0.0
lrwxrwxrwx 1 root root 16 Sep 18 2016 libGLEW.so.2.0 -> libGLEW.so.2.0.0
-rw-r--r-- 1 root root 528308 Sep 18 2016 libGLEW.so.2.0.0
lrwxrwxrwx 1 root root 15 Sep 19 2015 libGLU.so.1 -> libGLU.so.1.3.1
-rw-r--r-- 1 root root 358228 Sep 19 2015 libGLU.so.1.3.1 Is it really necessary to update the OS version? |
You can try compiling mesa, libinput and libsystemd yourself and linking against those self-build libraries instead, that should work. |
Hi, I'm trying to build and compile the project, but it shows me this error:
My setup is a Rpi 2 Model B with Raspbian GNU/Linux 9.9 (stretch) (Linux raspberrypi 4.19.50-v7+ #1234 SMP Thu Jun 13 11:06:37 BST 2019 armv7l GNU/Linux)
What should I do? (not suggest upgrade the OS, please)
The text was updated successfully, but these errors were encountered: