You can create an application component from the example template by following the steps below:
- Go to Ctrl + Shift + R shortcut keys to open the Example view. , or click , or click the toolbar on the left side or use
- Click the example in the example list.
- Click Show details to the requirement of the template.
- Click Create Application Component from Template. Refer to Creating an Application Component for details.
When creating any Linux application component, you can select a third party sysroot toolchain in the GUI by selecting the checkbox and providing the path as seen below.
If use sysroot toolchain
is
disabled, then the default gcc compiler will be used. Furthermore, if the user
passes a path that does not have any gcc or g++ compilers, then Vitis will throw an error.
For the CLI flow,
add the following arguments to your
create_app_component
command:use_sysroot_toolchain=True
sysroot_toolchain=<TOOLCHAIN_PATH>