How to run application with VTune(TM) Analyzer with required environments

Submit New Article

October 14, 2008 12:00 AM PDT


Version 1, Created by Peter Wang on 08/10/2008

 

Symptom(s):
When the user invoked the application by VTune(TM) Performance Analyzer - when sampling data collecting or call graph data collecting, there was an error dialog to show like as "libmmdd.dll missed" message, so application can't run. 

Cause:
This is due to missing of the application required environment setting. For example, find PATH to call necessary DLLs, etc. 
 
Solution:
There are two methods to solve this problem.

1) The user can run VTune(TM) Performance Analyzer from a) Visual Studio* 2005 Command Prompt, or b) Intel(R) C++ Compiler build environment for applications running IA-32, for example run C:\Program Files\Intel\VTune\Shared\Bin\vtuneenv.exe in prompt

2) Don't invoke VTune(TM) Performance Analyzer from prompt, just invoke tool from menu/desk-shortcut. Create activity for sampling or call graph => modify activity => select target application => click "Configure" button => click "Advance.." button on dialog => there is "Application to launch..." dialog to allow user of unselecting "Use default environments" => then the user can modify Environment Variable, or add new variables.