mirror of https://github.com/WebAssembly/wasi-sdk
With the following building commands: ``` call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64 set MSYS2_PATH_TYPE=inherit set MSYSTEM=MINGW32 set CC=cl set CXX=cl set "HOME=%CD%" bash.exe --login -c "make package" bash.exe --login -c "make check" cmd /k ``` Fixes following error: c:\wasi-sdk\bin\clang++.exe --target=wasm32-wasi -DNDEBUG -D_LIBCPP_BUILDING_LIBRARY -D_LIBCPP_DISABLE_NEW_DELETE_DEFINITIONS -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -Iinclude/c++build -fdebug-prefix-map=C:\work\wasi-sdk=wasisdk;\v13.5g73d30af917c4 --sysroot=c;C:\CI-Tools\msys64\wasi-sdk\share\wasi-sysroot -fPIC -DLIBCXX_BUILDING_LIBCXXABI -IC:/work/wasi-sdk/build/libcxx/include/c++/v1 -std=c++20 -MD -MT src/CMakeFiles/cxx_static.dir/regex.cpp.obj -MF src\CMakeFiles\cxx_static.dir\regex.cpp.obj.d -o src/CMakeFiles/cxx_static.dir/regex.cpp.obj -c C:/work/wasi-sdk/src/llvm-project/libcxx/src/regex.cpp In file included from C:/work/wasi-sdk/src/llvm-project/libcxx/src/regex.cpp:9: In file included from C:/work/wasi-sdk/build/libcxx/include/c++/v1\regex:766: In file included from C:/work/wasi-sdk/build/libcxx/include/c++/v1\__debug:14: In file included from C:/work/wasi-sdk/build/libcxx/include/c++/v1\iosfwd:98: C:/work/wasi-sdk/build/libcxx/include/c++/v1\wchar.h:119:15: fatal error: 'wchar.h' file not found #include_next <wchar.h> ^~~~~~~~~pull/207/head
parent
928fa8dd11
commit
06e4e1521f
Loading…
Reference in new issue