Download

Engine Source Server build Errors

Dear community,

I was trying following this Tutorial https://wiki.unrealengine.com/Dedica…e_version_4.18

but at step; "5. Building the server"

Where I need to Build my Project i get some weard errors and i really dont know how to fix it… is it because my UE4 Version is 4.24 and my Target File is V 4.18?
Can someone send me a Target File for version 4.24 then?

kind regards,

theMarzhmo

The Errors:

Severity Code Description Project File Line Column Suppression State
Error C2332 ‘class’: missing tag name ProjectT D:\UE4\Projekte\ProjectT\Source\ProjectT\CPP.h 10 1
Error C2059 syntax error: ‘constant’ ProjectT D:\UE4\Projekte\ProjectT\Source\ProjectT\CPP.h 10 1
Error C2447 ‘{’: missing function header (old-style formal list?) ProjectT D:\UE4\Projekte\ProjectT\Source\ProjectT\CPP.h 11 1
Error C2059 syntax error: ‘constant’ ProjectT D:\UE4\Projekte\ProjectT\Source\ProjectT\CPP.cpp 6 1
Error C2589 ‘constant’: illegal token on right side of ‘::’ ProjectT D:\UE4\Projekte\ProjectT\Source\ProjectT\CPP.cpp 6 1
Error C2143 syntax error: missing ‘;’ before ‘{’ ProjectT D:\UE4\Projekte\ProjectT\Source\ProjectT\CPP.cpp 7 1
Error C2447 ‘{’: missing function header (old-style formal list?) ProjectT D:\UE4\Projekte\ProjectT\Source\ProjectT\CPP.cpp 7 1
Error C2059 syntax error: ‘constant’ ProjectT D:\UE4\Projekte\ProjectT\Source\ProjectT\CPP.cpp 10 1
Error C2611 ‘constant’: illegal following ‘~’ (expected identifier) ProjectT D:\UE4\Projekte\ProjectT\Source\ProjectT\CPP.cpp 10 1
Error C2143 syntax error: missing ‘;’ before ‘{’ ProjectT D:\UE4\Projekte\ProjectT\Source\ProjectT\CPP.cpp 11 1
Error C2447 ‘{’: missing function header (old-style formal list?) ProjectT D:\UE4\Projekte\ProjectT\Source\ProjectT\CPP.cpp 11 1
Error MSB3075 The command “D:\UE4\Source\UnrealEngine-4.24\Engine\Build\BatchFiles\Build.bat -Target=“ProjectTEditor Win64 Development -Project=“D:\UE4\Projekte\ProjectT\ProjectT.uproject”” -Target=“ShaderCompileWorker Win64 Development -Quiet” -WaitMutex -FromMsBuild” exited with code 5. Please verify that you have sufficient rights to run this command. ProjectT D:\UE4\VS-IDE\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets 44 5

**the CPP.cpp File: **
// Fill out your copyright notice in the Description page of Project Settings.

#include “CPP.hpp”

CPP::CPP()
;{{
}

CPP::CPP()
;{{
}

the CPP.h File:
// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include “CoreMinimal.h”

/**
*
/
class S
PROJECTT_API CPP
;{
public:
CPP();
~CPP();
};

**That’s the Target file: **
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.

using UnrealBuildTool;
using System.Collections.Generic;

[SupportedPlatforms(UnrealPlatformClass.Server)]
public class ProjectTServerTarget : TargetRules // Change this line as shown previously
{
public ProjectTServerTarget(TargetInfo Target) : base(Target)
{ // Change this line as shown previously
;
{
Type = TargetType.Server;
ExtraModuleNames.Add(“ProjectT”); // Change this line as shown previously
}
}
}

The Link with the Tutorial isnt working but this one should…

And btw, i have no Idea of coding or anything like that. I just wanna follow the Tutorial :I