unresolved external symbol please help me!

**i have defined function **

int32 MyDataBaseConnect(int32 y)
{}

** but there are some error **

error 4 error LNK2019: unresolved external symbol “public: static int __cdecl UMyBlueprintFunctionLibrary::MyDataBaseConnect(int)” (?MyDataBaseConnect@UMyBlueprintFunctionLibrary@@SAHH@Z),The symbol in the function “public: void __cdecl UMyBlueprintFunctionLibrary::execMyDataBaseConnect(struct FFrame &,void * const)” (?execMyDataBaseConnect@UMyBlueprintFunctionLibrary@@QEAAXAEAUFFrame@@QEAX@Z) have been referenced D:\UnrealEngineProject\Myp15\Intermediate\ProjectFiles\MyBlueprintFunctionLibrary.cpp.obj

If you have your MyDataBaseConnect() function declared in a corresponding .h file then you need to change your function definition in a .cpp file to:


int32 UMyBlueprintFunctionLibrary::MyDataBaseConnect(int32 y)