Compilation error when adding pistache C++ framework on yocto build

Hi,

I am trying to add pistache C++ RESTful framework to yocto build . I am using source code fromhttps://github.com/oktal/pistache

I am getting the following error when issuing bitbake command.

Please suggest what could be the reason for the build errors.

Thanks in advance,

Sonu Abraham

What exact hardware and software versions of things are you talking about? Did you write your own recipe, if so could you post that one as well?

This question is an oldie, but just in case it’s useful to anyone, here’s a simple bitbake recipe for pistache. Only tested using Yocto rocko.

SUMMARY = "A high-performance REST Toolkit written in C++ "
HOMEPAGE = "https://github.com/oktal/pistache"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc"
DEPENDS = "gtest"

SRC_URI = "gitsm://github.com/oktal/pistache.git;protocol=https"

SRCREV = "9249e4a0437061effceb5d2b11102060c08f51f8"

PR = "r0"
PV = "1.0+git${SRCPV}"
S = "${WORKDIR}/git"

inherit cmake

BBCLASSEXTEND = "native nativesdk"

FILES_${PN} += "${libdir}/* ${includedir}"

hi @Monomix: Thanks for your Input.