Cannot open source file "CoreMinimal.h"

Hello! I’m using UE5.0.3 on my Mac.When I open any c++ project file of Unreal Learning Kit(Obstacle assault in the course) I have these errors:
cannot open source file “CoreMinimal.h”
cannot open source file “GameFramework/Actor.h”
cannot open source file “MovingPlatform.generated.h”
I also don’t have the ability to select any build task.

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

#pragma once

#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "MovingPlatform.generated.h"

UCLASS()
class UNREALLEARNINGKIT_API AMovingPlatform : public AActor
{
	GENERATED_BODY()
	
public:	
	// Sets default values for this actor's properties
	AMovingPlatform();



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

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

};

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms