问题
I am converting a visual studio c++ direct x project from visual studio 2017 to visual studio 2015. So far I have changed the project build tools to v140.
this is the current error message
fxc.exe is the Effect-Compiler Tool and according to msdn it should be located in (SDK root)\Utilities\Bin\x86. I am not sure how to find that location.
回答1:
I just encountered the same issue, but the solution I finally implemented is more of a hack: It seems that VS2015 expands the Windows SDK environment variable to the Windows 7 SDK, which does not include fxc.
What I eventually did is adding C:\Program Files (x86)\Windows Kits\10\bin\x86 and C:\Program Files (x86)\Windows Kits\10\bin\x64 to the "Executable Directories" variable under the "VC++ Directories" settings in the project properties. I do not like it, but it works ...
来源:https://stackoverflow.com/questions/47730245/error-trk0005-failed-to-locate-fxc-exe-the-system-cannot-find-the-file-speci