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"

i cant build branch 4.16 with luaPlugin in vs 2017.

hi.all,I met a build error with branch 4.16 in vs 2017.here is the error.

 > 1>------ 已启动生成: 项目:
 > ShaderCompileWorker, 配置:
 > Development_Program x64 ------
 > 1>..\..\Build\BatchFiles\Build.bat
 > ShaderCompileWorker Win64 Development
 > -waitmutex 1>Target is up to date 1>Deploying ShaderCompileWorker Win64
 > Development... 1>Total build time:
 > 0.14 seconds (NoActionsToExecute executor: 0.00 seconds) 2>------
 > 已启动生成: 项目: UE4, 配置: Development_Editor
 > x64 ------ 2>Performing 4 actions (4
 > in parallel) 2>Module.ScriptPlugin.cpp
 > 2>d:\ue4\branches\4.16\engine\plugins\scriptplugin\source\scriptplugin\private\LuaIntegration.h(15):
 > error C2504: “FScriptContextBase”:
 > 未定义基类
 > 2>d:\ue4\branches\4.16\engine\plugins\scriptplugin\source\scriptplugin\private\LuaIntegration.h(50):
 > error C2065: “FScriptField”: 未声明的标识符
 > 2>d:\ue4\branches\4.16\engine\plugins\scriptplugin\source\scriptplugin\private\LuaIntegration.h(50):
 > error C2923: “TArray”:
 > 对于参数“InElementType”,“FScriptField”不是有效的
 > 模板 类型变量
 > 2>d:\ue4\branches\4.16\engine\plugins\scriptplugin\source\scriptplugin\private\LuaIntegration.h(29):
 > error C3668:
 > “FLuaContext::Initialize”:
 > 包含重写说明符“override”的方法没有重写任何基类方法
 > 2>d:\ue4\branches\4.16\engine\plugins\scriptplugin\source\scriptplugin\private\LuaIntegration.h(30):
 > error C3668: “FLuaContext::BeginPlay”:
 > 包含重写说明符“override”的方法没有重写任何基类方法
 > 2>d:\ue4\branches\4.16\engine\plugins\scriptplugin\source\scriptplugin\private\LuaIntegration.h(31):
 > error C3668: “FLuaContext::Tick”:
 > 包含重写说明符“override”的方法没有重写任何基类方法
 > 2>d:\ue4\branches\4.16\engine\plugins\scriptplugin\source\scriptplugin\private\LuaIntegration.h(32):
 > error C3668: “FLuaContext::Destroy”:
 > 包含重写说明符“override”的方法没有重写任何基类方法
 > 2>d:\ue4\branches\4.16\engine\plugins\scriptplugin\source\scriptplugin\private\LuaIntegration.h(33):
 > error C3668: “FLuaContext::CanTick”:
 > 包含重写说明符“override”的方法没有重写任何基类方法
 > 2>d:\ue4\branches\4.16\engine\plugins\scriptplugin\source\scriptplugin\private\LuaIntegration.h(35):
 > error C3668:
 > “FLuaContext::SetFloatProperty”:
 > 包含重写说明符“override”的方法没有重写任何基类方法
 > 2>d:\ue4\branches\4.16\engine\plugins\scriptplugin\source\scriptplugin\private\LuaIntegration.h(36):
 > error C3668:
 > “FLuaContext::GetFloatProperty”:
 > 包含重写说明符“override”的方法没有重写任何基类方法
 > 2>d:\ue4\branches\4.16\engine\plugins\scriptplugin\source\scriptplugin\private\LuaIntegration.h(37):
 > error C3668:
 > “FLuaContext::SetIntProperty”:
 > 包含重写说明符“override”的方法没有重写任何基类方法
 > 2>d:\ue4\branches\4.16\engine\plugins\scriptplugin\source\scriptplugin\private\LuaIntegration.h(38):
 > error C3668:
 > “FLuaContext::GetIntProperty”:
 > 包含重写说明符“override”的方法没有重写任何基类方法
 > 2>d:\ue4\branches\4.16\engine\plugins\scriptplugin\source\scriptplugin\private\LuaIntegration.h(39):
 > error C3668:
 > “FLuaContext::SetObjectProperty”:
 > 包含重写说明符“override”的方法没有重写任何基类方法
 > 2>d:\ue4\branches\4.16\engine\plugins\scriptplugin\source\scriptplugin\private\LuaIntegration.h(40):
 > error C3668:
 > “FLuaContext::GetObjectProperty”:
 > 包含重写说明符“override”的方法没有重写任何基类方法
 > 2>d:\ue4\branches\4.16\engine\plugins\scriptplugin\source\scriptplugin\private\LuaIntegration.h(41):
 > error C3668:
 > “FLuaContext::SetBoolProperty”:
 > 包含重写说明符“override”的方法没有重写任何基类方法
 > 2>d:\ue4\branches\4.16\engine\plugins\scriptplugin\source\scriptplugin\private\LuaIntegration.h(42):
 > error C3668:
 > “FLuaContext::GetBoolProperty”:
 > 包含重写说明符“override”的方法没有重写任何基类方法
 > 2>d:\ue4\branches\4.16\engine\plugins\scriptplugin\source\scriptplugin\private\LuaIntegration.h(43):
 > error C3668:
 > “FLuaContext::SetStringProperty”:
 > 包含重写说明符“override”的方法没有重写任何基类方法
 > 2>d:\ue4\branches\4.16\engine\plugins\scriptplugin\source\scriptplugin\private\LuaIntegration.h(44):
 > error C3668:
 > “FLuaContext::GetStringProperty”:
 > 包含重写说明符“override”的方法没有重写任何基类方法
 > 2>d:\ue4\branches\4.16\engine\plugins\scriptplugin\source\scriptplugin\private\LuaIntegration.h(46):
 > error C3668:
 > “FLuaContext::CallFunction”:
 > 包含重写说明符“override”的方法没有重写任何基类方法
 > 2>d:\ue4\branches\4.16\engine\plugins\scriptplugin\source\scriptplugin\private\LuaIntegration.h(47):
 > error C3668:
 > “FLuaContext::InvokeScriptFunction”:
 > 包含重写说明符“override”的方法没有重写任何基类方法
 > 2>d:\ue4\branches\4.16\engine\plugins\scriptplugin\source\scriptplugin\private\LuaIntegration.h(50):
 > error C3668:
 > “FLuaContext::GetScriptDefinedFields”:
 > 包含重写说明符“override”的方法没有重写任何基类方法
 > 2>D:\ue4\branches\4.16\Engine\Plugins\ScriptPlugin\Source\ScriptPlugin\Private\LuaIntegration.cpp(897):
 > error C2065: “FScriptField”: 未声明的标识符
 > 2>D:\ue4\branches\4.16\Engine\Plugins\ScriptPlugin\Source\ScriptPlugin\Private\LuaIntegration.cpp(897):
 > error C2923: “TArray”:
 > 对于参数“InElementType”,“FScriptField”不是有效的
 > 模板 类型变量
 > 2>D:\ue4\branches\4.16\Engine\Plugins\ScriptPlugin\Source\ScriptPlugin\Private\LuaIntegration.cpp(921):
 > error C2065: “FScriptField”: 未声明的标识符
 > 2>D:\ue4\branches\4.16\Engine\Plugins\ScriptPlugin\Source\ScriptPlugin\Private\LuaIntegration.cpp(921):
 > error C2146: 语法错误:
 > 缺少“;”(在标识符“PropertyInfo”的前面)
 > 2>D:\ue4\branches\4.16\Engine\Plugins\ScriptPlugin\Source\ScriptPlugin\Private\LuaIntegration.cpp(921):
 > error C2065: “PropertyInfo”: 未声明的标识符
 > 2>D:\ue4\branches\4.16\Engine\Plugins\ScriptPlugin\Source\ScriptPlugin\Private\LuaIntegration.cpp(925):
 > error C2065: “PropertyInfo”: 未声明的标识符
 > 2>D:\ue4\branches\4.16\Engine\Plugins\ScriptPlugin\Source\ScriptPlugin\Private\LuaIntegration.cpp(925):
 > error C2228: “.Class”的左边必须有类/结构/联合
 > 2>D:\ue4\branches\4.16\Engine\Plugins\ScriptPlugin\Source\ScriptPlugin\Private\LuaIntegration.cpp(925):
 > note: 类型是“unknown-type”
 > 2>D:\ue4\branches\4.16\Engine\Plugins\ScriptPlugin\Source\ScriptPlugin\Private\LuaIntegration.cpp(928):
 > error C2065: “PropertyInfo”: 未声明的标识符
 > 2>D:\ue4\branches\4.16\Engine\Plugins\ScriptPlugin\Source\ScriptPlugin\Private\LuaIntegration.cpp(928):
 > error C2228: “.Class”的左边必须有类/结构/联合
 > 2>D:\ue4\branches\4.16\Engine\Plugins\ScriptPlugin\Source\ScriptPlugin\Private\LuaIntegration.cpp(928):
 > note: 类型是“unknown-type”
 > 2>D:\ue4\branches\4.16\Engine\Plugins\ScriptPlugin\Source\ScriptPlugin\Private\LuaIntegration.cpp(931):
 > error C2065: “PropertyInfo”: 未声明的标识符
 > 2>D:\ue4\branches\4.16\Engine\Plugins\ScriptPlugin\Source\ScriptPlugin\Private\LuaIntegration.cpp(931):
 > error C2228: “.Class”的左边必须有类/结构/联合
 > 2>D:\ue4\branches\4.16\Engine\Plugins\ScriptPlugin\Source\ScriptPlugin\Private\LuaIntegration.cpp(931):
 > note: 类型是“unknown-type”
 > 2>D:\ue4\branches\4.16\Engine\Plugins\ScriptPlugin\Source\ScriptPlugin\Private\LuaIntegration.cpp(935):
 > error C2065: “PropertyInfo”: 未声明的标识符
 > 2>D:\ue4\branches\4.16\Engine\Plugins\ScriptPlugin\Source\ScriptPlugin\Private\LuaIntegration.cpp(935):
 > error C2228: “.Class”的左边必须有类/结构/联合
 > 2>D:\ue4\branches\4.16\Engine\Plugins\ScriptPlugin\Source\ScriptPlugin\Private\LuaIntegration.cpp(935):
 > note: 类型是“unknown-type”
 > 2>D:\ue4\branches\4.16\Engine\Plugins\ScriptPlugin\Source\ScriptPlugin\Private\LuaIntegration.cpp(940):
 > error C2065: “PropertyInfo”: 未声明的标识符
 > 2>D:\ue4\branches\4.16\Engine\Plugins\ScriptPlugin\Source\ScriptPlugin\Private\LuaIntegration.cpp(940):
 > error C2228: “.Class”的左边必须有类/结构/联合
 > 2>D:\ue4\branches\4.16\Engine\Plugins\ScriptPlugin\Source\ScriptPlugin\Private\LuaIntegration.cpp(940):
 > note: 类型是“unknown-type”
 > 2>D:\ue4\branches\4.16\Engine\Plugins\ScriptPlugin\Source\ScriptPlugin\Private\LuaIntegration.cpp(945):
 > error C2065: “PropertyInfo”: 未声明的标识符
 > 2>D:\ue4\branches\4.16\Engine\Plugins\ScriptPlugin\Source\ScriptPlugin\Private\LuaIntegration.cpp(945):
 > error C2228: “.Class”的左边必须有类/结构/联合
 > 2>D:\ue4\branches\4.16\Engine\Plugins\ScriptPlugin\Source\ScriptPlugin\Private\LuaIntegration.cpp(945):
 > note: 类型是“unknown-type”
 > 2>D:\ue4\branches\4.16\Engine\Plugins\ScriptPlugin\Source\ScriptPlugin\Private\LuaIntegration.cpp(947):
 > error C2065: “PropertyInfo”: 未声明的标识符
 > 2>D:\ue4\branches\4.16\Engine\Plugins\ScriptPlugin\Source\ScriptPlugin\Private\LuaIntegration.cpp(947):
 > error C2228: “.Name”的左边必须有类/结构/联合
 > 2>D:\ue4\branches\4.16\Engine\Plugins\ScriptPlugin\Source\ScriptPlugin\Private\LuaIntegration.cpp(947):
 > note: 类型是“unknown-type”
 > 2>D:\ue4\branches\4.16\Engine\Plugins\ScriptPlugin\Source\ScriptPlugin\Private\LuaIntegration.cpp(948):
 > error C2065: “PropertyInfo”: 未声明的标识符
 > 2>D:\ue4\branches\4.16\Engine\Plugins\ScriptPlugin\Source\ScriptPlugin\Private\ScriptBlueprintGeneratedClass.cpp(121):
 > error C2440: “=”: 无法从“FLuaContext
 > *”转换为“FScriptContextBase *” 2>D:\ue4\branches\4.16\Engine\Plugins\ScriptPlugin\Source\ScriptPlugin\Private\ScriptBlueprintGeneratedClass.cpp(121):
 > note: 与指向的类型无关;转换要求 reinterpret_cast、C
 > 样式转换或函数样式转换 2>ERROR : UBT error :
 > Failed to produce item:
 > D:\ue4\branches\4.16\Engine\Plugins\ScriptPlugin\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-ScriptPlugin.lib
 > 2>Total build time: 4.33 seconds
 > (Local executor: 0.00 seconds)
 > 2>E:\Program Files (x86)\Microsoft
 > Visual
 > Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(44,5):
 > error MSB3075:
 > 命令“..\..\Build\BatchFiles\Build.bat
 > UE4Editor Win64 Development
 > -waitmutex”已退出,代码为 5。请验证您是否拥有运行此命令的足够权限。
 > 2>已完成生成项目“UE4.vcxproj”的操作 - 失败。
 > ========== 生成: 成功 1 个,失败 1 个,最新 2 个,跳过 0 个 ==========


how can i solve this problem? I want to try lua in ue4.

Product Version: UE Github Master branch
Tags:
more ▼

asked Apr 24 '17 at 08:01 AM in Installation & Setup

avatar image

星河微尘
1 1

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

0 answers: sort voted first
Be the first one to answer this question
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