vs visual studio 2015安装后的几个问题
前言
? ? 最近在win7下重新安裝了visual studio 2015,沒有安裝在默認(rèn)路徑下,編譯時(shí)出現(xiàn)不少問題,整理如下
?
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.0\VC\bin
?
2.Can't open source : iostream
ANS:properties->vc++ directories->include directories?
? ? ? ? ? ?C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include
?
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.0\VC\lib
總結(jié)
以上是生活随笔為你收集整理的vs visual studio 2015安装后的几个问题的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: linq、lambda、entity f
- 下一篇: 怎么抓取屏幕截图计算机考试时间,定时抓屏