09-05-2023 08:16 AM
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
Solved! Go to Solution.
09-06-2023 01:39 AM
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.
09-06-2023 04:50 AM
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
09-06-2023 11:05 AM
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.
09-08-2023 06:38 AM
I asked the support for a solution: Installing a CVI runtime engine on the other computer solved the problem.
Greetings
Heiko