我试图在Visual C++项目中使用Visual Leak Detector 1.9h beta在Visual Studio 2010中当我生成和运行项目中,我得到以下错误:包括VS2010的依赖 - 视觉检漏仪
The program can't start because vld.dll is missing from your computer. Try reinstalling the program to fid this problem.
的自述文件附带VLD状态,用于Visual C++ 8和9:
Go to Tools -> Options -> Projects and Solutions -> VC++ Directories. Select "Include files" from the "Show Directories For" drop-down menu. Add the include subdirectory from the Visual Leak Detector installation directory. Move it to the bottom of the list. Then select "Library files" from the drop-down menu and add the lib subdirectory from the Visual Leak Detector installation directory. Again, move it to the bottom of the list.
建议的菜单在VS2010中不推荐使用。 什么是VS2010的等价物?
我尝试没有成功如下:
- 右键单击该项目\性能\配置属性\ C \ C++ \常规\附加包含目录 - >添加“; C:\ Program Files文件(86 )\ Visual Leak Detector \ include“
- 右键单击项目\ properties \ Configuration Properties \ Linker \ General \ Additional Library Directories - > add”; C:\ Program Files(x86)\ Visual Leak Detector \ lib \ vld .lib“
bu你可以猜到,它没有工作...
你是对的。 VLD安装在PATH环境变量(vld.dll所在的位置)中放置了“C:\ Program Files(x86)\ Visual Leak Detector \ bin”。在我注销后,再次运行完美无缺。 (也许重新启动VS2010就足够了,不确定) – Jonathan 2010-12-04 16:16:39