且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

错误TRK0005无法找到:“ fxc.exe”。该系统找不到指定的文件

更新时间:2023-10-27 22:03:40

我刚刚遇到了相同的问题,但是我最终实现的解决方案更像是一个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 ...