Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Fixed code indentation, reformatted hyperlinks, minor typos
Source Link
liggiorgio
  • 4.9k
  • 6
  • 26
  • 37

i'mI'm following a tutorial on Udemythis tutorial on Udemy about learning the basics of Unreal Engine as I start up my csCS degree (https://www.udemy.com/learn-to-code-by-building-5-games-in-the-unreal-engine/learn/v4/questions/4103238), and I've reached a problem where CoreMinimal.hCoreMinimal.h cannot be found.

A solution offeredThis solution was proposed in the article https://answers.unrealengine.com/questions/617467/alternative-to-including-engineh.htmlQ&A community, however I still could not quite understand it! I'm still learning and would love some help ;)

hereHere is my code!

// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h" #include "GameFramework/Pawn.h" #include "ShipController.generated.h"

UCLASS() class SPACESHOOTER_API AShipController : public APawn { GENERATED_BODY()

public: // Sets default values for this pawn's properties AShipController();

protected: // Called when the game starts or when spawned virtual void BeginPlay() override;

public: // Called every frame virtual void Tick(float DeltaTime) override;

// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "GameFramework/Pawn.h"
#include "ShipController.generated.h"

UCLASS()
class SPACESHOOTER_API AShipController : public APawn
{
    GENERATED_BODY()

public:
    // Sets default values for this pawn's properties
    AShipController();

protected:
    // Called when the game starts or when spawned
    virtual void BeginPlay() override;

public: 
    // Called every frame
    virtual void Tick(float DeltaTime) override;

    // Called to bind functionality to input
    virtual void SetupPlayerInputComponent(class UInputComponent* PlayerInputComponent) override;
};

};

i'm following a tutorial on Udemy as I start up my cs degree (https://www.udemy.com/learn-to-code-by-building-5-games-in-the-unreal-engine/learn/v4/questions/4103238) and I've reached a problem where CoreMinimal.h cannot be found.

A solution offered was in the article https://answers.unrealengine.com/questions/617467/alternative-to-including-engineh.html however I still could not quite understand it! I'm still learning and would love some help ;)

here is my code!

// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h" #include "GameFramework/Pawn.h" #include "ShipController.generated.h"

UCLASS() class SPACESHOOTER_API AShipController : public APawn { GENERATED_BODY()

public: // Sets default values for this pawn's properties AShipController();

protected: // Called when the game starts or when spawned virtual void BeginPlay() override;

public: // Called every frame virtual void Tick(float DeltaTime) override;

// Called to bind functionality to input
virtual void SetupPlayerInputComponent(class UInputComponent* PlayerInputComponent) override;

};

I'm following this tutorial on Udemy about learning the basics of Unreal Engine as I start up my CS degree, and I've reached a problem where CoreMinimal.h cannot be found.

This solution was proposed in the Q&A community, however I still could not quite understand it! I'm still learning and would love some help ;)

Here is my code!

// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "GameFramework/Pawn.h"
#include "ShipController.generated.h"

UCLASS()
class SPACESHOOTER_API AShipController : public APawn
{
    GENERATED_BODY()

public:
    // Sets default values for this pawn's properties
    AShipController();

protected:
    // Called when the game starts or when spawned
    virtual void BeginPlay() override;

public: 
    // Called every frame
    virtual void Tick(float DeltaTime) override;

    // Called to bind functionality to input
    virtual void SetupPlayerInputComponent(class UInputComponent* PlayerInputComponent) override;
};
Source Link
user116531
  • 53
  • 1
  • 1
  • 7

IDE cannot find CoreMinimal.h, Unreal Engine 4 course

i'm following a tutorial on Udemy as I start up my cs degree (https://www.udemy.com/learn-to-code-by-building-5-games-in-the-unreal-engine/learn/v4/questions/4103238) and I've reached a problem where CoreMinimal.h cannot be found.

A solution offered was in the article https://answers.unrealengine.com/questions/617467/alternative-to-including-engineh.html however I still could not quite understand it! I'm still learning and would love some help ;)

here is my code!

// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h" #include "GameFramework/Pawn.h" #include "ShipController.generated.h"

UCLASS() class SPACESHOOTER_API AShipController : public APawn { GENERATED_BODY()

public: // Sets default values for this pawn's properties AShipController();

protected: // Called when the game starts or when spawned virtual void BeginPlay() override;

public: // Called every frame virtual void Tick(float DeltaTime) override;

// Called to bind functionality to input
virtual void SetupPlayerInputComponent(class UInputComponent* PlayerInputComponent) override;

};