英文:
Installing Swift on Windows
问题
我正在按照https://www.swift.org/getting-started/#on-windows 中的步骤操作。除了最后一步在 x86 Native Tools for VS2019 Command Prompt 中运行以下命令之外,一切正常。
第1步和第4步执行正常,但在第2步和第3步中,我遇到了错误 "系统找不到指定的文件"。
我该如何修复这个问题?
英文:
I am following the steps in https://www.swift.org/getting-started/#on-windows
Everything is fine except the last step running the following in x86 Native Tools for VS2019 Command Prompt
copy /Y %SDKROOT%\usr\share\ucrt.modulemap "%UniversalCRTSdkDir%\Include\%UCRTVersion%\ucrt\module.modulemap"
copy /Y %SDKROOT%\usr\share\visualc.modulemap "%VCToolsInstallDir%\include\module.modulemap"
copy /Y %SDKROOT%\usr\share\visualc.apinotes "%VCToolsInstallDir%\include\visualc.apinotes"
copy /Y %SDKROOT%\usr\share\winsdk.modulemap "%UniversalCRTSdkDir%\Include\%UCRTVersion%\um\module.modulemap"
The 1st and 4th execute fine but with the 2nd and 3rd I get the error "System could not find the specified file"
How can I fix this?
答案1
得分: 1
The two failing file paths indicate that the file names start with “visualc”. Those file names have been changed to start with “vcruntime”.
英文:
The two failing file paths indicate that the file names start with “visualc”. Those file names have been changed to start with “vcruntime”.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论