TRACKER : error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified

This is the code i’m trying to run:

#include <iosteam>

//# pre-precessor directive
int main(void)
{
    return 0;
}

I previously had the error:

fatal error C1083: Cannot open include file: 'iostream': No such file or directory

Then I searched the stackoverflow forums and did repair, reinstall, and finaly disabled all the “inherit from parent or project defaults” options in Property Manager -> Microsoft.Cpp.Win32.user -> properties -> VC++ Directories. Error message changed to TRK0005, but I still can’t build this simple code.

Now the latest error/output is:

1>------ Build started: Project: BullCowGame, Configuration: Debug Win32 ------
1>TRACKER : error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified.
1>
1>
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

The error still persist after reinstalling the visual studio. I’m also adding the final screenshot of the VC++ directories:

Operation Systems: Windows 10
using Visual Studio 4.6

Have you tried this advice?

Thank you for the reply Sam

I had already tried that.

After countless repairs, installation modifys, i finaly removed “Microsoft Visual C++ 2015 Redustribute (x86)” and “Microsoft Visual C++ 2015 Redustribute (x64)” via using programs and features in Windows 10. Then modified the installation again to install C++. Finaly created a new project. Now the new projects are working, but the old ones do not :slight_smile:

Well it sounds like that was the solution and that it simply didn’t setup the old projects correctly.

The actual problem is because you put “iosteam” instead of “iostReam”.

1 Like

Need to repair or reinstall Visual studio