没有提示的错误,但是编译时就出现:missing type specifier - int assumed

我出现的原因是在使用MergeActor时,

#include "Editor/MergeActors/Public/IMergeActorsModule.h"

当在其他文档引用时,build的时候,就提示 MergeActorsModule.h文件中很多错误,就包括missing type specifier - int assumed。

解决办法:

MergeActors是一个单独的Module,在其他Module中使用时,添加头文件后,要在Build.cs文件中添加相应Module,才会正常,如我在ContentBrowser.Build.cs中添加,如下:

// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.using UnrealBuildTool;public class ContentBrowser : ModuleRules
{public ContentBrowser(ReadOnlyTargetRules Target) : base(Target){PrivateIncludePathModuleNames.AddRange(new string[] {"AssetRegistry","AssetTools","CollectionManager","EditorWidgets","GameProjectGeneration","MainFrame","PackagesDialog","SourceControl","SourceControlWindows","MergeActors"});PrivateDependencyModuleNames.AddRange(new string[] {"AppFramework","Core","CoreUObject","ApplicationCore","InputCore","Engine","Slate","SlateCore","EditorStyle","SourceControl","SourceControlWindows","WorkspaceMenuStructure","UnrealEd","EditorWidgets","Projects","AddContentDialog","DesktopPlatform","XmlParser",});DynamicallyLoadedModuleNames.AddRange(new string[] {"PropertyEditor","PackagesDialog","AssetRegistry","AssetTools","CollectionManager","GameProjectGeneration","MainFrame","MergeActors"});PublicIncludePathModuleNames.AddRange(new string[] {                "IntroTutorials"});}
}

之后就正常了。

UE4 报错 missing type specifier - int assumed相关推荐

  1. error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 解决方法

    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 解决方法 参考文章: ...

  2. java argument type mismatch_解决mybatisplus插入报错argument type mismatch的问题

    今天使用argument type mismatch发现插入的时候报错 java.lang.IllegalArgumentException: argument type mismatch 从错误中看 ...

  3. go build 编译报错 missing go.sum entry for module providing package

    go build 编译报错 missing go.sum entry for module providing package 解决方法 // 移除未使用的依赖 go mod tidy 再次编译,就可 ...

  4. SAP WM初阶LQ02报错 - Movement Type 901 for manual transfer orders does not exist -

    SAP WM初阶LQ02报错 - Movement Type 901 for manual transfer orders does not exist - SAP WM模块里的事务代码LQ02很有用 ...

  5. SAP QM 执行事务代码QP01,系统报错 -Material type FOOD is not defined for task list type Q-

    SAP QM 执行事务代码QP01,系统报错 -Material type FOOD is not defined for task list type Q- 商品主数据755,物料类型是FOOD,基 ...

  6. SAP WM自动创建TO后台作业报错 - Processing Type没有维护 - 之对策

    SAP WM自动创建TO后台作业报错 - Processing Type没有维护 - 之对策 笔者所在的D项目上,需要设置自动创建TO的后台作业.笔者为程序RLAUTA10定义了变式,然后设置了后台作 ...

  7. python 报错 AttributeError: type object ‘datetime.datetime‘ has no attribute ‘datetime‘

    python报错:type object 'datetime.datetime' has no attribute 'datetime' 描述:在第一个python程序里还未报错,第二个程序完全复制过 ...

  8. maven中引入oracle驱动报错Missing artifact com.oracle:ojdbc14:jar:10.2.0.4.0

    maven中引入oracle驱动报错Missing artifact com.oracle:ojdbc14:jar:10.2.0.4.0 问题:引入依赖之后会报错.在maven中央库中查找ojdbc, ...

  9. GAMIT安装报错:Type mismatch / Rank mismatch

    在进行GAMIT10.71安装时,遇到报错: Type mismatch between actual argument at (1) and actual argument at (2)..(省略) ...

最新文章

  1. mysql分组和where条件查询_【MySQL】:分组查询where和having
  2. Alpha冲刺Day5
  3. oracle数据提交不上去,oracle数据库命令窗口执行了语句但是没有提交会有什么影响吗...
  4. 需求简报_代码简报:我如何通过做自己喜欢的事情来获得顶级技术实习
  5. 定点运算和浮点运算_C2000浮点运算注意事项——CPU和CLA的差异及误差处理技巧...
  6. python输出文本内容_python 打印文件里的内容
  7. otc焊接机器人操作规范_「分享」超声波塑料焊接机的操作规范
  8. html 进度条roll,js实现增加数字显示的环形进度条效果
  9. 华为集齐 AI 龙珠,“召唤神龙”为期不远
  10. android注销广播接收器,使用广播接收器 - chuiyuan的个人页面 - OSCHINA - 中文开源技术交流社区...
  11. Android学习(十三) BroadcastReceiver组件(广播)
  12. python快速上手_Python快速上手(一)
  13. winform定义数据源名称_C#中数据源绑定DataSource以及相关控件(DataGridView)的使用总结...
  14. kali文件重命名_硬核教程,必看!「网络安全入门」四、文件上传漏洞
  15. 15款13英寸低配mbp的外接显示器选择
  16. c语言gps经纬度转换程序,GPS经纬度坐标的转换
  17. 网站克隆工具_全员惊艳!强推5款高质量的小众实用网站
  18. 「股票」东方财富网公式-缩量
  19. 微信二次分享(标题、摘要、缩略图)
  20. python 捕捉键盘操作

热门文章

  1. “情暖夕阳红、幸福心连心”集体庆生主题活动
  2. 电子发票服务器维护,电子发票来了!你关心的问题都在这里!
  3. 今天又裁了两个,这个冬天有点冷......
  4. 基金投资从入门到精通之一:基础知识篇
  5. 获取图片和视频缩略图Thumbnails ThumbnailUtils
  6. 详解u盘怎么重装系统win7,u盘一键安装win7
  7. 自学maya总是找不到对的方向怎么办?是你没有掌握以下几点
  8. JPA的Repository详解
  9. 3D Morphable Model Method
  10. Bugku:分析 抓到一只苍蝇