이 내용은 고객님의 설정 언어로 확인할 수 없습니다

이 내용은 다른 사용 가능한 언어로 표시됩니다. 고객님께서 사용하시는 브라우저에 텍스트 번역에 도움이되는 기능이 포함되어 있을 수 있습니다.

Missing External Function or Resource Not Found When Compiling EXE in LabVIEW

Updated Apr 3, 2019

Reported In

Software

  • LabVIEW
  • LabVIEW Application Builder Module

Issue Details

When building the code into an executable I get either error "Missing external function" or "Resource not found". 

This code worked in LabVIEW 2015 and previous, however when using 2017 and 2018 these errors occasionally occur. 

Solution

 
  1. When swapping between versions of LabVIEW, linking errors can occur with built executables, due to the dependencies being compiled in a different version of LabVIEW. Resolves this by mass compiling the files in the LabVIEW Project.
  2. This issue can also occurs when a dependency is missing on the computer you are trying to run the executable on. This can be resolved by building the executable into an installer. In an installer you can add in dependencies and the necessary drivers and LabVIEW Run Time version. 

Additional Information

The application builder will not by default build any dynamically linked dependencies if it recognizes those resources already being there. 
There's no bug in here, it's just the logic which the application builder uses to minimize build time.