Avatar
[6/24] Generating C:/Users/qoncept/work/swift-build/build/./lib/swift/windows/x86_64/MSVCRT.swiftmodule FAILED: lib/swift/windows/x86_64/MSVCRT.swiftmodule lib/swift/windows/x86_64/MSVCRT.swiftdoc cmd.exe /C "cd /D C:\Users\qoncept\work\swift-build\build\stdlib\public\Platform && "C:\Program Files\CMake\bin\cmake.exe" -E remove -f C:/Users/qoncept/work/swift-build/build/./lib/swift/windows/x86_64/MSVCRT.swiftmodule && "C:\Program Files\CMake\bin\cmake.exe" -E remove -f C:/Users/qoncept/work/swift-build/build/./lib/swift/windows/x86_64/MSVCRT.swiftdoc && C:\Python27\python.exe C:/Users/qoncept/work/swift-build/swift/utils/line-directive @C:/Users/qoncept/work/swift-build/build/stdlib/public/Platform/fDmbf.txt -- C:/Users/qoncept/work/swift-build/build/./bin/swiftc -emit-module -o C:/Users/qoncept/work/swift-build/build/./lib/swift/windows/x86_64/MSVCRT.swiftmodule -target x86_64-unknown-windows-msvc -resource-dir C:/Users/qoncept/work/swift-build/build/./lib/swift -O -I C:/Users/qoncept/work/swift-build/build/./lib/swift/windows/x86_64 -module-cache-path C:/Users/qoncept/work/swift-build/build/./module-cache -no-link-objc-runtime -swift-version 3 -autolink-force-load -warn-swift3-objc-inference-complete -D_USRDLL -Fsystem //System/Library/PrivateFrameworks/ -Xfrontend -autolink-library -Xfrontend oldnames -Xfrontend -autolink-library -Xfrontend msvcrtd -module-link-name swiftMSVCRT -force-single-frontend-invocation -parse-as-library @C:/Users/qoncept/work/swift-build/build/stdlib/public/Platform/fDmbf.txt" C:/Users/qoncept/work/swift-build/swift/stdlib/public/Platform/msvcrt.swift:13:19: error: no such module 'ucrt' @_exported import ucrt // Clang module
12:27 PM
https://github.com/apple/swift/blob/master/docs/Windows.md を参考にWindowsでSwiftをビルドしようとしてるんですが、 MSVCRT.swidtmodule のビルドがうまくいかない
swift - The Swift Programming Language
12:29 PM
https://github.com/apple/swift/tree/master/stdlib/public/Platform msvcrt.swift, ucrt.modulemap, visualc.modulemap は同じディレクトリに入ってるけど、 modulemap から Framework とかを作らずにそもまま swift から import するのってできるんですっけ? (edited)
swift - The Swift Programming Language