Skip to content

编译时出错 #1

@AndyHon

Description

@AndyHon

1、使用安卓方式编译,
external/libdrm/tests/modeset-atomic-plane/Android.mk: error: "modeset-atomic-plane (EXECUTABLES android-arm) missing libdrm_platform (SHARED_LIBRARIES android-arm)"
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
build/make/core/main.mk:1118: error: exiting from previous errors.
请问这个libdrm_platform是从哪获得的?
2、gcc编译
Perhaps you should add the directory containing `libdrm.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm' found
modeset-atomic-plane.c:12:10: fatal error: xf86drm.h: No such file or directory
#include <xf86drm.h>
^~~~~~~~~~~
compilation terminated.
明明drm下面有这个头文件,为什么还会报这个错误?
劳烦各位大佬帮忙解答一下,谢谢

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