[yocto] Trying to make PylonGPS build with DEPENDS, does not find includes

ccSmart cc.smart.ch at gmail.com
Tue Dec 19 12:28:48 PST 2017


Greetings.

I'm trying to set up a poky layer at 
https://github.com/navdata-net/meta-navdatanet/tree/rocko

Compiling PylonGPS from https://github.com/charlesrwest/pylonGPS 
requires, amongst others Google protobuf.

I include this as

DEPENDS += "protobuf-native"

During build i get

fatal error: google/protobuf/stubs/common.h: No such file or directory
#include <google/protobuf/stubs/common.h>

However, this file can be found at

/workdir/dev/rpi3/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/pylongps/0.1.0-r0/recipe-sysroot-native/usr/include/google/protobuf/stubs/common.h

So i assume it is a problem with visibility / build environment setup.

For running the build, i'm using the crops/poky docker image.

Where should i look for finding the correct solution ?

Thanks for your input.





More information about the yocto mailing list