Error -19037 During Build if Package Includes a .lvlibp File in NI Package Builder

Updated Mar 25, 2025

Reported In

Software

  • NI Package Builder

Issue Details

  • When trying to build a package that contains a LabVIEW Packed Project Library in the NI Package builder I am getting the following error:

Error -19037: The following packed project libraries contain dependencies that are not within the image directory or its subdirectories

 

Solution

This issue occurs because the NI Package Builder cannot successfully process the Packed Project Libraries (PPL) dependencies and neither relink them. In order to solve this issue, follow the next steps:

  1. For the Packed Project Library included in the project, uncheck the Processing during staging option in the input item Properties pane.

2. Add the dependencies to the package by right-clicking the package and selecting Add Dependencies...

3. Build the Package.

Additional Information

Enabling the Process During Staging option to process the PPL during staging causes NI Package Builder to force the inclusion of all low-level dependencies typically supplied by runtime and driver installers, leading to unexpected errors like this. To avoid this issue, simply uncheck the property.