# Engine Source Server build Errors

**URL:** <https://forums.unrealengine.com/t/engine-source-server-build-errors/138217>\
**Category:** C++\
**Tags:** unreal-engine, Engine-Source-Code\
**Created:** [February 15, 2020, 1:13pm UTC](https://forums.unrealengine.com/t/engine-source-server-build-errors/138217 "2020-02-15T13:13:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![theMarzhmo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theMarzhmo](https://forums.unrealengine.com/u/theMarzhmo)\
**Post date:** [February 15, 2020, 1:13pm UTC](https://forums.unrealengine.com/t/engine-source-server-build-errors/138217/1 "2020-02-15T13:13:40Z")

</div>

Dear community,

I was trying following this Tutorial [https://wiki.unrealengine.com/Dedica…e\_version\_4.18](https://wiki.unrealengine.com/Dedicated_Server_Guide_(Windows_%26_Linux)#5._Target_file_instructions_for_engine_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  
}  
}  
}

---

<div class="post-metadata">

**Author:** ![theMarzhmo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theMarzhmo](https://forums.unrealengine.com/u/theMarzhmo)\
**Post date:** [February 15, 2020, 4:01pm UTC](https://forums.unrealengine.com/t/engine-source-server-build-errors/138217/2 "2020-02-15T16:01:03Z")

</div>

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

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

---

<div class="post-metadata">

**Author:** ![theMarzhmo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theMarzhmo](https://forums.unrealengine.com/u/theMarzhmo)\
**Post date:** [February 15, 2020, 4:08pm UTC](https://forums.unrealengine.com/t/engine-source-server-build-errors/138217/3 "2020-02-15T16:08:05Z")

</div>

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