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

荒凉一梦 提交于 2019-12-04 00:23:02

问题


I tried to compile the source code of cryengine 3 and I always get the following error message.

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.

Could it be possible that my Visual Studio installtion is somehow corrupt? I am still using the release candidate


回答1:


A quote from MS website about 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. This build requires Tracker.exe, but it could not be found. 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.

Possible solutions:

  • Install the Microsoft Windows SDK v7.0A or later.
  • 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. In the build definition, under "MSbuild Arguments", you can add the following:

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

EDIT: your path may differ a little, but this still shows the general path to add




回答2:


You can go to the directory "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.

The best way is:

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

To your PC at the same directory. If it didn't work, you can copy the folder into them[the following picture] every one.

picture:



来源:https://stackoverflow.com/questions/13422178/visual-studio-2012-required-file-tracker-exe-is-missing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!