Since i have added in a UBTTask_BlackboardBase via the class wizard adding tool in unreal i have gotten the following errors.
Error 1 error LNK2019: unresolved external symbol “__declspec(dllimport) public: __cdecl UBTTask_BlackboardBase::UBTTask_BlackboardBase(class FPostConstructInitializeProperties const &)” (_imp??0UBTTask_BlackboardBase@@QEAA@AEBVFPostConstructInitializeProperties@@@Z) referenced in function “public: __cdecl UMyBTTask_BlackboardBase::UMyBTTask_BlackboardBase(class FPostConstructInitializeProperties const &)” (??0UMyBTTask_BlackboardBase@@QEAA@AEBVFPostConstructInitializeProperties@@@Z) D:\UnrealSpaceGame\Intermediate\ProjectFiles\MyBTTask_BlackboardBase.cpp.obj
I just want to remove the class from my project so i can compile again. Any ideas? would really appreciate the help?
I have also tryed adding in some code the the class,
.h
class UNREALSPACEGAME_API UMyBTTask_BlackboardBase : public UBTTask_BlackboardBase
{
GENERATED_UCLASS_BODY()
virtual EBTNodeResult::Type ExecuteTask(UBehaviorTreeComponent* OwnerComp, uint8* NodeMemory) override;
}
.cpp
EBTNodeResult::Type UMyBTTask_BlackboardBase::ExecuteTask(UBehaviorTreeComponent* OwnerComp, uint8* NodeMemory)
{
return EBTNodeResult::Failed;
}