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: Remember, we're now requiring VirtualBox 4.2.2 for tests using Guest Additions. To update setup, please read:
  2. https://wiki.apertis.org/Docs/VirtualBox_Guest_Additions

  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!!!").