我試圖在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