安裝intel c++8.0後導致vc6編譯正常的項目鏈接失敗的一個解決方法

Q:裝了INTEL C++後VC6的鏈接器改不回原來的了,從而導至鏈接錯誤:
Linking...
Command line warning D4002 : ignoring unknown option '/subsystem:console'
Command line warning D4002 : ignoring unknown option '/incremental:yes'
Command line warning D4002 : ignoring unknown option '/pdb:Debug/Console.pdb'
Command line warning D4002 : ignoring unknown option '/debug'
Command line warning D4002 : ignoring unknown option '/machine:I386'
Command line warning D4002 : ignoring unknown option '/pdbtype:sept'
LINK : fatal error LNK1104: cannot open file "ut:Debug/Console.exe"
Error executing xilink6.exe.
A:修改註冊表項{HKEY_USERS/S-1-5-21-484763869-1644491937-839522115-500/Software/Microsoft/DevStudio/6.0/Build System/Components/Platforms/Win32 (x86)/Tools/COFF Linker for 80x86/Executable Path}的值改成link.exe,然後重啓VC即可,不過
intel c++將無法正常使用,當然如果又將該註冊表項改回xilink6.exe,intel c++纔可用.如果你有什麼更好的辦法,請記得通知我.
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章