Why can't UE4 find VS2013?

Hi guys,

I am having difficulty adding code to my project. I’ve viewed some previous discussions on the matter and modified my environment variable to be “VS120COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\WDExpress.exe” from something that previously pointed to a location on an external harddrive (from a previous attempt to install Visual Studio 2013 on a mobile drive). This solution has not fixed my problem.

Also something to note. Despite the fact that I’ve launched the editor from VS2013, I cannot create c++ based projects. The error it gives is “No compiler was found. In order to use a C++ template, you must first install Visual Studio 2013…”

We have an existing project with a bunch of work put into it already, just trying to add code so I can write the networking portion. We’ve only ever opened the project through VS2013.

I’d really appreciate some help.

Thanks

Something else to note that may be important. We have Visual Studio 2013 installed to the C directory but the engine is on an external (and was built there) as well as the project files created by the engine.

Hi ghlkvf,

The VS120COMNTOOLS environment variable should be pointing to the …Common7\Tools folder for your VS2013 installation. On my machine, it points to: "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools"

If you change yours to point to that folder, do you still have the same error appear?

I won’t be able to check until Tuesday because I’ve already left the lab but you are probably correct. I got that path from another answer on this site so I just assumed it was correct but my home machine shows the same path as the one you posted and it has no problem working in C++.

Hi ghlkvf,

I just wanted to check in and see if this issue has been resolved for you. I will mark this post as resolved for tracking purposes, but if you still need help please feel free to reopen it.

This does not resolve the issue.

Hi Tyguy7,

Could you provide the location your VS120COMNTOOLS environment variable is pointing to? Also, what version of the Engine are you using? With 4.10 and beyond we are switching to use Visual Studio 2015 by default (4.10 still works with VS2013, but requires an additional step during setup).