I’m writing a tactile plugin in order to add more gesture to the flow
When I’m using it in the editor (C++ project), everything works fine
but when i want to package it, it has some issue
it doesn’t at first find my other dll then i use an interface with
UINTERFACE(NotBlueprintable)
class UTouchItInterface : public UInterface
{
GENERATED_UINTERFACE_BODY()
};
class ITouchItInterface
{
GENERATED_IINTERFACE_BODY()
public:
ITouchItInterface();
virtual void BeginDestroy();
UFUNCTION(BlueprintImplementableEvent, Category = "Itekube")
void TouchItSwipe(int32 x, int32 y, const TArray<FTouchItFingerCoordinates> & fingers);
UFUNCTION(BlueprintImplementableEvent, Category = "Itekube")
void TouchItPan(int32 x, int32 y, const TArray<FTouchItFingerCoordinates> & fingers);
UFUNCTION(BlueprintImplementableEvent, Category = "Itekube")
void TouchItPinch(float ratio, const TArray<FTouchItFingerCoordinates> & fingers);
UFUNCTION(BlueprintImplementableEvent, Category = "Itekube")
void TouchItTwist(float angle, const TArray<FTouchItFingerCoordinates> & fingers);
UFUNCTION(BlueprintImplementableEvent, Category = "Itekube")
void TouchItShortTap(int numberOfTap, const TArray<FTouchItFingerCoordinates> & fingers);
UFUNCTION(BlueprintImplementableEvent, Category = "Itekube")
void TouchItLongTap(int numberOfTap, const TArray<FTouchItFingerCoordinates> & fingers);
UFUNCTION(BlueprintImplementableEvent, Category = "Itekube")
void TouchItShake(int numberOfBackAndForth, const TArray<FTouchItFingerCoordinates> & fingers);
UFUNCTION(BlueprintImplementableEvent, Category = "Itekube")
void TouchItShortPress(const TArray<FTouchItFingerCoordinates> & fingers);
UFUNCTION(BlueprintImplementableEvent, Category = "Itekube")
void TouchItLongPress(const TArray<FTouchItFingerCoordinates> & fingers);
UFUNCTION(BlueprintImplementableEvent, Category = "Itekube")
void TouchItFingersOccured(const TArray<FTouchItFinger> & fingers);
void fingerCBack(IT3CP_FingerOutput * fingers, int fingersNumber);
void gestureCBack(const IT3CP_GestureOutput & gesture);
protected:
void buildIt3cp();
IT3CP it3cp_;
bool blockMessages_;
};
then I get
UELinkerFixups.cpp.obj : error LNK2019: unresolved external symbol “void __cdecl EmptyLinkFunctionForGeneratedCodeTouchItInterface(void)” (?EmptyLinkFunctionForGeneratedCodeTouchItInterface@@YAXXZ) referenced in function “void __cdecl UELinkerFixups(void)” (?UELinkerFixups@@YAXXZ)
kind or error
there is a huge difference between editor and packaging !
and what about if i have a bt project ??