VC ++ cl.exe - DLL找不到 [英] VC++ cl.exe -- DLL not found
问题描述
我添加了VS2010(不是SP1)C ++编译器的 bin
目录到我在Windows XP上的 PATH
。当我试图运行它,它告诉我,没有找到DLL。
我将此行添加到我的 PATH
:
C :\Program Files \Microsoft Visual Studio 10.0 \VC\bin;
更新:当我 cd
到上面的bin目录,然后运行编译器
运行
$ b VS命令提示符快捷方式或其指向的批处理文件,例如:
C:\Program Files(x86) \Microsoft Visual Studio 10.0 \VC\vcvarsall.batx86
设置适当的
顺便说一下, mspdb100.dll
住在 C: \Program Files \ Microsoft Visual Studio 10.0 \Common7\IDE
。但是运行快捷方式/批处理文件 - 它不只是设置正确的路径。
I added the bin
directory of the VS2010 (not SP1) C++ compiler to my PATH
variable on Windows XP. When i try to run it, it tells me that a DLL was not found.
I added this line to my PATH
:
C:\Program Files\Microsoft Visual Studio 10.0\VC\bin;
Update: it still fails when I cd
to the bin directory above, and then run the compiler
Can you help me out?
Run the VS command prompt shortcut or the batch file it points to, such as:
"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86
to set up an appropriate environment including the path.
By the way, mspdb100.dll
lives in C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE
. But run the shortcut/batch file anyway - it does more than set up the correct path.
这篇关于VC ++ cl.exe - DLL找不到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!