Hello,

I am using CMake with Yocto and working on the hellocmake example provided here: https://github.com/joaocfernandes/Learn-Yocto/blob/master/develop/Recipe-CMake.md
When I bake the hellocmake recipe it builds perfectly the first time. But when I make any change in the source file 'hellocmake.cpp' and bake, I get the following error:

ERROR: hellocmake-1.0-r0 do_install: Execution of '/home/developer/work/build/tmp-glibc/work/cortexa72-oe-linux/hellocmake/1.0-r0/temp/run.do_install.147' failed with exit code 1:
abort()ing pseudo client by server request. See https://wiki.yoctoproject.org/wiki/Pseudo_Abort for more details on this.
Check logfile: /home/developer/work/build/tmp-glibc/work/cortexa72-oe-linux/hellocmake/1.0-r0/pseudo//pseudo.log
Child aborted
CMake Error: Generator: execution of make failed. Make command was: ninja -v -j 4 install &&
WARNING: exit code 1 from a shell command.

ERROR: Logfile of failure stored in: /home/developer/work/build/tmp-glibc/work/cortexa72-oe-linux/hellocmake/1.0-r0/temp/log.do_install.147


I want to know what I am doing wrong? I noticed that if I clean the previous build of hellocmake, I do not get this error. How can I make sure that CMake works every time with yocto?

With regards,

Ishu Goel
Software Designer

 

 

 

Nobleo Technology BV

Heggeranklaan 1

5643BP Eindhoven


ishu.goel@nobleo.nl

I   www.nobleo.nl