11-17-2025 04:21 PM
I recently upgraded to LabVIEW 2025 Q3, and have a very fairly simple application that I need to bundle into an executable. This program relies only on some OpenG libraries, and most of it was written for LabVIEW 2013 (so no channels, Actors, Vision module, FPGA, other application frameworks). It does use LVOOP, and has a few hundred VIs.
I've successfully built this project before with this newer LabVIEW, and with very few code changes I arrived at this error. It's quite cryptic, and doesn't really say where I should start looking. I have mass compiled the entire project with no errors.
I saw this thread: https://forums.ni.com/t5/LabVIEW/Broken-Build-Application-EXE-from-VI/td-p/4366881
The file path of all files in the project are significantly shorter than the 255char path limit, so I don't think that's it. The destination path for the executable is under 50 characters.
Any ideas?
11-18-2025 01:07 AM
Hi imt-proxy,
Is there any more extended version of the error message?
11-18-2025 02:30 AM
@imt-proxy wrote:
Any ideas?
Nothing specific to this, but:
11-18-2025 03:42 AM
Try adding:
NewAppBuilderCache.Enabled=False
to your labview.ini file
11-18-2025 03:43 AM
@imt-proxy wrote:
I recently upgraded to LabVIEW 2025 Q3, and have a very fairly simple application that I need to bundle into an executable. This program relies only on some OpenG libraries, and most of it was written for LabVIEW 2013 (so no channels, Actors, Vision module, FPGA, other application frameworks). It does use LVOOP, and has a few hundred VIs.
I've successfully built this project before with this newer LabVIEW, and with very few code changes I arrived at this error. It's quite cryptic, and doesn't really say where I should start looking. I have mass compiled the entire project with no errors.
I saw this thread: https://forums.ni.com/t5/LabVIEW/Broken-Build-Application-EXE-from-VI/td-p/4366881
The file path of all files in the project are significantly shorter than the 255char path limit, so I don't think that's it. The destination path for the executable is under 50 characters.
An easy check would be to do a simple check by changing the destination path for the build to something very short like C:/build. I had inherited applications in the past that could only be build into such a location. When LabVIEW is building the application, it basically copies all the VIs and other dependencies into the build destination with the full hierarchy of the VIs relative to the project file and then zips it up with a custom header to prevent random ZIP utilities from treating the executable as ZIP file and then slapping a binary loader stub to the file, which locates the proper LabVIEW runtime and then hands the internal ZIP archive to it for execution.