mstorsjo / llvm-mingw

An LLVM/Clang/LLD based mingw-w64 toolchain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can not find __std_stream in llvm-mingw-20231017-msvcrt-x86_64

FuXiii opened this issue · comments

I try to compile KTX-Software with llvm-mingw-20231017-msvcrt-x86_64 , it output:

[ 18%] Building CXX object thirdparty/KTX-Software/CMakeFiles/ktx_read.dir/lib/basis_transcode.cpp.obj
In file included from E:\Turbo\thirdparty\KTX-Software\tools\imageio\imageinput.cc:17:
In file included from E:/Turbo/thirdparty/KTX-Software/utils/platform_utils.h:12:
E:/Turbo/thirdparty/KTX-Software/other_projects/fmt/include/fmt/ostream.h:17:12: fatal error: '__std_stream' file not found
   17 | #  include <__std_stream>
      |            ^~~~~~~~~~~~~~

can not find __std_stream header. I try to find it in F:\llvm-mingw-20231017-msvcrt-x86_64\llvm-mingw-20231017-msvcrt-x86_64\include\c++\v1 can not find.

image

And then I try to find __std_stream header in llvm-mingw-20220323-msvcrt-x86_64 , it in there.

image

This upstream issue may help fmtlib/fmt#3654

@Biswa96 Ok, Thanks!