x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

No compiler was found!

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 included Game Development with C++ component.

alt text

I have seen lots of questions same as me in the answer hub but couldn't find any appropriate solution.

I'm using UE 4.19 and VS2017.

What I did

  1. I uninstalled both VS2017 and UE4 then i re-installed them.

  2. I add a regedit file called 15.0 in HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\SxS\VC7 the value is C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC.

  3. I verified the engine.

  4. I also add new Environment Variable called VS150COMNTOOLS and set value C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools

  5. I change the ToolChain and Source Code setting in 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 :)

Product Version: UE 4.19
Tags:
capture.png (291.7 kB)
more ▼

asked Jun 30 '18 at 02:22 PM in C++ Programming

avatar image

Ramazan.T
6 3 6

avatar image DarthPJB Jun 30 '18 at 10:57 PM

forgive me if it seems odd to ask, but it never hurts to check:

  • If you click that "install visual studio" button and do actually run the installer, does it fix it? (this may update / refresh / reinstall some missing parts)

  • Did visual studio definitely install the correct Windows SDK

  • Did the original installation definitely install the MSVC compiler?

  • Have you turned your computer off and on again (no, seriously, sometimes registry keys and installs do not update until you reboot, and windows 10 does not actually cold-boot with a default shutdown I've seen industry veterans lose hours simply because they "pressed the power button" and didn't understand sleep-mode was a thing.

  • have you tried right clicking on your Uproject in windows explorer, selecting generate Visual studio solution - then actually opening up said solution via visual-studio manually

avatar image Ramazan.T Jul 01 '18 at 07:58 AM

Hello DarthPJB, Thank you for your answers :) but i still have the problem. :(

  • When i clicked the button, VS Installer shows up and like this

alt text

  • I also rebbot my computer tons of times :(

  • I did your last suggestion and I face an error like this

Running C:/Program Files/Epic Games/UE_4.19/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="E:/UE4 Projects/Udemy/SimpleFPSTemplate-master/SimpleFPSTemplate-master/FPSGame.uproject" -game -rocket -progress Discovering modules, targets and source code for project... WARNING: Visual Studio C++ 2017 installation not found - ignoring preferred project file format. WARNING: Exception while generating include data for UE4Editor: Visual Studio 2017 must be installed in order to build this target. Binding IntelliSense data... 0%@progress 'Binding IntelliSense data...' 50% WARNING: Exception while generating include data for FPSGameEditor: Visual Studio 2017 must be installed in order to build this target. Binding IntelliSense data... 50%@progress 'Binding IntelliSense data...' 100% ERROR: UnrealBuildTool Exception: Visual Studio 2015 must be installed in order to build this target.

The error said that you must install VS2017 but I have already had VS2017 and the last error said that You must install VS2015 do i have to install VS2015?

I really don't understand what should i do? :(

capture2.png (93.0 kB)
avatar image Ramazan.T Jul 01 '18 at 09:03 AM

Hello DarthPJB, I have a new progression. I install VC++ 2015 Toolset and when i generate uproject, it works but I can't create new C++ class. Lastly, I still have the same error and can't create new C++ project in UE.

avatar image DarthPJB Jul 01 '18 at 12:41 PM

this is extremely strange and leads me to believe something has been corrupted in the install of visual studio, it may be repaired if uninstalled completely and reinstalled. However I'm afraid I'm not sure how much help I can be.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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 :)

more ▼

answered Jul 02 '18 at 02:22 PM

avatar image

Ramazan.T
6 3 6

avatar image DarthPJB Jul 02 '18 at 02:36 PM

Glad I could help!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question