Hi, I’ve been trying to get unreal engine setup for about a solid week now, and I can’t get past this one error.
I install visual studio 2017 and unreal engien 4.20.3. When I go to create a new C++ project it says
“No compiler was found. In order to use a C++ template, you must first install Visual Studio 2017”.
I have googled every possible solution to this and none have helped. Please, please, please help me, I just want to use unreal engine and I can’t even get this basic thing to setup.
I have previously installed older versions of both of these programs in the past, but I believe I have cleanly uninstalled them. I am installing both of them to a secondary D drive. I have tried every permutation of installing these and uninstalling these in every order. Some one please help me.
it’s a possibility that your visual studio 2017 may have been corrupted during install. I would first recommend running visual studio installer on your computer.
I don’t believe the launcher should effect the engine, but I would recommend doing a full uninstall of both if possible, just to be safe and make sure the launcher is up to date as well.
I know you mentioning “googling” numerous sources, however I’d like for us to try uninstalling Visual studio 2017 and UE4 once more, and reinstalling, however, when it gives you the option to choose workloads, please check all of the following boxes you see in this image.
Let’s try navigating to your Visual Studio install folder, go to the VC subfolder and run vcvarsall.bat. (Alternatively you could try searching for vcvarsall.bat in your Program files)
Here is how an example path may look “C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat”
After running the .bat, try creating another c++ project.
Please let me know if this yields any successful result.
Mine was at D:\Main\Program Files\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsall and when I clicked it, a terminal appeared then disappeared. I still get the same error.
I have an Enterprise version of VS too and have the same error. At home, I have a community edition and it works fine. Maybe problem only with VS 2017 Enterprise.
Run the command to access your registry editor, and you should see some directories, all with the preface HKEY. One of the folders should be HKEY_LOCAL_MACHINE or HKEY_CURRENTUSER. These folders are the ones we are interested in, because this is how Unreal Engine checks for a windows compiler. Please see the image below for the function
Sorry to necro an old thread, but I have been having this problem for the past 5 days.
I have tried absolutely everything.
Visual Studio is installed to: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\ and all of my registry keys mentioned above point to this, but it still won’t work.
I’ve tried VS 2019, 2017, UE4.23, UE4.22.