LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

'Mesa.dll could not be found' received from CVI 2010 installation

Solved!
Go to solution

When I launch an executable that was installed from a distribution kit created with CVI 2010 (360), I get the message 'Mesa.dll could not be found'. But I can see that the file was installed at C:\Program Files\National Instruments\Shared\Mesa.  If I replace this file with an older mesa.dll from a previous version of CVI, my newly installed executable launches correctly.

0 Kudos
Message 1 of 13
(19,854 Views)

Hi mrtqs,

 

I tried to reproduce this issue by building and installing a distribution kit using an example that calls Mesa.dll.  However, I did not receive any errors.  Can you give me some more information on what you were trying to build when you ran into this?

 

 

Regards,

Hassan Atassi
Director, ni.com
0 Kudos
Message 2 of 13
(19,834 Views)

Hi Hassan:

 

I should have mentioned in my original message that in the 'Drivers & Components' tab of the 'Edit Installer' dialog box, I only select the following under the 'LabWindows/CVI Run-Time Engine':

1) Standard Run-Time

2) Analysis Support

3) ActiveX Container Support

4) Low-Level Support Driver

This configuration has always worked for me with previous CVI versions.

I'm building a 32-bit distribution kit in Windows XP SP3.

I am attempting to install on computers that have no other CVI files on them from previous installations.

 

Thanks for your help,

mrtqs

0 Kudos
Message 3 of 13
(19,831 Views)

Hassan:

 

To answer your question...

 

I created a simple test program with a printf() statement and still get the message 'Mesa.dll could not be found' when I launch it.

0 Kudos
Message 4 of 13
(19,837 Views)

Hi mrtqs,

 

What happens if you build one of the examples that references mesa.dll?  For example, the ledctrlarray example which is found under Building User Interfaces>>General in the example finder. 

Regards,

Hassan Atassi
Director, ni.com
0 Kudos
Message 5 of 13
(19,814 Views)

Hi Hassan

0 Kudos
Message 6 of 13
(19,804 Views)

Hassan:

When I first created the distribution kit for ledctrlarray, I left the default settings on the Drivers & Components tab in the Edit Installer dialog. The application installed and ran OK.

I uninstalled this and created a distribution kit a second time and only selected the following on the Drivers & Components tab (the same as my own program):

1) Standard Run-Time

2) Analysis Support

3) ActiveX Container Support

4) Low-Level Support Driver

This time I got the 'Mesa.dll could not be found' when I tried to launch ledctrlarray - although the mesa.dll file did get installed at C:\Program Files\National Instruments\Shared\Mesa.

I guess I need to figure out which additional item in the Drivers & Components list I need to start selecting in my distribution.

 

mrtqs

0 Kudos
Message 7 of 13
(19,798 Views)

Hassan:

I've noticed that if I don't include the ActiveX Container Support in my distribution, my own application will install and launch OK (the ActiveX module is only needed for a small number of test systems I support). But if I include it and select [Check Module Dependencies] on the Drivers & Components tab then I get the attached message.

 

 

The [Check Module Dependencies] only returns successfully if I include everything in the Run-Time Engine block, or if I exclude ActiveX when selecting a subset of the runtime engine. I haven't had this problem with previous versions of CVI. I've tried it with 8.5.1 and 9.0.1.

 

mrtqs

0 Kudos
Message 8 of 13
(19,779 Views)
Solution
Accepted by topic author mrtqs

Hi mrtqs,

 

While testing out this issue I ran into a similar problem.  From my understanding, the CVI Run-Time Engine will also install parts of the VS 2008 C++ Runtime.  Depending on what CVI Run Time options you choose to install a different part of the VS 2008 C++ runtime will be included in the installation.  It seems that Microsoft may have altered the VS 2008 C++ runtime for certain parts, but not others, which is what is causing the problem.  Hence there are a few options:

 

1. Install the full CVI runtime with the default settings

2. Leave out the ActiveX module if not needed

3. Install the VS 2008 C++ runtime separately on the deployment machine. 

Regards,

Hassan Atassi
Director, ni.com
0 Kudos
Message 9 of 13
(19,754 Views)

I found exactly the same problem in a project where I include only "Standard Run-Time" item, so I read your suggestion:

  1. Install the full CVI runtime             ->              I don't like having to install unnecessary components
  2. leave out the ActiveX module         ->              not included
  3. install the VS C++ runtime on the deployment machine           ->            I downloaded and installed this package, and this fixes the issue, but the user has to launch another additional installer.

Could you attach to this discussion the right Merge Module (*.msm file) that I can add to my Distribution Kit? (as done for this old issue)

Vix
-------------------------------------------
In claris non fit interpretatio

-------------------------------------------
Using LV from 7
Using LW/CVI from 6.0
0 Kudos
Message 10 of 13
(19,071 Views)