sdk-ide-build-run-program manual
medium
- Image Types:
- sdk-amd64
- Image Deployment:
- APT
- Type:
- functional
Description
Creates a simple test project and confirms that compiling and executing work.
Pre Conditions
- For SDK image: Please check ~https://www.apertis.org/guides/virtualbox/#virtualbox-supported-version
- To update setup, please read ~https://www.apertis.org/guides/virtualbox/#guest-additions-under-virtualbox-sdk-images
- Download the virtual machine image for the latest SDK release from:
Execution Steps
- Open Eclipse.
- If prompted to choose a workspace, click OK.
- Click File > New > Project
- Select C Project under C/C++
- Name the project "Hello World" and, under Executable, click Hello World ANSI C Project and choose the Linux GCC toolchain.
- Note the simple Hello World code in the main portion of the window.
- Click Project > Build All
- Click Run > Run
- If prompted with "Errors exist in a required project. Continue launch?", click Yes.
Expected
The Console tab at the bottom should show the output of the program ("!!!Hello World!!!").