hi
im new to c++ when i try to declare a function i get these errors:
Error MyActor.cpp.obj : error LNK2019: unresolved external symbol “public: void __cdecl AMyActor::Test(void)” (?Test@AMyActor@@QEAAXXZ) referenced in function “public: void __cdecl AMyActor::execTest(struct FFrame &,void * const)” (?execTest@AMyActor@@QEAAXAEAUFFrame@@QEAX@Z)
Error MyGame.generated.cpp.obj : error LNK2001: unresolved external symbol “public: void __cdecl AMyActor::Test(void)” (?Test@AMyActor@@QEAAXXZ)
Error C:\Program Files (x86)\Epic Games\UE_4.16\MyGame\Binaries\Win64\UE4Editor-MyGame-569.dll : fatal error LNK1120: 1 unresolved externals
Info ERROR: UBT ERROR: Failed to produce item: C:\Program Files (x86)\Epic Games\UE_4.16\MyGame\Binaries\Win64\UE4Editor-MyGame-569.dll
this is how my header file looks like:
and my cpp file:
thanks in advance,