You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It successfully creates a Haxe directory for my project. However, I am unable to compile my project. Attempting to build from within Visual Studio creates the following output:
1>Creating makefile for Haxe419Editor (changes to external dependency)
1>BuildApi.Build.cs: Using Haxe
1>Generating False
1>Calling Haxe
1>Calling the build tool with arguments --cwd "D:\Repos\Other\Haxe419\Plugins\UnrealHx\unreal.hx/Haxe/BuildTool" compile-project.hxml -D "EngineDir=C:\Program Files\Epic Games\UE_4.19\Engine" -D "ProjectDir=D:\Repos\Other\Haxe419" -D "TargetName=Haxe419Editor" -D "TargetPlatform=Win64" -D "TargetConfiguration=Development" -D "TargetType=Editor" -D "ProjectFile=D:\Repos\Other\Haxe419\Haxe419.uproject" -D "PluginDir=D:\Repos\Other\Haxe419\Plugins\UnrealHx\unreal.hx" -D UE_BUILD_CS -D "RootDir=C:\Program Files\Epic Games\UE_4.19"
1>Building Haxe through the Build.cs file
1>D:\Repos\Other\Haxe419/Intermediate/Haxe/UhxBuild/UhxBuild.exe projectDir=D:\Repos\Other\Haxe419 pluginDir=D:\Repos\Other\Haxe419\Plugins\UnrealHx\unreal.hx cppiaRecompile=false targetPlatform=Win64 rootDir=C:\Program Files\Epic Games\UE_4.19 engineDir=C:\Program Files\Epic Games\UE_4.19\Engine ueEditorCompile=false projectFile=D:\Repos\Other\Haxe419\Haxe419.uproject targetName=Haxe419Editor targetType=Editor ueEditorRecompile=false skipBake=false targetConfiguration=Development numProcessors=8
1>InitPlugin.hx:54: Updating game project...
1>InitPlugin.hx:72: No Build.hx / Target.hx files found. Skipping their compilation
1>haxe -version
1>3.4.7
1>UhxBuild.hx:885: Skipping extern baker since there is nothing to compile
1>Skipping static compilation because it was not needed
1>Skipping cppia compilation because it was not needed
1>*** HAXE BUILD SUCCEEDED ***
1>Haxe call executed in 00:00:04.2737695
1>Performing 4 actions (4 in parallel)
1>HaxeRuntime.Win-Dev-Editor.uhxglue.cpp
1>Unreal.Win-Dev-Editor.uhxglue.cpp
1>D:/Repos/Other/Haxe419/Intermediate/Haxe/Haxe419-Win-Development-Editor/Generated/Private/uhx/glues/AActor_Glue.cpp(1030): error C2248: 'AActor::ReplicatedComponents': cannot access private member declared in class 'AActor'
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Engine\Classes\GameFramework/Actor.h(2810): note: see declaration of 'AActor::ReplicatedComponents'
1>c:\program files\epic games\ue_4.19\engine\source\editor\unrealed\public\AssetThumbnail.h(13): note: see declaration of 'AActor'
1>D:/Repos/Other/Haxe419/Intermediate/Haxe/Haxe419-Win-Development-Editor/Generated/Private/uhx/glues/AActor_Glue.cpp(1048): error C2248: 'AActor::ReplicatedComponents': cannot access private member declared in class 'AActor'
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Engine\Classes\GameFramework/Actor.h(2810): note: see declaration of 'AActor::ReplicatedComponents'
1>c:\program files\epic games\ue_4.19\engine\source\editor\unrealed\public\AssetThumbnail.h(13): note: see declaration of 'AActor'
1>D:/Repos/Other/Haxe419/Intermediate/Haxe/Haxe419-Win-Development-Editor/Generated/Private/uhx/glues/AActor_Glue.cpp(1127): error C2039: 'PostNetReceiveRole': is not a member of 'AActor'
1>c:\program files\epic games\ue_4.19\engine\source\editor\unrealed\public\AssetThumbnail.h(13): note: see declaration of 'AActor'
1>D:/Repos/Other/Haxe419/Intermediate/Haxe/Haxe419-Win-Development-Editor/Generated/Private/uhx/glues/ACharacter_Glue.cpp(623): error C2039: 'SetPlayerState': is not a member of 'ACharacter'
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Engine\Classes\GameFramework/CharacterMovementComponent.h(22): note: see declaration of 'ACharacter'
1>D:/Repos/Other/Haxe419/Intermediate/Haxe/Haxe419-Win-Development-Editor/Generated/Private/uhx/glues/ACharacter_Glue.cpp(626): error C2039: 'GetPlayerState': is not a member of 'ACharacter'
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Engine\Classes\GameFramework/CharacterMovementComponent.h(22): note: see declaration of 'ACharacter'
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Templates/Function.h(244): error C2672: 'Invoke': no matching overloaded function found
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Templates/Function.h(243): note: while compiling class template member function 'void UE4Function_Private::TFunctionRefCaller<FunctorType,Ret (void *)>::Call(void *,void *&)'
1> with
1> [
1> FunctorType=uhx::TMapReflect_obj::FindOrAdd::<lambda_2ee7f1b939a325a9e6187e3033738a77>,
1> Ret=void
1> ]
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Templates/Function.h(290): note: see reference to function template instantiation 'void UE4Function_Private::TFunctionRefCaller<FunctorType,Ret (void *)>::Call(void *,void *&)' being compiled
1> with
1> [
1> FunctorType=uhx::TMapReflect_obj::FindOrAdd::<lambda_2ee7f1b939a325a9e6187e3033738a77>,
1> Ret=void
1> ]
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Templates/Function.h(290): note: see reference to class template instantiation 'UE4Function_Private::TFunctionRefCaller<FunctorType,Ret (void *)>' being compiled
1> with
1> [
1> FunctorType=uhx::TMapReflect_obj::FindOrAdd::<lambda_2ee7f1b939a325a9e6187e3033738a77>,
1> Ret=void
1> ]
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Templates/Function.h(463): note: see reference to function template instantiation 'void UE4Function_Private::TFunctionRefBase<TFunctionRef<void (void *)>,FuncType>::Set<FunctorType>(FunctorType *)' being compiled
1> with
1> [
1> FuncType=void (void *),
1> FunctorType=uhx::TMapReflect_obj::FindOrAdd::<lambda_2ee7f1b939a325a9e6187e3033738a77>
1> ]
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Templates/Function.h(463): note: see reference to function template instantiation 'void UE4Function_Private::TFunctionRefBase<TFunctionRef<void (void *)>,FuncType>::Set<FunctorType>(FunctorType *)' being compiled
1> with
1> [
1> FuncType=void (void *),
1> FunctorType=uhx::TMapReflect_obj::FindOrAdd::<lambda_2ee7f1b939a325a9e6187e3033738a77>
1> ]
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Templates/Function.h(412): note: see reference to function template instantiation 'void TFunctionRef<void (void *)>::Set<const FunctorType>(FunctorType *)' being compiled
1> with
1> [
1> FunctorType=uhx::TMapReflect_obj::FindOrAdd::<lambda_2ee7f1b939a325a9e6187e3033738a77>
1> ]
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Templates/Function.h(412): note: see reference to function template instantiation 'void TFunctionRef<void (void *)>::Set<const FunctorType>(FunctorType *)' being compiled
1> with
1> [
1> FunctorType=uhx::TMapReflect_obj::FindOrAdd::<lambda_2ee7f1b939a325a9e6187e3033738a77>
1> ]
1>D:/Repos/Other/Haxe419/Intermediate/Haxe/Haxe419-Win-Development-Editor/Template/Private/uhx/UnrealReflection.cpp(855): note: see reference to function template instantiation 'TFunctionRef<void (void *)>::TFunctionRef<uhx::TMapReflect_obj::FindOrAdd::<lambda_2ee7f1b939a325a9e6187e3033738a77>,void>(const FunctorType &)' being compiled
1> with
1> [
1> FunctorType=uhx::TMapReflect_obj::FindOrAdd::<lambda_2ee7f1b939a325a9e6187e3033738a77>
1> ]
1>D:/Repos/Other/Haxe419/Intermediate/Haxe/Haxe419-Win-Development-Editor/Template/Private/uhx/UnrealReflection.cpp(805): note: see reference to function template instantiation 'TFunctionRef<void (void *)>::TFunctionRef<uhx::TMapReflect_obj::FindOrAdd::<lambda_2ee7f1b939a325a9e6187e3033738a77>,void>(const FunctorType &)' being compiled
1> with
1> [
1> FunctorType=uhx::TMapReflect_obj::FindOrAdd::<lambda_2ee7f1b939a325a9e6187e3033738a77>
1> ]
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Templates/Function.h(244): error C2893: Failed to specialize function template 'unknown-type Invoke(FuncType &&,ArgTypes &&...)'
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Templates/Function.h(244): note: With the following template arguments:
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Templates/Function.h(244): note: 'FuncType=Functor &'
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Templates/Function.h(244): note: 'ArgTypes={T}'
1>D:/Repos/Other/Haxe419/Intermediate/Haxe/Haxe419-Win-Development-Editor/Generated/Private/uhx/glues/ULevelStreaming_Glue.cpp(182): error C2039: 'HasLoadRequestPending': is not a member of 'ULevelStreaming'
1>C:\Program Files\Epic Games\UE_4.19\Engine\Intermediate\Build\Win64\UE4Editor\Inc\Engine\GameplayStatics.generated.h(48): note: see declaration of 'ULevelStreaming'
1>D:/Repos/Other/Haxe419/Intermediate/Haxe/Haxe419-Win-Development-Editor/Generated/Private/uhx/glues/UWorld_Glue.cpp(342): error C2039: 'GetStreamingLevels': is not a member of 'UWorld'
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Engine\Public\AudioDevice.h(39): note: see declaration of 'UWorld'
1>UnrealBuildTool : error : UBT ERROR: Failed to produce item: D:\Repos\Other\Haxe419\Binaries\Win64\UE4Editor-Haxe419.dll
1>Total build time: 78.97 seconds (Local executor: 0.00 seconds)
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(44,5): error MSB3075: The command ""C:\Program Files\Epic Games\UE_4.19\Engine\Build\BatchFiles\Build.bat" Haxe419Editor Win64 Development "D:\Repos\Other\Haxe419\Haxe419.uproject" -WaitMutex -FromMsBuild" exited with code 5. Please verify that you have sufficient rights to run this command.
1>Done building project "Haxe419.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
The text was updated successfully, but these errors were encountered:
It looks like there are a bunch of member variables in the wrapper classes that are defined in Haxe/Externs/Common that are not in the 4.19 version of the engine.
It successfully creates a Haxe directory for my project. However, I am unable to compile my project. Attempting to build from within Visual Studio creates the following output:
The text was updated successfully, but these errors were encountered: