I’m compiling while watching the lecture, but I keep getting errors. MovingPlatform.h is as follows.
// 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 OBSTACLEASSULT_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;
};
The problem is not compiled here. Moving Platform.h is written in red with a 2 next to it.
When you perform a build operation, it appears as follows (the following are some of the terminal’s contents)
c1xx: fatal error C1083: 컴파일러 중간 파일 파일을 열 수 없습니다. ‘C:\Users\諛뺤꽭鍮?OneDrive\諛뷀깢 ?붾㈃\援щ쫫?몃━??ObstacleAssult\Intermediate\Build\Win64\x64\ObstacleAssultEditor\Development\Engine\SharedPCH.Engine.Cpp20.InclOrderUnreal5_0.h.pch’: Invalid argument
It says that I can’t find the file when it is displayed like this, but why can’t I find it? Or is there another reason?
Since it’s my first time writing, I might be inexperienced. Also, since I am using a translator, the sentences may not be smooth. Please, please