Thank you. By typing the code again the eroor solved. but an another error.

Should i post in new mail or here is ok.

error:

ERROR: helloworld-1.0-r0 do_compile: Function failed: do_compile (log file is located at /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-r0/temp/log.do_compile.23742) ERROR: Logfile of failure stored in: /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-r0/temp/log.do_compile.23742
Log data follows:
| DEBUG: Executing shell function do_compile
| arm-angstrom-linux-gnueabi-gcc: error: helloworld.cpp: No such file or directory
| arm-angstrom-linux-gnueabi-gcc: fatal error: no input files
| compilation terminated.
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-r0/temp/log.do_compile.23742) ERROR: Task (/home/cc/src/oe-core/build/../layers/meta-layer/recipes-hi/helloworld/helloworld_1.0.bb:do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 591 tasks of which 584 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory

Summary: 1 task failed:
/home/cc/src/oe-core/build/../layers/meta-layer/recipes-hi/helloworld/helloworld_1.0.bb:do_compile
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.


Am 30.03.2017 um 11:10 schrieb Fabien Lahoudere:
The line is parsed here.
Did you copy paste the quote from a tutorial on internet?
Sometime encoding lead to such issues.

On Thu, 2017-03-30 at 11:00 +0200, Yuvarajesh Valleru wrote:
No,
Sorry. I haven't left it. The please find the file below:
SUMMARY = "hello world program"
HOMEPAGE = "http://www.yoctoproject.org/";
SECTION = "network"
LICENSE = "CLOSED"
inherit qt4e

SRC_URI = " \
     file://helloworld.pro \
     file://helloworld.cpp \
     "

S = "${WORKDIR}"

QMAKE_PROFILES = "${WORKDIR}/helloworld.pro \
     "

do_compile() {
         ${CC} helloworld.cpp -o helloworld
}

do_install() {
         install -d ${D}${bindir} ${D}${docdir}/helloworld
         install -m 0644 helloworld ${D}${bindir}
}

Am 30.03.2017 um 10:56 schrieb Burton, Ross:
On 30 March 2017 at 09:14, Yuvarajesh Valleru <y...@iseg-hv.de> wrote:
SUMMARY = "hello world program"
HOMEPAGE = "http://www.yoctoproject.org/";
SECTION = "network"
LICENSE = "CLOSED"
inherit qt4e

SRC_URI = " \
     file://helloworld.pro \
     file://helloworld.cpp \
     "

S = "${WORKDIR}"

QMAKE_PROFILES = "${WORKDIR}/helloworld.pro \
     "

do_compile() {
         ${CC} helloworld.cpp -o helloworld
}

do_install() {
         install -d ${D}${bindir} ${D}${docdir}/helloworld
         install -m 0644 helloworld

Did you leave out the trailing } here in the real file?

Ross

--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to