Nobody have compil cpp with Bitbake ??

Could anyone help me please ?



2008/4/9, batoub <>:

Hi everybody,

I want to use opencv with my gumstix but i'm not able to compil my program
and I need to use g++ to compil it. I try to make the recipe like this :

DESCRIPTION = "Traitement d'image destiné a la gumstix"

PR = "r8"


SRC_URI = " \
  file://Timage.c \

S = "${WORKDIR}"

do_compile () {
    g++ ${CFLAGS} ${LDFLAGS} -I/usr/local/include/opencv -lcv -lhighgui
-lstdc++ -o Timage Timage.c


do_install () {
    install -d ${D}${bindir}/
    install -m 0755 ${S}/Timage ${D}${bindir}/

FILES_${PN} = "${bindir}/Timage"

But there is probably a problem with g++ ? Because the error is :
NOTE: package Timage-1.0.0-r8: task do_package: started
arm-angstrom-linux-gnueabi-objcopy: Unable to recognise the format of the
input file

Anyone could Help me please ?

Thank you !
View this message in context:
Sent from the Gumstix mailing list archive at

This email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.;198757673;13503038;p?
gumstix-users mailing list