错误TRK0005无法找到:“ fxc.exe”。该系统找不到指定的文件 [英] Error TRK0005 Failed to locate: "fxc.exe". The system cannot find the file specified
问题描述
我正在将Visual Studio C ++ Direct X项目从Visual Studio 2017转换为Visual Studio2015。到目前为止,我已经将项目构建工具更改为v140。
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.
这是当前错误消息
fxc.exe是效果编译器工具,根据msdn,它应位于(SDK根目录)\实用程序\Bin\ \x86。我不确定如何找到该位置。
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.
推荐答案
我刚刚遇到了相同的问题,但是我最终实现的解决方案更像是一个hack:VS2015似乎将Windows SDK环境变量扩展为Windows 7 SDK,其中不包括fxc。
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.
什么我最终所做的是添加 C:\Program Files(x86)\Windows Kits\10\bin\x86
和 C:\在项目属性的 VC ++目录设置下,将程序文件(x86) Windows工具包 10 bin x64
到可执行目录变量。我不喜欢它,但是它可以工作...
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 ...
这篇关于错误TRK0005无法找到:“ fxc.exe”。该系统找不到指定的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!