[yocto] Can't found the zip.h during bitbake #yocto #devtool

2020-09-21 Thread Jaymin Dabhi via lists.yoctoproject.org
Team, I need to include zip.h header file in one of my C code (#include ). I have created a .bb file and added following command for compilation: > > ${CC} -Wall -I/usr/include/libxml2 -o my_code my_code.c -lxml2 -lzip -lz But, during bitbake it says: > > | In file included from fota_update.c

Re: [yocto] Can't found the zip.h during bitbake #yocto #devtool

2020-09-21 Thread Khem Raj
Add DEPENDS += "libzip" in failing recipe ( .bb) file. On Mon, Sep 21, 2020 at 12:40 AM Jaymin Dabhi via lists.yoctoproject.org wrote: > > Team, > > I need to include zip.h header file in one of my C code (#include ). > I have created a .bb file and added following command for compilation: > >