[weston] Missing header file

Pekka Paalanen ppaalanen at gmail.com
Wed Oct 7 02:34:53 PDT 2015


On Wed, 7 Oct 2015 11:02:30 +0200
Joaquim Duran <jduran.gm at gmail.com> wrote:

> Hello,
> 
> I am cross compiling weston for arm architecture witn the following
> configuration:
> 
> ./autogen.sh \
>     --disable-devdocs \
>     --disable-dbus \
>     --disable-xwayland \
>     --disable-xwayland-test \
>     --disable-x11-compositor \
>     --disable-drm-compositor \
>     --enable-wayland-compositor \
>     --disable-headless-compositor \
>     --disable-rpi-compositor \
>     --disable-fbdev-compositor \
>     --disable-rdp-compositor \
>     --disable-systemd-login \
>     --disable-weston-launch \
>     --disable-wcap-tools \
>     --disable-clients \
>     --disable-simple-clients \
>     --disable-simple-egl-clients \
>     --with-cairo-glesv2 \
>     --disable-tests \
>     --build=i686-linux --host=arm-none-linux-gnueabi
> --target=arm-none-linux-gnueabi \
>     --prefix=$INSTALL_DIR --with-sysroot=${SYSROOT_DIR}
> 
> When compiling the tests, the following error is shown:
> 
>   CC     tests/presentation_weston-presentation-test.o
> tests/presentation-test.c:36:49: fatal error:
> presentation_timing-client-protocol.h: No such file or directory
> compilation terminated.
> make[1]: *** [tests/presentation_weston-presentation-test.o] Error 1
> make[1]: Leaving directory `/home/gem-med/Logic_BSPs/Linux_3.0/src/weston'
> make: *** [all] Error 2

Hi,

the file protocol/presentation_timing-client-protocol.h should be
autogenerated with wayland-scanner.

Is it not generated at all?
Is it generated in a directory not passed to gcc when compiling
tests/presentation-test.c?

I also don't think --disable-tests is a thing.

Please, do not use --with-cairo=glesv2 or --with-cairo=gl. I do not
think --with-cairo-glesv2 is a thing, but if it once was, please do not
use it. See lines 261 - 273 in:
http://cgit.freedesktop.org/wayland/weston/tree/configure.ac#n261


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20151007/21eb5027/attachment.sig>


More information about the wayland-devel mailing list