LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Error message -5093 LibraryNotFoundAnalysErr in library on different computer

Solved!
Go to solution

Hello,

I've created a library which uses advanlys.lib 64bit. I'm using CVI 2020 64bit. advanlys.lib is linked as a static library.

I'm working with Visual Studio 2017.

 

Now I compile and run the project on a different computer without a CVI installation. I added the library advanlys.lib to the project.

Compilation works fine. No linker errors.

But when I run the program in Visual Studio the error "-5093 LibraryNotFoundAnalysErr" occurs at the first call of an CVI function.

 

What does I have to do, that it will work on computers without a CVI installation?

 

Regards

Heiko

 

0 Kudos
Message 1 of 5
(1,800 Views)

advanlys.lib/dll is just a thin wrapper around the Intel Math Kernel library. This needs to be installed on your computer in addition to your application. Best is to create an installer from your CVI project for your application and make sure that the support for Advanced Analysis is included into the installer.

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 5
(1,772 Views)

Hi Rolf,

Thanks for the answer. But I don't have a project in CVI.

I've included the analysis library directly in my C++ project in Visual Studio 2017.

 

How can i create an installer in this case?

 

Heiko

0 Kudos
Message 3 of 5
(1,756 Views)

That’s of course unsupported and in fact legally questionable. The Math Kernel Library is since a long time not anymore free as in free beer. NI has a license agreement to use in in their products but if you don’t use their product your use of the Intel MKL falls not under that license. You would need to check with Intel what the licensing situation is. Note that the MKL is since quite some time part of the larger Intel One API suite. But the NI license deal with Intel predates that.

Rolf Kalbermatter
My Blog
0 Kudos
Message 4 of 5
(1,729 Views)
Solution
Accepted by topic author ttl_01

I asked the support for a solution: Installing a CVI runtime engine on the other computer solved the problem.

 

Greetings

Heiko

0 Kudos
Message 5 of 5
(1,701 Views)