概述
前言
最近在win7下重新安装了visual studio 2015,没有安装在默认路径下,编译时出现不少问题,整理如下
1.Failed to locate: "CL.exe". The system cannot find the file specified.
TRACKER : error TRK0005: Failed to locate: “CL.exe”. The system cannot find the file specified.
ANS:properties->vc++ directories->executable directories
C:Program Files (x86)Microsoft Visual Studio 14.0VCbin
2.Can't open source : iostream
ANS:properties->vc++ directories->include directories
C:Program Files (x86)Microsoft Visual Studio 14.0VCinclude
3.error C3861: 'to_string': identifier not found note: see declaration of 'std' error C2039: 'to_string': is not a member of 'std
ANS:#include <sstream>
4.warning C4172: returning address of local variable or temporary: tmp LINK : fatal error LNK1104: cannot open file 'MSVCRTD.lib'
ANS:properties->vc++ directories->library directories
C:Program Files (x86)Microsoft Visual Studio 14.0VClib
最后
以上就是贪玩小兔子为你收集整理的vs visual studio 2015安装后的几个问题的全部内容,希望文章能够帮你解决vs visual studio 2015安装后的几个问题所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复