简体   繁体   English

Visual Studio 2012-缺少必需的文件“ tracker.exe”

[英]Visual Studio 2012 - Required file “tracker.exe” is missing

I tried to compile the source code of cryengine 3 and I always get the following error message. 我尝试编译cryengine 3的源代码,并且始终收到以下错误消息。

Error   1   error : Required file "tracker.exe" is missing. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets  251 6   CryGame

For some reason I couldn't find any information on google. 由于某种原因,我在Google上找不到任何信息。

Could it be possible that my Visual Studio installtion is somehow corrupt? 我的Visual Studio安装是否可能以某种方式损坏了? I am still using the release candidate 我仍在使用候选版本

A quote from MS website about tracker.exe: MS网站上有关tracker.exe的报价:

Tracker.exe is required to correctly incrementally generate resources in some circumstances, such as when building on a 64-bit OS using 32-bit MSBuild. 在某些情况下,例如在使用32位MSBuild的64位OS上进行构建时,需要Tracker.exe正确地增量生成资源。 This build requires Tracker.exe, but it could not be found. 此版本需要Tracker.exe,但找不到。 The task is looking for Tracker.exe beneath the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v7.0A. 该任务正在注册表项HKEY_LOCAL_MACHINE \\ SOFTWARE \\ Microsoft \\ Microsoft SDKs \\ Windows \\ v7.0A的InstallationFolder值下寻找Tracker.exe。

Possible solutions: 可能的解决方案:

  • Install the Microsoft Windows SDK v7.0A or later. 安装Microsoft Windows SDK v7.0A或更高版本。
  • Manually set the above registry key to the correct location. 手动将上面的注册表项设置为正确的位置。
  • You short-circuit that lookup instead by setting the ResGenTrackerSdkPath property to the 7.1 .NET 4.0 tools location. 您可以通过将ResGenTrackerSdkPath属性设置为7.1 .NET 4.0工具位置来缩短该查找。 In the build definition, under "MSbuild Arguments", you can add the following: 在构建定义的“ MSbuild参数”下,可以添加以下内容:

/p:ResGenTrackerSdkPath=":\\Program Files(x86)\\Microsoft SDKs\\Windows\\v7.1\\Bin\\NETFX 4.0 Tools / p:ResGenTrackerSdkPath =“:\\ Program Files(x86)\\ Microsoft SDKs \\ Windows \\ v7.1 \\ Bin \\ NETFX 4.0工具

EDIT: your path may differ a little, but this still shows the general path to add 编辑:您的路径可能有所不同,但这仍然显示要添加的一般路径

You can go to the directory "C:\\Program Files (x86)\\Microsoft SDKs\\Windows" . 你可以去到目录"C:\\Program Files (x86)\\Microsoft SDKs\\Windows"

Then, you search for the key "tracker.exe", if you can't find it, it might been deleted somehow. 然后,搜索键“tracker.exe”,如果你不能找到它,它可能会被不小心删除。

The best way is: 最好的办法是:

Copy the folder "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\Bin\\NETFX 4.0 Tools" 复制文件夹"C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\Bin\\NETFX 4.0 Tools"

To your PC at the same directory. 要在您的PC在同一目录下。 If it didn't work, you can copy the folder into them[the following picture] every one. 如果没有用,您可以每隔一个将文件夹复制到其中。

picture: 图片:
图片

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM