Closed JPeterMugaas closed 5 months ago
The official story here is use MinGW from a command prompt that includes FXC.EXE which is included in the Windows SDK. Otherwise you have to set BUILD_DX11
to OFF.
I have gone ahead and updated the CMakeLists.txt file to explain the situation breifly. See: https://github.com/microsoft/DirectXTex/pull/446 .
I am not entirely convinced that I require the Windows SDK to compile the shaders. See the PR that I made ( https://github.com/microsoft/DirectXTex/pull/447 ).
On MINGW, we do not have Microsoft's fxc.exe compiler. The only fxc.exe available for MINGW seems to be inadequate for the purpose.
Thus, I need precompiled shaders so that I can try to build DirectXTex with support for the DX11 run-time, build the ddsviewer sample program, and run tests involving the loaders ( https://github.com/walbourn/directxtextest ).
Thanks.