04-24-2012 09:46 PM - edited 04-24-2012 09:54 PM
I'm working on a large project (~5000 VIs, LV2011 SP1, Win7 32bit) and have recently starting having issues with the Application Builder. This follows after 3-4 years of successful builds on this project...
When I attempt to build my top-level application the following happens:
1. "Build status" window opens as normal and starts processing my files:
2. Eventually the progress bar reaches approximately half way and the message changes to "Compiling...":
3. Next, the progress bar suddenly jumps to the end and the message changes to "Saving...". Also, the "Done" button becomes active as though the build has completed. The window stays like this forever. Notes about this dialog:
4. If I browse to my build folder then I see that the temporary build files are still sitting there, i.e. the builder has failed to create my exe...
When I enable logging I see that all files appear to be successfully processed (by comparing with a previous successful build log), but the log stops BEFORE writing the "[Output File Version]" section...
Anyway - I'm in the process of rolling back a large number of small changes to see if I can isolate which of my code changes caused this issue.
Does anyone out there know what might cause the application builder to get as far as it does, thinking that it is done (even though it is not)?
Thanks for any ideas...
Solved! Go to Solution.
04-25-2012 10:38 AM
Hmmm...
I'm suspicious. there was a app builder bug "Fix" in 2011SP1 for builds sometimes unsuccessful. A few things come to mind to try.
Retry the build.
Clean the build and retry
delete the destination directory manually and retry.
Then rollback and see if you did it.
05-06-2012 11:33 PM
Well - I eventually managed to isolate the issue... Corrupt code is attached!
The attached code is a stripped down version of a dialog that is used in my project. The issue turned out to be related to the radio control inside the tab control:
The solution:
ASIDE: I have not checked whether including this library in another application will cause its build to fail too... Something to try on a rainy day!