[yocto] problems with cmake finding the c++ includes

S.Jaritz at esa-grimma.de S.Jaritz at esa-grimma.de
Tue Apr 26 01:04:28 PDT 2016


Hej,

I am new to yocto. I like to create an recipe for the g3log library. I 
managed to get the git sources and start the cmake compile. But it stops 
when it tries to compile "#include <string>". Do you have an idea how to 
fix that?

Below there is the content of the "g3log.bb":
################################
SUMMARY = "g3log"
SECTION = "sek4"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://$
{COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

DEPENDS ="boost"

SRC_URI[md5sum] = "0dd4767bd072159e64ad69052bb1dbba"
SRC_URI[sha256sum] = 
"4fbcc9afe24f6d8b5b90ff04481e88dd0b34f6a797825dab02cd88f129d3ccb7"

SRC_URI = "git://github.com/KjellKod/g3log.git;rev=1.2"

S = "${WORKDIR}/git"

inherit pkgconfig cmake
################################
 

Mit freundlichen Grüßen

Stefan Jaritz
Entwickler

------------------------------------------------------------
ESA Elektroschaltanlagen Grimma GmbH
Broner Ring 30
04668 Grimma
Telefon: +49 3437 9211 176
Telefax: +49 3437 9211 26
E-Mail: s.jaritz at esa-grimma.de
Internet: www.esa-grimma.de


Geschäftsführer:
Dipl.-Ing. Jörg Gaitzsch
Jörg Reinker

Sitz der Gesellschaft: Grimma
Ust.-ID: DE 141784437
Amtsgericht: Leipzig, HRB 5159
Steuernummer: 238/108/00755


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich 
erhalten 
haben, informieren Sie bitte sofort den Absender und löschen Sie diese 
Nachricht. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser 
Mail 
ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you 
are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is 
strictly 
forbidden.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160426/f2c3b155/attachment.html>


More information about the yocto mailing list