-
Notifications
You must be signed in to change notification settings - Fork 133
Open
Description
Full build error log:
`D:/program/Android/android-sdk-windows/ndk/25.1.8937393/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include/c++/v1/type_traits(3874,23): error: calling 'operator()' with incomplete return type 'FLuaValueOrError'
_LIBCPP_INVOKE_RETURN(_VSTD::forward<_Fp>(__f)(_VSTD::forward<_Args>(__args)...))
D:/program/Android/android-sdk-windows/ndk/25.1.8937393/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include/c++/v1/__config(795,15): note: expanded from macro '_VSTD'
#define _VSTD std::_LIBCPP_ABI_NAMESPACE
^
D:/program/Android/android-sdk-windows/ndk/25.1.8937393/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include/c++/v1/type_traits(3771,23): note: expanded from macro '_LIBCPP_INVOKE_RETURN'
noexcept(noexcept(__VA_ARGS__)) -> decltype(__VA_ARGS__) \
^~~~~~~~~~~
D:/program/Android/android-sdk-windows/ndk/25.1.8937393/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include/c++/v1/type_traits(3890,12): note: in instantiation of exception specification for '__invoke<TFunction<FLuaValueOrError (TArray<FLuaValue>)>, TArray<FLuaValue>>' requested here
_VSTD::__invoke(_VSTD::declval<_XFp>(), _VSTD::declval<_XArgs>()...));
^
D:/program/Android/android-sdk-windows/ndk/25.1.8937393/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include/c++/v1/type_traits(3896,28): note: while substituting deduced template arguments into function template '__try_call' [with _XFp = TFunction<FLuaValueOrError (TArray<FLuaValue>)>, _XArgs = (no value)]
using _Result = decltype(__try_call<_Fp, _Args...>(0));
^
D:/program/Android/android-sdk-windows/ndk/25.1.8937393/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include/c++/v1/type_traits(3993,31): note: in instantiation of template class 'std::__invokable_r<FLuaValueOrError, TFunction<FLuaValueOrError (TArray<FLuaValue>)>, TArray<FLuaValue>>' requested here
: integral_constant<bool, __invokable_r<_Ret, _Fn, _Args...>::value> {};
^
D:/program/Android/android-sdk-windows/ndk/25.1.8937393/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include/c++/v1/type_traits(4001,7): note: in instantiation of template class 'std::is_invocable_r<FLuaValueOrError, TFunction<FLuaValueOrError (TArray<FLuaValue>)>, TArray<FLuaValue>>' requested here
= is_invocable_r<_Ret, _Fn, _Args...>::value;
^
D:/UnrealEngine/Engine/Source/Runtime/Core/Public/Templates/Function.h(726,9): note: in instantiation of variable template specialization 'std::is_invocable_r_v<FLuaValueOrError, TFunction<FLuaValueOrError (TArray<FLuaValue>)>, TArray<FLuaValue>>' requested here
std::is_invocable_r_v<Ret, std::decay_t<FunctorType>, ParamTypes...>
^
D:/UnrealEngine/Engine/Source/Runtime/Core/Public/Templates/Function.h(724,3): note: while substituting template arguments into constraint expression here
UE_REQUIRES(
^~~~~~~~~~~~
D:/UnrealEngine/Engine/Source/Runtime/Core/Public/Templates/Requires.h(98,39): note: expanded from macro 'UE_REQUIRES'
#define UE_REQUIRES(...) > requires (!!(__VA_ARGS__)) && UE::Core::Private::BoolIdentityConcept<true
^~~~~~~~~~~~~~~
D:/ActionRPG/Plugins/LuaMachine/Source/LuaMachine/Public/LuaValue.h(165,20): note: while checking constraint satisfaction for template 'TFunction<TFunction<FLuaValueOrError (TArray<FLuaValue>)> &>' required here
return FLuaValue(InLambda);
^~~~~~~~
D:/ActionRPG/Plugins/LuaMachine/Source/LuaMachine/Public/LuaValue.h(165,20): note: in instantiation of function template specialization 'TFunction<FLuaValueOrError (TArray<FLuaValue>)>::TFunction<TFunction<FLuaValueOrError (TArray<FLuaValue>)> &>' requested here
D:/UnrealEngine/Engine/Source/Runtime/Core/Public/Templates/Function.h(463,7): note: 'operator()' declared here
Ret operator()(ParamTypes... Params) const
^
D:/ActionRPG/Plugins/LuaMachine/Source/LuaMachine/Public/LuaValue.h(38,8): note: forward declaration of 'FLuaValueOrError'
struct FLuaValueOrError;
^
In file included from D:/ActionRPG/Intermediate/Build/Android/a+x/ActionRPG/DebugGame/LuaMachineUMG/Module.LuaMachineUMG.cpp:9:
D:/ActionRPG/Plugins/LuaMachineUMG/Source/LuaMachineUMG/Private/LuaProxyWidget.cpp(25,32): error: no matching conversion for functional-style cast from '(lambda at D:/ActionRPG/Plugins/LuaMachineUMG/Source/LuaMachineUMG/Private/LuaProxyWidget.cpp:25:42)' to 'FLuaValue'
FLuaValue SetContentWidget = FLuaValue([this](TArray<FLuaValue> LuaArgs) -> FLuaValueOrError {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/ActionRPG/Plugins/LuaMachine/Source/LuaMachine/Public/LuaValue.h(58,2): note: candidate constructor not viable: no known conversion from '(lambda at D:/ActionRPG/Plugins/LuaMachineUMG/Source/LuaMachineUMG/Private/LuaProxyWidget.cpp:25:42)' to 'const FLuaValue' for 1st argument
FLuaValue(const FLuaValue& SourceValue);
^
D:/ActionRPG/Plugins/LuaMachine/Source/LuaMachine/Public/LuaValue.h(61,2): note: candidate constructor not viable: no known conversion from '(lambda at D:/ActionRPG/Plugins/LuaMachineUMG/Source/LuaMachineUMG/Private/LuaProxyWidget.cpp:25:42)' to 'const FString' for 1st argument
FLuaValue(const FString& InString) : FLuaValue()
^
D:/ActionRPG/Plugins/LuaMachine/Source/LuaMachine/Public/LuaValue.h(67,2): note: candidate constructor not viable: no known conversion from '(lambda at D:/ActionRPG/Plugins/LuaMachineUMG/Source/LuaMachineUMG/Private/LuaProxyWidget.cpp:25:42)' to 'const char *' for 1st argument
FLuaValue(const char* InChars) : FLuaValue(FString(InChars))
^
D:/ActionRPG/Plugins/LuaMachine/Source/LuaMachine/Public/LuaValue.h(71,2): note: candidate constructor not viable: no known conversion from '(lambda at D:/ActionRPG/Plugins/LuaMachineUMG/Source/LuaMachineUMG/Private/LuaProxyWidget.cpp:25:42)' to 'const TCHAR *' (aka 'const char16_t *') for 1st argument
FLuaValue(const TCHAR* InChars) : FLuaValue(FString(InChars))
^
D:/ActionRPG/Plugins/LuaMachine/Source/LuaMachine/Public/LuaValue.h(92,2): note: candidate constructor not viable: no known conversion from '(lambda at D:/ActionRPG/Plugins/LuaMachineUMG/Source/LuaMachineUMG/Private/LuaProxyWidget.cpp:25:42)' to 'const TArray<uint8>' (aka 'const TArray<unsigned char>') for 1st argument
FLuaValue(const TArray<uint8>& InBytes) : FLuaValue(reinterpret_cast<const char*>(InBytes.GetData()), InBytes.Num())
^
D:/ActionRPG/Plugins/LuaMachine/Source/LuaMachine/Public/LuaValue.h(96,2): note: candidate constructor not viable: no known conversion from '(lambda at D:/ActionRPG/Plugins/LuaMachineUMG/Source/LuaMachineUMG/Private/LuaProxyWidget.cpp:25:42)' to 'const double' for 1st argument
FLuaValue(const double Value) : FLuaValue()
^
D:/ActionRPG/Plugins/LuaMachine/Source/LuaMachine/Public/LuaValue.h(102,2): note: candidate constructor not viable: no known conversion from '(lambda at D:/ActionRPG/Plugins/LuaMachineUMG/Source/LuaMachineUMG/Private/LuaProxyWidget.cpp:25:42)' to 'const float' for 1st argument
FLuaValue(const float Value) : FLuaValue()
^
D:/ActionRPG/Plugins/LuaMachine/Source/LuaMachine/Public/LuaValue.h(108,2): note: candidate constructor not viable: no known conversion from '(lambda at D:/ActionRPG/Plugins/LuaMachineUMG/Source/LuaMachineUMG/Private/LuaProxyWidget.cpp:25:42)' to 'const int64' (aka 'const long long') for 1st argument
FLuaValue(const int64 Value) : FLuaValue()
^
D:/ActionRPG/Plugins/LuaMachine/Source/LuaMachine/Public/LuaValue.h(114,2): note: candidate constructor not viable: no known conversion from '(lambda at D:/ActionRPG/Plugins/LuaMachineUMG/Source/LuaMachineUMG/Private/LuaProxyWidget.cpp:25:42)' to 'const int32' (aka 'const int') for 1st argument
FLuaValue(const int32 Value) : FLuaValue()
^
D:/ActionRPG/Plugins/LuaMachine/Source/LuaMachine/Public/LuaValue.h(120,2): note: candidate constructor not viable: no known conversion from '(lambda at D:/ActionRPG/Plugins/LuaMachineUMG/Source/LuaMachineUMG/Private/LuaProxyWidget.cpp:25:42)' to 'const bool' for 1st argument
FLuaValue(const bool bInBool) : FLuaValue()
^
D:/ActionRPG/Plugins/LuaMachine/Source/LuaMachine/Public/LuaValue.h(126,2): note: candidate constructor not viable: no known conversion from '(lambda at D:/ActionRPG/Plugins/LuaMachineUMG/Source/LuaMachineUMG/Private/LuaProxyWidget.cpp:25:42)' to 'UObject *' for 1st argument
FLuaValue(UObject* InObject) : FLuaValue()
^
D:/ActionRPG/Plugins/LuaMachine/Source/LuaMachine/Public/LuaValue.h(135,2): note: candidate constructor not viable: no known conversion from '(lambda at D:/ActionRPG/Plugins/LuaMachineUMG/Source/LuaMachineUMG/Private/LuaProxyWidget.cpp:25:42)' to 'TFunction<FLuaValueOrError (TArray<FLuaValue>)>' for 1st argument
FLuaValue(TFunction<FLuaValueOrError(TArray<FLuaValue>)> InLambda) : FLuaValue()
^
D:/ActionRPG/Plugins/LuaMachine/Source/LuaMachine/Public/LuaValue.h(45,2): note: candidate constructor not viable: requires 0 arguments, but 1 was provided
FLuaValue()
^
D:/ActionRPG/Plugins/LuaMachine/Source/LuaMachine/Public/LuaValue.h(75,2): note: candidate constructor not viable: requires 2 arguments, but 1 was provided
FLuaValue(const char* InChars, size_t Length) : FLuaValue()`
any help would be helpful, please~
Metadata
Metadata
Assignees
Labels
No labels