转 https://answers.unrealengine.com/questions/810626/vs-cannot-find-generatedh-files.html

visual studio 2017   

UE4 4.20.1

步骤:

1. 右键 vs 项目 选择 属性

2.在左边配置属性选择  NMake

3.在右边IntelliSense 下边的 包含搜索路径  编辑

4. 新增    "..\Build\Win64\UE4Editor\Inc\$(project_name)\"  不包括引号  , $(project_name) 换成你项目的名称

5.解决方案下,所有的工程重复上边的过程

另: ue4工程用的是这个:C:\Program Files\Epic Games\UE_4.20\Engine\Intermediate\Build\Win64\UE4Editor\Inc\Engine 放在最后一行?

  

UE4 visual studio: "cannot find cannot find generated.h files"

UE4 visual studio: "cannot find cannot find generated.h files"

 

 

相关文章:

  • 2021-08-17
  • 2021-07-28
  • 2022-01-22
  • 2021-07-03
  • 2022-01-13
  • 2021-06-09
  • 2021-04-28
  • 2021-06-13
猜你喜欢
  • 2021-09-18
  • 2022-12-23
  • 2021-06-21
  • 2022-12-23
  • 2022-12-23
  • 2021-04-28
  • 2022-12-23
相关资源
相似解决方案