DirectXShaderCompiler icon indicating copy to clipboard operation
DirectXShaderCompiler copied to clipboard

dxc: Getting dxcapi.h can be compiled with mingw

Open lygstate opened this issue 3 years ago • 9 comments

Signed-off-by: Yonggang Luo [email protected]

lygstate avatar May 23 '22 12:05 lygstate

:white_check_mark: Build DirectXShaderCompiler 1.0.1678 completed (commit https://github.com/microsoft/DirectXShaderCompiler/commit/7d4b9eac98 by @lygstate)

AppVeyorBot avatar May 23 '22 13:05 AppVeyorBot

:x: Build DirectXShaderCompiler 1.0.1679 failed (commit https://github.com/microsoft/DirectXShaderCompiler/commit/5b535a9a38 by @lygstate)

AppVeyorBot avatar May 23 '22 14:05 AppVeyorBot

:white_check_mark: Build DirectXShaderCompiler 1.0.1680 completed (commit https://github.com/microsoft/DirectXShaderCompiler/commit/a3990044ba by @lygstate)

AppVeyorBot avatar May 23 '22 16:05 AppVeyorBot

This is for mesa: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16671

lygstate avatar May 23 '22 16:05 lygstate

:white_check_mark: Build DirectXShaderCompiler 1.0.1681 completed (commit https://github.com/microsoft/DirectXShaderCompiler/commit/051dee0fc5 by @lygstate)

AppVeyorBot avatar May 23 '22 17:05 AppVeyorBot

Is this solving the same problem as #4178?

kusma avatar May 25 '22 22:05 kusma

Is this solving the same problem as #4178?

Something alike, I quck look at #4178, I found it's #include <windows.h> in include/dxc/Support/WinAdapter.h and that's will expose the whole windows.h and would easily cause all sorts of compiling errors.

lygstate avatar May 25 '22 23:05 lygstate

:x: Build DirectXShaderCompiler 1.0.1704 failed (commit https://github.com/microsoft/DirectXShaderCompiler/commit/2c5f42b041 by @lygstate)

AppVeyorBot avatar May 27 '22 02:05 AppVeyorBot

CMAKE_CXX_COMPILER_FRONTEND_VARIANT is introduced in cmake 3.14. Maybe CMAKE_CXX_COMPILER_ID is a more compatible option?

gongminmin avatar Jun 15 '22 20:06 gongminmin