tinysun212 / swift-windows

Swift compiler for Cygwin, MSVC, MinGW. Full development environment can be downloaded from the Swift for Windows.
http://SwiftForWindows.github.io
Apache License 2.0
331 stars 30 forks source link

Facing error when importing 'import Foundation' #19

Open starmanthanjain8999 opened 2 years ago

starmanthanjain8999 commented 2 years ago

(Using Swift 4 on Windows 10)

Note: in file included from :1:

include "CoreFoundation.h"

     ^

c:\Swift\mingw64\lib\swift\CoreFoundation/CoreFoundation.h:25:10: error: 'assert.h' file not found

include

     ^
:0: error: could not build C module 'CoreFoundation' :1:10: note: in file included from :1: #include "../../../../../mingw64/x86_64-w64-mingw32/include/assert.h"