linux-sunxi / sunxi-mali

Sunxi Mali-400 support libraries.
56 stars 71 forks source link

Building Test Fail #17

Open yamak opened 8 years ago

yamak commented 8 years ago

I try to build an image for bananaPro withot x11 and wayland support.But I get following error during mali test binary compilation

make: Leaving directory '/home/yusuf/yocto/poky/bananaProHf/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/sunxi-mali/git-r0/git/include' make -C test test make[1]: Entering directory '/home/yusuf/yocto/poky/bananaProHf/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/sunxi-mali/git-r0/git/test' arm-poky-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon-vfpv4 -mtune=cortex-a7 --sysroot=/home/yusuf/yocto/poky/bananaProHf/tmp/sysroots/bananapro -O2 -pipe -g -feliminate-unused-debug-types -I../include -L../../image/usr/lib -o test test.c -lEGL -lGLESv2 -lX11 In file included from ../include/EGL/egl.h:36:0, from test.c:32: ../include/EGL/eglplatform.h:89:22: fatal error: X11/Xlib.h: No such file or directory compilation terminated. Makefile:8: recipe for target 'test' failed

How can I fix this problem?

Lefttyre commented 8 years ago

DISTRO_FEATURES += "x11" or PACKAGECONFIG += "x11". Because this test program depends on libx11