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

  1. For SDK image: Please check ~https://www.apertis.org/guides/virtualbox/#virtualbox-supported-version
  2. To update setup, please read ~https://www.apertis.org/guides/virtualbox/#guest-additions-under-virtualbox-sdk-images
  3. Download the virtual machine image for the latest SDK release from:
  4. https://images.apertis.org/


Execution Steps

  1. Open Eclipse.
  2. If prompted to choose a workspace, click OK.
  3. Click File > New > Project
  4. Select C Project under C/C++
  5. Name the project "Hello World" and, under Executable, click Hello World ANSI C Project and choose the Linux GCC toolchain.
  6. Note the simple Hello World code in the main portion of the window.
  7. Click Project > Build All
  8. Click Run > Run
  9. 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!!!").