Editor Compile No Longer Works, Only Compiling from VS Does

As of 4.10 preview 3, I can not longer compile from editor. I get this error:

CompilerResultsLog: Info C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\typeinfo(21): fatal error C1083: Cannot open include file: ‘string.h’: No such file or directory

I can compile fine from VS 2015, so I can work. But clearly, there is some difference as to paths or something between the two modes.

Hey -

I was able to add a new class and add code to the class which compiled when using the in-editor compile button. Do you get the same error inside a newly created 4.10 project? Also, does your computer have VS 2013 as well or are you only using VS2015?


I have both VS 2013 as well as VS2015 installed. And there is 4.9.2 on there as well as 4.10. I should add some other details:

  1. this is a project ported from 4.9.2 to 4.10 (from prev1-3)

  2. it is not uncommon for me to encounter this kind of header error the Unreal, particularly on new or newly ported projects…but normally one finds that the “VC++ Directories” of the project are empty for some reason, and you just need to “inherit from project defaults” to get these going. But that wasn’t the case here.

  3. Note that I have a customized .builld.cs file, where I do bring in a number of outside headers and libraries. Of, course I would expect that build file to be run regardless of whether I am compiling from VS or Unreal.

  4. have not tried a newly created project, but will go back the the machine and try that and post results in a couple hours.

I’ve still not been able to reproduce the error message you mentioned. Can you let me know if you get the same error in a new 4.10 project or in a new 4.9 project that is converted to 4.10? Also, does the error continue in 4.10 Preview 4?

Hi ,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.