...
- In order to create your first Hello World program, click File -> New -> C/C++ Project
- Select C Managed Build
- In the [C Project] window
- Project name: (give it a name such as Hello World)
- Project Type: Executable / Hello World ANSI C Project
- Toolchains: Cross GCC
- In the [Basic Settings] window
- In the [Select Configurations] window
- In the [Cross GCC Command] window
- Cross compiler prefix: aarch64-poky-linux-
- Cross compiler path: /usr/bin
Image RemovedImage Added
- When you click Finish, a new project with the name given will be created.
- In order to get it correctly built, you need to adjust some build settings
- Right click on the project, then select Properties.
- When the setting windows pop-up, expand C/C++ Build and select Settings.
- Expand Cross GCC Compiler and select Miscellaneous. To "Other flags", add at the end --sysroot=${SDKTARGETSYSROOT}.
- Expand Cross GCC Linker and select Miscellaneous.Add flags --sysroot=${SDKTARGETSYSROOT}
- Click 'Apply and Close'
...
{"serverDuration": 130, "requestCorrelationId": "5b751cda9eb22de6"}