ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Build application - missing library

Solved!
Go to solution

Hello 

 

I created a VI and built an application which successfully worked on a secondary computer. I then added some additional functions which included the Solve Linear Equations VI  from NI_MASM_BasicLinAlg library. 

 

The program no longer works with the secondary computer and produces error message: 

'Resource not found. MASMT_LINALG.dll. An error occurred loading VI 'NI_MASM_BasicLinAlg.lbvlib:Solve Least Squares Problems (nRHS, DBL).vi'.'

 

The VI in question is listed in the dependencies in the project, could someone please help me.

 

Thanks

0 Kudos
Message 1 of 4
(4,562 Views)

How did you transfer your new executable to your secondary computer? Perhaps by just copy-paste of the exe-file?

 

Well, that Solve Linear Equation.vi now calls a DLL, the lvanlys.dll. This usually is save in a sub-directory "data" during the build process. I assume that you did not transfer that subdirectory to your secondary computer.

 

Another idea: Which version of the LabVIEW run-time engine is installed on your secondary computer? I hope it is the full version.

 

Regards, Jens

Kudos are welcome...
0 Kudos
Message 2 of 4
(4,545 Views)

Hello Jens, 

Thanks for your response. I am copying the .exe file and the data folder with 

- lvanlys.dll

- lvsound2.dll

- MASMT_LINALG.dll

 

The exe file and the data folder are located in the same folder. 

 

On my development computer I have multiple Runtimes listen 2011/12/13/14/15 and on my secondary computer I have Runtime 2009/2014/2015. (I have taken this from the 'software' tab on NI MAX. I have checked the 2014 runtime (my LabVIEW version is 2014) and I believe it is the full version because a previous post said the full version file size should be around 200MB which it is. 

 

Hope that helps. 

 

Thanks

0 Kudos
Message 3 of 4
(4,539 Views)
Solution
Accepted by topic author Cran91

After hours of trying different things I have managed to solve it and I think the solution was both of the following:

 

1. Copying the dll file that the application could not find into C: \ Program Files (x86) \ National Instruments \ Shared \ LabVIEW Run-Time \ 2014) on the second computer

 

2. Create an installer build with the add-in 'LabVIEW Multicore Analysis and Sparse Matrix Toolkit' which is where I eventually found out the VI in question was from 

 

 Thanks

0 Kudos
Message 4 of 4
(4,517 Views)