Intel® Aero Platform For UAVs
Peer-to-peer support only
This is a peer-to-peer only forum. This forum is not monitored by Intel.
775 Discussions

Setting Eclipse IDE for developing on Intel Aero


I followed the wiki Quickstart Guide to build the image and Hello World example.

However, this example run on console so it's hard to run/debug.

Is there some guide to developing using Eclipse IDE.

4 Replies
Community Manager

Hello tranxuankhanh,



Thanks for reaching out!



As you mentioned, there is no official way to develop for Aero using Eclipse. However, as you may know Aero's OS is based on Yocto, specifically on Yocto 2.1. If you check Yocto's official documentation, specifically Yocto's Mega Manual ( setting-up-the-eclipse-ide), you'll eventually get to chapter 8, in this chapter it's explained the standard Yocto SDK and how to use it. This includes how to install it and how to develop applications using Eclipse.



So, if you'd like to use Eclipse to develop applications you might be interested in checking this option. Please be aware that I have not tested this, but this is the tool that enables other development boards to be programmed through Eclipse. Please also note that since this is not official it is out of the support scope.



In Yocto's documentation they also link a video explaining how to use Yocto's Eclipse plugin, if you are interested in this idea, then you might like to check it out:



I hope this information helps you,


Pedro M.
Community Manager

Hello tranxuankhanh,



Do you have any updates about this?



Pedro M.

I followed your link and configured the Eclipse IDE successfully.

Below are summary step to do this thing

1) Build image

cd poky

export TEMPLATECONF=meta-intel-aero/conf/

source oe-init-build-env

bitbake intel-aero-image

2) Build toolchain

bitbake meta-toolchain

3) Install toolchain

cd tmp/deploy/sdk/


3) Install Yocto Plug-in to Eclipse

"Help" --> "Install New Software..."

Add "Work with" link

Install all Yocto plugins

4) Configure Yocto plugin

"Windows" --> "Preferences" --> "Yocto Project ADT" --> "Cross Compiler Options:"

Select "Standalone pre-built toolchain"

Browse "Toolchain Root Location" to installed tool chain in step 2, default is "/opt/poky/2.1.1"

Browse "Sysroot location" to "poky/build/tmp/sysroots/intel-aero"

Select "Target Architecture" to "core2-64-poky-linux"

5) Create Hello World project

"File" --> "New" --> "C++ Project"

Select project type "Yocto Project ADT Autotools"

6) Compile librealsense example

Copy all files in librealsense example to Hello World project

cp -r poky/build/tmp/work/core2-64-poky-linux/librealsense/1.9.4-r0/git/examples/* eclipse/workspace/hello/src/

Copy content of "cpp-capture.cpp" to "helloWorld.cpp"

Configure project before build

"Project" --> "Properties" --> "Autotools" --> "Configure Settings"

Add header search path

"Configure" --> "Directories" --> "C Header file ..." to "${Sysroot}/usr/include"

Add C++11 support

"Configure" --> "Advances" --> "C Header file ..." to "${Sysroot}/usr/include"

CXXFLAGS="${CXXFLAGS} -std=c++11" CPPFLAGS="${CPPFLAGS} -std=c++11"

Add library by insert below lines to ""

AM_LDFLAGS += -lrealsense -lglfw -lGL

Community Manager

Hi tranxuankhanh,



Thanks a lot for sharing this data with the community. I'm sure it will be of much help for other users in the forum.



If you ever have any other questions, please don't hesitate to come back to the community.



Pedro M.