[PATCH] rpi: add include path for platform headers

Pekka Paalanen ppaalanen at gmail.com
Fri Mar 1 02:17:10 PST 2013


On Fri,  1 Mar 2013 09:35:20 +0100
Andre Heider <a.heider at gmail.com> wrote:

> fixes compilation of weston:
> In file included from /opt/vc/include/bcm_host.h:50:0,
> 	from src/compositor-rpi.c:41:
> 	/opt/vc/include/interface/vmcs_host/vcgencmd.h:33:27:
> 	fatal error: vchost_config.h: No such file or directory
> 
> Signed-off-by: Andre Heider <a.heider at gmail.com>
> ---
>  pkgconfig/bcm_host.pc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/pkgconfig/bcm_host.pc b/pkgconfig/bcm_host.pc
> index 04b3cf2..3cb841c 100644
> --- a/pkgconfig/bcm_host.pc
> +++ b/pkgconfig/bcm_host.pc
> @@ -7,5 +7,5 @@ Name: bcm_host
>  Description: Broadcom VideoCore host API library
>  Version: 1
>  Libs: -L${libdir} -lbcm_host -lvcos -lvchiq_arm
> -Cflags: -I${includedir} -I${includedir}/interface/vcos/pthreads -DUSE_VCHIQ_ARM
> +Cflags: -I${includedir} -I${includedir}/interface/vmcs_host/linux -I${includedir}/interface/vcos/pthreads -DUSE_VCHIQ_ARM
>  

Hi Andre,

I looked at the changes in the rpi-firmware repository, and their
example build script, and yes, this seems correct. I have applied
and pushed this patch [1].


Thanks,
pq

[1] http://cgit.collabora.com/git/user/pq/android-pc-files.git/log/?h=raspberrypi


More information about the wayland-devel mailing list