Hey guys,
can someone please explains a way to fix this compiler error? I've tried to look at some sources but I don't seems to get the answer.
Is the problem lies in missing headers?
What does linking error means?

I am very new at C++ and programming. Can I please get some help with detailed step?
I tried to follow FPS game mode tutorial from https://wiki.unrealengine.com/First_...2B%2B_Tutorial
I thought it would be a good start. I'm pretty sure I followed every single step as mentioned but in the end I got stuck in the first compiling step.
Here is the code I changed according to the tutorial
Also I want to know where Start Play is derived from. Is it necessary to a certain header for StartPlay to work?
can someone please explains a way to fix this compiler error? I've tried to look at some sources but I don't seems to get the answer.
Is the problem lies in missing headers?
What does linking error means?
I am very new at C++ and programming. Can I please get some help with detailed step?
I tried to follow FPS game mode tutorial from https://wiki.unrealengine.com/First_...2B%2B_Tutorial
I thought it would be a good start. I'm pretty sure I followed every single step as mentioned but in the end I got stuck in the first compiling step.
Here is the code I changed according to the tutorial
Code:
#include "Shattered_Code.h" #include "Shattered_CodeGameMode.h" AShattered_CodeGameMode::AShattered_CodeGameMode(const class FPostConstructInitializeProperties& PCIP) : Super(PCIP) { Super::BeginPlay(); StartMatch(); if (GEngine) { GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Yellow, TEXT("HELLO WORLD")); } }
Code:
#pragma once #include "GameFramework/GameMode.h" #include "FPSGame_Mode.generated.h" /** * */ UCLASS() class SHATTERED_CODE_API AFPSGame_Mode : public AGameMode { GENERATED_UCLASS_BODY() virtual void StartPlay() override; //at Start// };
Comment