error: command 'D:\\vs2015\\VC\\BIN\\x86_amd64\\link.exe' failed with exit status 1158


解決LINK : fatal error LNK1158: 無法運行“rc.exe”
error: command ‘E:\XXX\VS2015\VC\BIN\x86_amd64\link.exe’ failed with exit status 1158的問題。
錯誤是放置rc.exe和rcdl.dll文件的地方。Visual Studio使用的是64位“交叉編譯器”,它不存在於S(VSInstallDir)VC \ bin中,而是存在於S(VSInstallDir)VClbinx86_amd64文件夾中。
因此,問題的解決方案是從C:\Program Files(×86)\Windows Kits\8.1\bin×86文件夾復制rc.exe和rcdll.dll到S(VSInstallDir)VC\bin\x86_amd64文件夾。

————————————————

原文鏈接:https://blog.csdn.net/hechilai/article/details/100827019


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM