LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cryptic "LabVIEW: (Hex 0x55A) The selected build failed to complete." error in 32-bit Application Builder application

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?

0 Kudos
Message 1 of 5
(143 Views)

Hi imt-proxy,

Is there any more extended version of the error message?

_________________________
using LV 2025 Q3
0 Kudos
Message 2 of 5
(101 Views)

@imt-proxy wrote:


Any ideas?


Nothing specific to this, but:

  1. There are a couple of logging options you can enable (one in the build settings and one in the LabVIEW INI file), which might give you more information.
  2. You can try a binary search. Disable the entire code and see if it builds. If it does, disable only half and see if it builds. Keep iterating to see if you can find a specific portion of the code which makes the build fail. This can be tricky, but depending on the root cause, can also potentially be effective.

___________________
Try to take over the world!
0 Kudos
Message 3 of 5
(83 Views)

Try adding:
NewAppBuilderCache.Enabled=False

to your labview.ini file

0 Kudos
Message 4 of 5
(76 Views)

@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.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 5 of 5
(74 Views)