Unreal Engine 4.10.1 can't compile Visual Studio 2015 project

后端 未结 1 375
孤城傲影
孤城傲影 2021-01-14 08:20

I recently installed the most recent version of UE on my Windows 7 and made a new empty C++ project. After creating the project it gave me an error saying it failed to compi

相关标签:
1条回答
  • 2021-01-14 08:45

    After creating an Unreal Engine project you may face errors like:

    • "fatal error RC1015: cannot open include file 'windows.h' "
    • "fatal error C1083: Cannot open include file: 'new': No such file or directory".

    To fix it open your project (not EU4 project) properties/VC++ Directories.

    If you see empty fileds like "Include Directories", "Library Directories" then click on the combo box on the right side and choose "inherit from parent or project defaults". Then compile the project again.

    Images below:

    Default project template

    Build errors

    choose inherit from parent or project defaults

    0 讨论(0)
提交回复
热议问题