Dear Friends at Epic,
I am trying to extend UBoxComponent in a regular game module context!
Getting Linker Errors!
Any ideas of what to add to build.cs ?
// Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Components.h"
#include "Draw3DComp.generated.h"
UCLASS(dependson=UVictoryCore)
class UDraw3DComp : public UBoxComponent
{
GENERATED_UCLASS_BODY()
};
1>Module.VictoryGame.1_of_5.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl UShapeComponent::GetUsedMaterials(class TArray<class UMaterialInterface *,class FDefaultAllocator> &)const " (?GetUsedMaterials@UShapeComponent@@UEBAXAEAV?$TArray@PEAVUMaterialInterface@@VFDefaultAllocator@@@@@Z)
1>Module.VictoryGame.1_of_5.cpp.obj : error LNK2001: unresolved external symbol "public: virtual class UBodySetup * __cdecl UShapeComponent::GetBodySetup(void)" (?GetBodySetup@UShapeComponent@@UEAAPEAVUBodySetup@@XZ)
1>Module.VictoryGame.1_of_5.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl UShapeComponent::PostEditChangeProperty(struct FPropertyChangedEvent &)" (?PostEditChangeProperty@UShapeComponent@@UEAAXAEAUFPropertyChangedEvent@@@Z)
1>Module.VictoryGame.1_of_5.cpp.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl UBoxComponent::IsZeroExtent(void)const " (?IsZeroExtent@UBoxComponent@@UEBA_NXZ)
1>Module.VictoryGame.1_of_5.cpp.obj : error LNK2001: unresolved external symbol "public: virtual class FPrimitiveSceneProxy * __cdecl UBoxComponent::CreateSceneProxy(void)" (?CreateSceneProxy@UBoxComponent@@UEAAPEAVFPrimitiveSceneProxy@@XZ)
1>Module.VictoryGame.1_of_5.cpp.obj : error LNK2001: unresolved external symbol "public: virtual struct FCollisionShape __cdecl UBoxComponent::GetCollisionShape(float)const " (?GetCollisionShape@UBoxComponent@@UEBA?AUFCollisionShape@@M@Z)
1>Module.VictoryGame.1_of_5.cpp.obj : error LNK2001: unresolved external symbol "public: virtual struct FBoxSphereBounds __cdecl UBoxComponent::CalcBounds(class FTransform const &)const " (?CalcBounds@UBoxComponent@@UEBA?AUFBoxSphereBounds@@AEBVFTransform@@@Z)
1>Module.VictoryGame.1_of_5.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl UBoxComponent::UpdateBodySetup(void)" (?UpdateBodySetup@UBoxComponent@@UEAAXXZ)