Open CrackerHax opened 4 years ago
Any compiler errors you can share?
MacOS 10.15.4, UE4.24.3, Unreal.js-core branch:4.24 Error when compiling manually:
/Users/Kanbaru/UE_4.24/Engine/Build/BatchFiles/RunUAT.sh BuildPlugin -plugin="/Users/Kanbaru/UE_4.24/Engine/Plugins/UnrealJS/UnrealJS.uplugin" -package="/Users/Kanbaru/Downloads/Output/UnrealJS"
Running AutomationTool...
Running system mono/msbuild, version: Mono JIT compiler version 6.8.0.123 (2019-10/1d0d939dc30 Thu Mar 12 23:19:08 EDT 2020)
msbuild Source/Programs/AutomationTool/AutomationTool.csproj /p:Configuration=Development /p:Platform=AnyCPU /verbosity:quiet /nologo /p:NoWarn=1591 /property:AutomationToolProjectOnly=true /p:TargetFrameworkProfile=
/Library/Frameworks/Mono.framework/Versions/6.8.0/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(1870,5): warning : The referenced project '../IOS/MobileDeviceInterface/MobileDeviceInterface.csproj' does not exist. [/Users/Kanbaru/UE_4.24/Engine/Source/Programs/AutomationTool/AutomationTool.csproj]
Start UAT: mono AutomationTool.exe BuildPlugin -plugin=/Users/Kanbaru/UE_4.24/Engine/Plugins/UnrealJS/UnrealJS.uplugin -package=/Users/Kanbaru/Downloads/Output/UnrealJS
Parsing command line: BuildPlugin -plugin=/Users/Kanbaru/UE_4.24/Engine/Plugins/UnrealJS/UnrealJS.uplugin -package=/Users/Kanbaru/Downloads/Output/UnrealJS -compile
WARNING: Ignoring -Compile argument because engine is installed.
Copying 397 file(s) using max 64 thread(s)
Reading plugin from /Users/Kanbaru/Downloads/Output/UnrealJS/HostProject/Plugins/UnrealJS/UnrealJS.uplugin...
Building plugin for host platforms: Mac
Running: mono "/Users/Kanbaru/UE_4.24/Engine/Binaries/DotNET/UnrealBuildTool.exe" UE4Editor Mac Development -Project=/Users/Kanbaru/Downloads/Output/UnrealJS/HostProject/HostProject.uproject -plugin=/Users/Kanbaru/Downloads/Output/UnrealJS/HostProject/Plugins/UnrealJS/UnrealJS.uplugin -iwyu -noubtmakefiles -manifest=/Users/Kanbaru/Downloads/Output/UnrealJS/HostProject/Saved/Manifest-UE4Editor-Mac-Development.xml -nohotreload -log="/Users/Kanbaru/Library/Logs/Unreal Engine/LocalBuildLogs/UBT-UE4Editor-Mac-Development.txt"
While compiling /Users/Kanbaru/UE_4.24/Engine/Intermediate/Build/BuildRules/UE4Rules.dll:
/Users/Kanbaru/UE_4.24/Engine/Plugins/UnrealJS/Source/V8/V8.Build.cs(104,14) : warning CS0219: The variable ShouldLink_libsampler' is assigned but its value is never used While compiling /Users/Kanbaru/Downloads/Output/UnrealJS/HostProject/Intermediate/Build/BuildRules/HostProjectModuleRules.dll: /Users/Kanbaru/Downloads/Output/UnrealJS/HostProject/Plugins/UnrealJS/Source/V8/V8.Build.cs(104,14) : warning CS0219: The variable
ShouldLink_libsampler' is assigned but its value is never used
Parsing headers for UE4Editor
Running UnrealHeaderTool "/Users/Kanbaru/Downloads/Output/UnrealJS/HostProject/HostProject.uproject" "/Users/Kanbaru/Downloads/Output/UnrealJS/HostProject/Intermediate/Build/Mac/UE4Editor/Development/UE4Editor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
Reflection code generated for UE4Editor in 10.2117497 seconds
Writing manifest to /Users/Kanbaru/Downloads/Output/UnrealJS/HostProject/Saved/Manifest-UE4Editor-Mac-Development.xml
Building UE4Editor...
Performing 28 actions (12 in parallel)
[2/28] Compile SharedPCH.Engine.ShadowErrors.h
[1/28] Compile SharedPCH.UnrealEd.ShadowErrors.h
[3/28] Compile Module.V8.cpp
[4/28] Compile Module.V8.gen.1_of_2.cpp
[6/28] Compile Module.JavascriptUMG.gen.1_of_3.cpp
[5/28] Compile Module.V8.gen.2_of_2.cpp
[7/28] Compile Module.JavascriptUMG.cpp
[8/28] Compile Module.JavascriptUMG.gen.3_of_3.cpp
[9/28] Compile Module.JavascriptUMG.gen.2_of_3.cpp
[10/28] Compile Module.JavascriptGraphEditor.gen.2_of_2.cpp
[11/28] Compile Module.JavascriptConsole.cpp
[12/28] Compile Module.JavascriptHttp.cpp
[13/28] Compile Module.JavascriptGraphEditor.cpp
[14/28] Compile Module.JavascriptGraphEditor.gen.1_of_2.cpp
In file included from /Users/Kanbaru/Downloads/Output/UnrealJS/HostProject/Plugins/UnrealJS/Intermediate/Build/Mac/UE4Editor/Development/V8/Module.V8.cpp:5:
In file included from /Users/Kanbaru/Downloads/Output/UnrealJS/HostProject/Plugins/UnrealJS/Source/V8/Private/FunctionCall.cpp:3:
/Users/Kanbaru/Downloads/Output/UnrealJS/HostProject/Plugins/UnrealJS/Source/V8/Private/JavascriptContext_Private.h:25:3: error: explicitly defaulted copy constructor is implicitly deleted [-Werror,-Wdefaulted-function-deleted]
FExportedStructMemoryInfo(const FExportedStructMemoryInfo& Other) = default;
^
/Users/Kanbaru/Downloads/Output/UnrealJS/HostProject/Plugins/UnrealJS/Source/V8/Private/JavascriptContext_Private.h:37:35: note: copy constructor of 'FExportedStructMemoryInfo' is implicitly deleted because field 'Value' has a deleted copy constructor
v8::UniquePersistent
^
In file included from /Users/Kanbaru/Downloads/Output/UnrealJS/HostProject/Plugins/UnrealJS/Intermediate/Build/Mac/UE4Editor/Development/V8/Module.V8.cpp:8:
/Users/Kanbaru/Downloads/Output/UnrealJS/HostProject/Plugins/UnrealJS/Source/V8/Private/JavascriptContext_Private.cpp:60:60: error: reference to 'Handle' is ambiguous
static TArray
^
/Users/Kanbaru/UE_4.24/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformCompilerPreSetup.h:88:45: note: expanded from macro 'DEPRECATED_MACRO'
^
/Users/Kanbaru/UE_4.24/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformCompilerPreSetup.h:84:3: note: expanded from macro 'EMIT_CUSTOM_WARNING' EMIT_CUSTOM_WARNING_AT_LINE(LINE, Warning) ^ /Users/Kanbaru/UE_4.24/Engine/Source/Runtime/Core/Public/Clang/ClangPlatformCompilerPreSetup.h:135:3: note: expanded from macro 'EMIT_CUSTOM_WARNING_AT_LINE' _Pragma(PREPROCESSOR_TO_STRING(message(Warning))) ^
Get the latest code and try building again. :)
I tried to get the latest code of the main branch to build the plugin.
MacOS 10.15.4, UE4.24.3, Unreal.js-core branch:master
/Users/Kanbaru/UE_4.24/Engine/Build/BatchFiles/RunUAT.sh BuildPlugin -plugin="/Users/Kanbaru/UE_4.24/Engine/Plugins/UnrealJS/UnrealJS.uplugin" -package="/Users/Kanbaru/Downloads/Output/UnrealJS"
Running AutomationTool...
Running system mono/msbuild, version: Mono JIT compiler version 6.8.0.123 (2019-10/1d0d939dc30 Thu Mar 12 23:19:08 EDT 2020)
msbuild Source/Programs/AutomationTool/AutomationTool.csproj /p:Configuration=Development /p:Platform=AnyCPU /verbosity:quiet /nologo /p:NoWarn=1591 /property:AutomationToolProjectOnly=true /p:TargetFrameworkProfile=
/Library/Frameworks/Mono.framework/Versions/6.8.0/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(1870,5): warning : The referenced project '../IOS/MobileDeviceInterface/MobileDeviceInterface.csproj' does not exist. [/Users/Kanbaru/UE_4.24/Engine/Source/Programs/AutomationTool/AutomationTool.csproj]
Start UAT: mono AutomationTool.exe BuildPlugin -plugin=/Users/Kanbaru/UE_4.24/Engine/Plugins/UnrealJS/UnrealJS.uplugin -package=/Users/Kanbaru/Downloads/Output/UnrealJS
Parsing command line: BuildPlugin -plugin=/Users/Kanbaru/UE_4.24/Engine/Plugins/UnrealJS/UnrealJS.uplugin -package=/Users/Kanbaru/Downloads/Output/UnrealJS -compile
WARNING: Ignoring -Compile argument because engine is installed.
Copying 393 file(s) using max 64 thread(s)
Reading plugin from /Users/Kanbaru/Downloads/Output/UnrealJS/HostProject/Plugins/UnrealJS/UnrealJS.uplugin...
Building plugin for host platforms: Mac
Running: mono "/Users/Kanbaru/UE_4.24/Engine/Binaries/DotNET/UnrealBuildTool.exe" UE4Editor Mac Development -Project=/Users/Kanbaru/Downloads/Output/UnrealJS/HostProject/HostProject.uproject -plugin=/Users/Kanbaru/Downloads/Output/UnrealJS/HostProject/Plugins/UnrealJS/UnrealJS.uplugin -iwyu -noubtmakefiles -manifest=/Users/Kanbaru/Downloads/Output/UnrealJS/HostProject/Saved/Manifest-UE4Editor-Mac-Development.xml -nohotreload -log="/Users/Kanbaru/Library/Logs/Unreal Engine/LocalBuildLogs/UBT-UE4Editor-Mac-Development.txt"
While compiling /Users/Kanbaru/UE_4.24/Engine/Intermediate/Build/BuildRules/UE4Rules.dll:
/Users/Kanbaru/UE_4.24/Engine/Plugins/UnrealJS/Source/V8/V8.Build.cs(104,14) : warning CS0219: The variable ShouldLink_libsampler' is assigned but its value is never used While compiling /Users/Kanbaru/Downloads/Output/UnrealJS/HostProject/Intermediate/Build/BuildRules/HostProjectModuleRules.dll: /Users/Kanbaru/Downloads/Output/UnrealJS/HostProject/Plugins/UnrealJS/Source/V8/V8.Build.cs(104,14) : warning CS0219: The variable
ShouldLink_libsampler' is assigned but its value is never used
Parsing headers for UE4Editor
Running UnrealHeaderTool "/Users/Kanbaru/Downloads/Output/UnrealJS/HostProject/HostProject.uproject" "/Users/Kanbaru/Downloads/Output/UnrealJS/HostProject/Intermediate/Build/Mac/UE4Editor/Development/UE4Editor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
/Users/Kanbaru/Downloads/Output/UnrealJS/HostProject/Plugins/UnrealJS/Source/V8/Public/JavascriptGlobalDelegates.h(22) : Error: Unrecognized type 'TFieldPath' - type must be a UCLASS, USTRUCT or UENUM
Took 19.36058s to run mono, ExitCode=5
UnrealBuildTool failed. See log for more details. (/Users/Kanbaru/Library/Logs/Unreal Engine/LocalBuildLogs/UBT-UE4Editor-Mac-Development.txt)
AutomationTool exiting with ExitCode=5 (5)
RunUAT ERROR: AutomationTool was unable to run successfully.
Currently, the master branch can be built in 4.25, and if you need 4.24, check out the 4.24 branch.
Will not compile