前段时间觉得好玩,安装了Intel C++ Compiler进行评估,现在评估结束了,决定卸载。开始卸载之后,Visual C++ 6.0开始罢工了,报告无法找到xicl6.exe进行编译。搜索了下注册表,发现Intel C++ Compiler在安装时候修改了Visual C++的工具设置,但卸载时没有恢复。可以修改下面两个地方:
1、HKEY_CURRENT_USER/Software/Microsoft/DevStudio/6.0/Build System/Components/Platforms/Win32 (x86)/Tools/32-bit C/C++ Compiler for 80×86/Executable Path 改成 cl.exe;
2、HKEY_CURRENT_USER/Software/Microsoft/DevStudio/6.0/Build System/Components/Platforms/Win32 (x86)/Tools/COFF Linker for 80×86/Executable Path 改成 link.exe 就可以了。
需要退出VC++ 6.0,然后重新启动,一切就正常了。