have you installed the visual studio modules (not sure what they are called) that are needed for ue4 and for game dev in general.
Hello Guys,
I am new at Unreal Engine. I have seen an error for the last two days. The error is “No compiler was found!. In order to use a C++ template, you must first install Visual Studio 2017”. However, I have already had both UE4 and VS2017.
I have seen lots of questions same as me in answer hub but couldn’t find appropriate solution.
I’m using UE 4.19 and VS2017.
What I did
- I uninstalled both VS2017 and UE4 then i re-installed them.
- I add a regedit file called 15.0 in HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\SxS\VS7 and the value is C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC
- I verified the engine.
- I also add new Environment Variable called VS150COMNTOOLS and set value C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools
- I change the ToolChain and Source Code setting in the Engine.
I did these steps and couldn’t solve it. I’m stuck with the error. I don’t know what should i do?
Can you help me, guys? Thank you for your answers
Hello ThompsonN13,
Yes, I have installed them.
Did you install C++ toolchain, without it VS don’t support C++ at all Check also if you installed Windows SDK 8.0 which is other packaged that people commonly forget to install.
If htis does nto work then insted of trying to make C++ project, make non-C++ project and try to create C++ class in it, UBT should give you detailed information what are you missing inside build console. You may also try to download some C++ example project and try to build that
Hello ,
Yes, I have installed SDK 8.1 and 10.Besides, before I install VC++ 2015 Toolset, I couldn’t generate any uproject with VS. However, right now, I can generate uproject but the problem is still here. I cannot either create C++ class or C++ Project in UE. I don’t know what can i do?
Thank you for your suggestions
Check the UBT logs please, there should be information there
Hello guys, I solved the problem finally. Thanks god. I open the “Visual Studio Installer” and run “Repair” mode, then the problem has been disappeared. I’m very happy right now. Thank you for your help guys