Skip to content

Error compiling: DRM_FORMAT_MOD_LINEAR’ undeclared (first use in this function) #210

Closed
@jairoareyes

Description

@jairoareyes

Hi, I'm trying to build and compile the project, but it shows me this error:

/home/pi/flutter-pi/src/flutter-pi.c:1464:27: error: ‘DRM_FORMAT_MOD_LINEAR’ undeclared (first use in this function)
  flutterpi.gbm.modifier = DRM_FORMAT_MOD_LINEAR;
                           ^~~~~~~~~~~~~~~~~~~~~
/home/pi/flutter-pi/src/flutter-pi.c:1464:27: note: each undeclared identifier is reported only once for each function it appears in

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)

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