[eclipse-yocto] Cmake error in eclipse

akshaya dalu akshaya.cool.cool at gmail.com
Sun Apr 29 07:39:07 PDT 2018


Hello,

As a beginner I want run hello world program in emulator.But whenever I run
frm Run->external tools->qemu_i586poky linux I get below error.








*Build of project failed with the following error:CMake Error: Could not
find CMAKE_ROOT !!!CMake has most likely not been installed
correctly.Modules directory not found
in/home/akshaya/Yocto/poky/build/sysroots/x86_64-pokysdk-linux/usr/share/cmake-3.5CMake
Error: Error executing cmake::LoadCache(). Aborting.*
Cmake file is available in /home/akshaya/Yocto/poky/build
/sysroots/x86_64-pokysdk-linux/usr/share/cmake-*3.10*.

* Should I search and paste the CMAKE_ROOT  file in tat particular
location???*

*i have referred
https://wiki.yoctoproject.org/wiki/TipsAndTricks/Cmake,Eclipse,_and_SDKS
<https://wiki.yoctoproject.org/wiki/TipsAndTricks/Cmake,Eclipse,_and_SDKS>
. I have added commands in local conf file and run the bitbake
core-image-sato -c populate_sdk command.Below the link i dont know how to
configure cmake in eclispe because i dont find the below option in
eclipse.Project->Properties->C/C++ Build/Setting/CMake configure *

Can you help me???


-- 
Regard,
Akshaya.M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/eclipse-yocto/attachments/20180429/94e07c9b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2018-04-27 16-01-38.png
Type: image/png
Size: 226022 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/eclipse-yocto/attachments/20180429/94e07c9b/attachment-0001.png>


More information about the eclipse-yocto mailing list