【问题解决】vs2013 command prompt错误:cannot determine the location of the vs common tools folder

来源:互联网 发布:经传软件 央视315 编辑:程序博客网 时间:2024/06/10 05:45

问题缘由:

因项目需要,须使用boost库。编译,配置boost库的流程参照的是boost在windows下的编译及配置

在编译和配置过程中,需要使用到vs2013的command prompt,遇到如下问题:

cannot determine the location of the vs common tools folder

-------------

问题解决:

在网上查找资料,找到如下几篇相关的博文/帖子

stackoveflow: vs2010 command prompt gives error

csdn: vs2013错误解决方法

vs2012无法使用命令行提示符

主要原因是

“the bat uses de reg command and it searches that in the PATH system variable. Somehow you have managed to get "C:\Windows\System32" out of the PATH variable”

只要将"C:\Windows\System32" 重新添加到系统环境变量下的path中去,即解决上述问题。

0 0
原创粉丝点击