Download

ERROR trying to create a Twin Stick Shooter

HI!
I tried a lot but i am pretty noob. My problem is trying to do this A new, community-hosted Unreal Engine Wiki - Announcements and Releases - Unreal Engine Forums I do all good as he said but (the last time i see that) i have 14 error. I tried sech how to resolve that but i can’t. This is my list of errors and problems:

Severity Code Description Project File Line Suppression State
Error MSB3073 The command ““E:\Epic Games\4.10\Engine\Build\BatchFiles\Build.bat” ShooterEditor Win64 Development “E:\NewProject\Shooter\Shooter.uproject” -rocket -waitmutex -2015” exited with code -1. Shooter C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets 37

Severity Code Description Project File Line Suppression State
Error code OtherCompilationError (5) Shooter E:\NewProject\Shooter\Intermediate\ProjectFiles\Error 1

Severity Code Description Project File Line Suppression State
Error (active) name followed by ‘::’ must be a class or namespace name Shooter e:\NewProject\Shooter\Source\Shooter\LAPUTAMADRE.cpp 37

Severity Code Description Project File Line Suppression State
Error (active) name followed by ‘::’ must be a class or namespace name Shooter e:\NewProject\Shooter\Source\Shooter\LAPUTAMADRE.cpp 44

Severity Code Description Project File Line Suppression State
Error (active) name followed by ‘::’ must be a class or namespace name Shooter e:\NewProject\Shooter\Source\Shooter\LAPUTAMADRE.cpp 54

Severity Code Description Project File Line Suppression State
Error (active) name followed by ‘::’ must be a class or namespace name Shooter e:\NewProject\Shooter\Source\Shooter\LAPUTAMADRE.cpp 59

Severity Code Description Project File Line Suppression State
Error (active) identifier “isDead” is undefined Shooter e:\NewProject\Shooter\Source\Shooter\LAPUTAMADRE.cpp 47

Severity Code Description Project File Line Suppression State
Error (active) identifier “isDead” is undefined Shooter e:\NewProject\Shooter\Source\Shooter\LAPUTAMADRE.cpp 49

Severity Code Description Project File Line Suppression State
Error (active) identifier “isDead” is undefined Shooter e:\NewProject\Shooter\Source\Shooter\LAPUTAMADRE.cpp 56

Severity Code Description Project File Line Suppression State
Error (active) identifier “Health” is undefined Shooter e:\NewProject\Shooter\Source\Shooter\LAPUTAMADRE.cpp 39

Severity Code Description Project File Line Suppression State
Error (active) identifier “Health” is undefined Shooter e:\NewProject\Shooter\Source\Shooter\LAPUTAMADRE.cpp 46

Severity Code Description Project File Line Suppression State
Error (active) identifier “Health” is undefined Shooter e:\NewProject\Shooter\Source\Shooter\LAPUTAMADRE.cpp 57

Severity Code Description Project File Line Suppression State
Error (active) identifier “CalculateDead” is undefined Shooter e:\NewProject\Shooter\Source\Shooter\LAPUTAMADRE.cpp 40

Severity Code Description Project File Line Suppression State
Error (active) identifier “CalculateDead” is undefined Shooter e:\NewProject\Shooter\Source\Shooter\LAPUTAMADRE.cpp 61

Hi,

Without seeing the code it is hard to be specific, but in general the :: operator in c++ defines which namespace or class something is in depending on where it is used.

for example if you define class c in your header with a method called CalculateDead then in your cpp file you would have

c::CalculateDead()
{
}

Alternatively it can be used in namespaces, std is used in most c++ programs so you may see code like…

std::cout << “write this”;

Without seeing the code for LAPUTAMADRE.cpp and probably the related .h file it is very hard to be specific.

Hope that helps,

Dan.

Oh, if you are happy to pop the code up in a post it may be possible to give you the exact cause of the problem.