Ce contenu n’est pas disponible dans votre langue préférée.

Le contenu est disponible dans une autre langue. Votre navigateur peut inclure des fonctionnalités qui vous aideront à traduire le texte.

Error 1 When Building Executable in LabVIEW

Updated Aug 13, 2019

Reported In


  • LabVIEW

Issue Details

I'm trying to build a new executable from my LabVIEW project. 
When I press the Build button I receive the following error: 

Error copying files.
Destination: C:\Users\....\Documents\test

Librarian Path Location.vi"
Error 1 occurred at AB_Destination.lvclass:

What is the problem?


The problem may be caused by anti-virus or Windows security policy on the development computer.

In order to solve this issue, you can try the following:
  1. Disable any anti-virus temporarily for troubleshooting.
  2. Run LabVIEW as administrator by right-click LabVIEW shortcut and select Run as administrator. 
  3. Open LabVIEW and then your project. 
  4. Build your executable. It should build without this error.
Note: In case you shutdown, restart or log off your computer, LabVIEW will return to the default privileges. 

If these steps resolve your issue, you may choose to examine your anti-virus and permissions settings in Windows for the source of the problem.  LabVIEW does not normally require administrative rights to build applications, and works with most anti-virus software.

If you are using a low-level driver in your project, such as user32.dll, you may also encounter this error when trying to include the shared library in your build. To resolve this issue, you can try the following:
  1. If using a Call Library Function Node, set the path to just the name of the dll, such as user32.dll in the Call Library Function Node settings. Do not specify the path as the full path to the dll.
  2. In your build specifications, navigate to the Additional Exclusions tab on the left side
  3. Check the box next to Exclude dependent shared libraries. This will cause the executable to rely on the operating system of the target computer to find and use the appropriate low-level driver that should already come installed with the operating system.
  4. Build your executable. It should build without this error.

Additional Information

If you want to configure LabVIEW  that always will run as administrator, here are some suggestions how: