在公司机器上安装了Visual C++6.0后,写了一个测试程序,报出

fatal   error   C1083:   Cannot   open   compiler   intermediate   file:“C:\WINDOWS\Temp\xxxx” No   such   file   or   directory  

的错误。

    经分析原因是环境变量设置不对。user用户变量和system变量TEMP和TMP的变量值都为%SystemRoot%\TEMP

 ,在正常机器上,这是没有问题的,但是我的公司机器系统盘是手动更改成C盘的,本来应该为E盘。

   解决办法:

    将user用户变量和system变量TEMP和TMP的变量值都改为C:\WINDOWS\Temp

  

 

  

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-23
  • 2021-09-04
  • 2022-12-23
  • 2021-04-10
  • 2021-11-09
  • 2021-11-29
猜你喜欢
  • 2021-11-23
  • 2021-06-02
  • 2022-01-02
  • 2021-09-02
  • 2022-01-06
  • 2021-11-13
  • 2022-12-23
相关资源
相似解决方案