Visual Studio 2012 - Required file “tracker.exe” i

2020-03-12 03:03发布

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

2条回答
时光不老,我们不散
2楼-- · 2020-03-12 03:32

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:
picture

查看更多
Summer. ? 凉城
3楼-- · 2020-03-12 03:40

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

查看更多
登录 后发表回答