No Compiler was found
I've been using unreal for a bit and decided to buy the course. I've been having a problem with unreal:
A few notes:
What I tried:
I am genuinely stuck at this point, and would love some assistance with this. Thank you!
asked Nov 04 '17 at 03:46 PM in C++ Programming
Okay, I managed to fix it somehow, this is really an under-emphasized version of how ecstatic I was when I solved it. What I did is the following:
Please note: I saw a lot of these types of issues all over the web, a lot of them were either solved with a way that didn't work for me, or just didn't work.
Hopefully no one will get as frustrated as I have with this problem.
I noticed that UE4 is looking for - at least on my PC - for the following folders where it expects devenv.exe:
v14, C:/Program Files (x86)/Microsoft Visual Studio 14.0/Common7/Tools
v15, C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/Common7/Tools
However, my installations of Visual Studio 2017 are under:
There was no devenv.exe under C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/Common7/Tools
So all I did was to rename BuildTools to BuildTools_backup and then copy Professional to BuildTools (they all have similar content). Works like a charm.
How did I out about this? I looked at the Source Code and ran UE4 in Debug Editor mode. In SNewClassDialog.cpp row 1013. Using UE4 4.18.3. FSourceCodeNavigation::IsCompilerAvailable() returned false. It looks up in the registry and what knot. Also tested on 4.19 preview.
The error is caused by cannot find IDEPath in regedit, so we need to set it correctly as below(add new string value)
answered Mar 07 '19 at 05:10 PM
Add a dynamic link to whatever your real install directory is, and BuildTools from the C:/Program Files (x86)/Microsoft Visual Studio/2017 tree.
mklink /d BuildTools Professional for a quick fix
answered Jun 25 '18 at 04:22 PM
Also had this problem - uninstalled/installed everything many times - sometimes worked, sometimes not. But: this one from @bennyball worked, Thanks!
bennyball Mar 21 '18 на 10:22 PM Solved ! The problem was in :
Edit -> Editor preference -> Source code
and I changed "Visual Studio Code" to "Visual Studio 2017". Then file -> refresh Visual Studio worked ! Then close and reopening UE :)
answered Aug 19 '18 at 02:56 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here