Using SDK in IDE (Eclipse)¶
Installing Eclipse IDE¶
Eclipse is a Java-based application and it requires a Java runtime environment (JRE) to be installed in order to run. Install the default OpenJDK package with:
sudo apt install default-jre
Download Eclipse IDE installer for
Linux 64-bit version from https://www.eclipse.org/downloads/
The name of downloaded file will be
eclipse-inst-linux64.tar.gz. Extract the archive and :
Select Eclipse IDE for C/C++ Developers and click INSTALL. After installation to Open Eclipse go to installation directory
Opening SDK Projects in Eclipse IDE¶
To open your VEGA SDK project in Eclipse IDE, goto File -> New -> Makefile Project with Existing Code
Browse to existing code location,
Select ‘CROSS GCC’ option for toolchain indexer and click Finish button.
To Create a new project refer Creating a Project Section of Documentation.
Building SDK Projects in Eclipse IDE¶
In the Project Explorer tab right click and select Build Project to build the selected project.
Selecting Clean Project will Clean the target program build directory.
Running SDK Projects in Eclipse IDE¶
In the Project Explorer tab right click and select Show in Local Terminal -> Terminal.
In Terminal Tab give command