[yocto] populate_sdk cmake and eclipse

Ruben Schwarz r.schwarz at sotec.eu
Wed Apr 27 06:22:55 PDT 2016


Hi,

we created our own image for our custom hardware with yocto jethro.
Everything works fine, thanks for this great tools!

Now more developers have to write software for our project. I did the
following steps to set up a application dev environment (as mentionend in
application developers guide):

1. Create sdk: bitbake myImage -c populate_sdk
2. copy generated sdk.sh to a fresh installed ubuntu 14.04 and execute.
Toolchain is installed in /opt/poky/2.0.1/
3. install eclipse and the eclipse yocto plugin as mentionend in the docs.
4. Create a new Yocto Autotools C++ Project -> Build -> copy to target ->
Execute -> everything is fine!
5. Create a new Yocto CMake C++ Project -> Build -> Error: unable to run
cmake
6. Compile cmake project by hand:
cd PROJECT_FOLDER/Debug
source /opt/poky/2.0.1/environment_setup...
cmake ..
make

compiles without errors

*Now my questions:*
Anybody here who uses a sdk with eclipse and cmake?
Did I miss any configuration?

Not directly regarded to this problem:
Anybody here who uses JetBrains CLion with a yocto toolchain/sdk?

Thanks in advance and best regards
Ruben

-- 


Besuchen Sie uns auf der Hannover Messe vom 25. - 29. April, Halle 7, Stand 
D 34 auf dem Gemeinschaftsstand Baden-Württemberg! weitere Informationen 
<http://ow.ly/ZR5TO>

Besuchen Sie unseren Chrome Webshop unter shop.cloudwuerdig.com

www.sotec.eu | www.cloudwuerdig.com 
-- 
SOTEC Software Entwicklungs GmbH + Co Mikrocomputertechnik KG 
Calwer Straße 11, D-75395 Ostelsheim 
Sitz Ostelsheim, Amtsgericht Stuttgart HRA 330821/HRB 330664, 
Geschäftsführer: Florian Holz 
Cloudwürdig® ist eine eingetragene Marke der SOTEC Software Entwicklungs 
GmbH + Co Mikrocomputertechnik KG

Der Inhalt dieser e-Mail ist ausschließlich für den bezeichneten Adressaten 
bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser e-Mail oder dessen 
Vertreter sein sollten, so beachten Sie bitte, dass jede Form der 
Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des 
Inhalts dieser e-Mail unzulässig ist. Wir bitten Sie, sich in diesem Fall 
mit dem Absender der e-Mail in Verbindung zu setzen.

The content of this e-mail is meant exclusively for the person to whom it 
is addressed. If you are not the person to whom this e-mail is addressed or 
his/her representative, please be informed, that any form of knowledge, 
publication, duplication or distribution of the content of this e-mail is 
inadmissible. We ask you, therefore, in such a case to please contact the 
sender of this e-mail.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160427/a1c75748/attachment.html>


More information about the yocto mailing list