Creating a Library Project - 2025.2 English - UG1400

Vitis Unified Software Platform Documentation: Embedded Software Development (UG1400)

Document ID
UG1400
Release Date
2025-11-20
Version
2025.2 English
A collection of object files linking to a program during the compile time is a static library. Creating an application requires a platform.

To create a library component, select File > New Component > Static Library.

  1. Input the Static Library component name and specify the location. Click Next.
  2. Select a fixed platform and select Next.
    Note: If you do not have an existing fixed platform, refer the chapter Creating a Platform Component from XSA to create a platform. If your target platform is not in the list, you can add it by clicking the '+' button.
  3. Select the target processor domain for the library, and select Next.
  4. Click Add Files or Add Folders to import the source file for the library, and select Next.
    Note: You can import source files after creating a library component by right clicking the SRC folder and import the source.
  5. Review the summary and click Finish.
After creating a library component, you can select to build it in Flow Navigator. For more information on compiler setting, refer to Build Configuration Settings.
Note: Vitis does not provide linker support for library component. Omit Linker setting if you check the build configuration settings.