LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 8.5.1 "The build was unsuccessful"

When attempting to build my executable in LabVIEW 8.5.1 I get the following dialog:
 
 
I've tried recreating my build specification, reinstalling LabVIEW, commenting out sections of my code and nothing seems to help.  Has anyone encountered this before?  Any ideas NI?


Message Edited by FlamingYawn on 07-08-2008 11:24 AM
Robert Mortensen
CLA, CLED, LabVIEW Champion, Principal Systems Engineer, Testeract
0 Kudos
Message 1 of 13
(3,893 Views)
Hi,
 
Are you building a .exe application? In that case, please verify that all your startup and always included VIs exist in the same path and have been properly compiled. You can try Tolls<VI Analyzer< Mass Compile. Also are you using DSC or shared variables in your code?
 
Ipshita C.
National Instruments
Applications Engineer
0 Kudos
Message 2 of 13
(3,847 Views)
Hi Ipshita,
 
Thanks for responding. 
 
Yes, this is "a .exe application." 
 
My startup path is correct, and I tried building with all my "always included" VIs removed.  Same error.
 
I've mass compiled several times.
 
I'm not using DSC or shared variables.
 
I'm able to build the executable on another computer with the exact same project and code (we use source code control), so something must be different about my environment or setup.
 
Thanks,
 
Robert
Robert Mortensen
CLA, CLED, LabVIEW Champion, Principal Systems Engineer, Testeract
0 Kudos
Message 3 of 13
(3,842 Views)

I have seen this error before, but when I was using 8.20 and the Touch Panel module (compliling a CE .exe).  The build error tells you absolutely nothing about how to resolve it Smiley Mad.  However, after some trial and error I found the problem (in my case) was that labview was having trouble overwriting the .exe from a previous build.  That is, the target destination for the build already had a .exe from a previous build and it would not replace it.

If you have any files in the target destination for the build, try deleting them and then run the build.  Typically you don't have to do this.  Usually can do a rebuild into the same directory and LV will replace the old build. 



Message Edited by StevenA on 07-09-2008 01:54 PM
SteveA
CLD

-------------------------------------
FPGA/RT/PDA/TP/DSC
-------------------------------------
0 Kudos
Message 4 of 13
(3,836 Views)
Thanks for responding, Steven.
 
I've seen the problem you mention as well.  Especially when dealing with source code control.  However that's not the problem in this case.  I cleaned out the destination directory to make sure that wasn't the problem.
 
Thanks,
 
Robert
Robert Mortensen
CLA, CLED, LabVIEW Champion, Principal Systems Engineer, Testeract
0 Kudos
Message 5 of 13
(3,828 Views)
I wonder if it could still be related if for some reason LV cannot get the folder access rights it needs. 
SteveA
CLD

-------------------------------------
FPGA/RT/PDA/TP/DSC
-------------------------------------
0 Kudos
Message 6 of 13
(3,821 Views)

When I diagram disable all of my code, the executable builds fine.  So that would seem to rule out folder rights.

I uninstalled all NI software and drivers from my computer, reinstalled them, and I still get the error.

NI, what conditions cause the dialog to be blank as shown above?



Message Edited by FlamingYawn on 07-09-2008 04:44 PM
Robert Mortensen
CLA, CLED, LabVIEW Champion, Principal Systems Engineer, Testeract
0 Kudos
Message 7 of 13
(3,818 Views)
Figured it out.  What's causing it, at least.  Not why.
 
I added 2 GB of RAM a little while back, upping my memory to 4 GB.
 
I didn't know WIndows had a problem using the full 4 GB; it was only using 3 GB, but that's another issue.
 
One of the fixes I read had me add "/PAE" (Physical Address Extension, or something like that) to c:\boot.ini.  It didn't help, but I left it there.
 
When I removed it, the build worked.
 
Maybe NI can figure out why.
Robert Mortensen
CLA, CLED, LabVIEW Champion, Principal Systems Engineer, Testeract
0 Kudos
Message 8 of 13
(3,808 Views)
That is really strange.  I'm interested to see if NI can determine why.
SteveA
CLD

-------------------------------------
FPGA/RT/PDA/TP/DSC
-------------------------------------
0 Kudos
Message 9 of 13
(3,792 Views)
Removing /PAE isn't enough, now.  I need to have /3GB in order to build.
Robert Mortensen
CLA, CLED, LabVIEW Champion, Principal Systems Engineer, Testeract
0 Kudos
Message 10 of 13
(3,772 Views)