LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 6 in building Executable Apllication

Solved!
Go to solution

Building an executable(.exe) and getting this error can anybody help::

 

Error 6 occurred at Copy in
AB_Targetfile.lvclass:PostBuild.vi->
AB_Application.lvclass:PostBuild.vi->
AB_Engine_Build.vi->
AB_Build_Invoke.vi->
AB_Build_Invoke.vi.ProxyCaller

 

 

Its working with normal cRIO,FPGA interconnected operation.

 

Can any body help please

 

0 Kudos
Message 1 of 3
(2,223 Views)
Solution
Accepted by topic author Ather.Iq

Hi Ather.lq,

 

An error 6 is usually generated when you are building a distribution and the file path of a file in the project extends beyond the 255-character limit allowed by Windows. Here are some troubleshooting steps that may help:

 

  1. Use a shorter path, like c:\
  2. Ensure that your file path is not pointing to an incorrect drive, such as a CD or DVD drive.
  3. For application (EXE) or shared library (DLL) builds, place a checkmark in the Use LabVIEW 8.x file layout checkbox on the Advanced page of the build specification Properties dialog box. 

  4. For a source distribution or web service builds, uncheck the Preserve disk hierarchy checkbox on the problem on the Destinations build specification page located under the Destination type.

 

Let me know if this helps or if your problem persists!

David H.
National Instruments
0 Kudos
Message 2 of 3
(2,183 Views)

Thanks Alot!!

 

I have tried the same thing from seeing on another discussion post and it builds the application.

 

🙂

 

0 Kudos
Message 3 of 3
(2,172 Views)