Trying to implement this A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums
But now getting -1 exit code from engine compiler. Don’ know what to do next
Engine version is 4.9.2
i created empty class UWomenAnimInstance
UWomenAnimInstance.h
#pragma once
#include "WomenAnimInstance.generated.h"
UCLASS(Transient, Blueprintable, HideCategories = AnimInstance, BlueprintType)
class UWomenAnimInstance : public UAnimInstance
{
GENERATED_UCLASS_BODY()
};
UWomanAnimInstance.cpp
#include "Game.h"
#include "WomanAnimInstance.h"
UWomenAnimInstance::UWomenAnimInstance(const class FPostConstructInitializeProperties& PCIP)
: Super(PCIP)
{
}
Error log
Error 1 error code: OtherCompilationError (5) C:\Users\DEADtm\Documents\Unreal Projects\Game\Intermediate\ProjectFiles\Error Game
Error 2 error MSB3073: The command ""C:\Program Files (x86)\Epic Games\4.9\Engine\Build\BatchFiles\Build.bat" GameEditor Win64 Development "C:\Users\DEADtm\Documents\Unreal Projects\Game\Game.uproject" -rocket -waitmutex" exited with code -1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets 38 5 Game
3 IntelliSense: cannot open source file "WomanAnimInstance.h" c:\Users\DEADtm\Documents\Unreal Projects\Game\Source\Game\UWomenAnimInstance.cpp 2 1 Game
6 IntelliSense: expected a ')' c:\Users\DEADtm\Documents\Unreal Projects\Game\Source\Game\UWomenAnimInstance.cpp 8 86 Game
7 IntelliSense: expected a '{' c:\Users\DEADtm\Documents\Unreal Projects\Game\Source\Game\UWomenAnimInstance.cpp 9 2 Game
5 IntelliSense: expected a type specifier c:\Users\DEADtm\Documents\Unreal Projects\Game\Source\Game\UWomenAnimInstance.cpp 8 52 Game
9 IntelliSense: identifier "SkelControl_LeftUpperLegPos" is undefined c:\Users\DEADtm\Documents\Unreal Projects\Game\Source\Game\UWomenAnimInstance.cpp 16 2 Game
4 IntelliSense: name followed by '::' must be a class or namespace name c:\Users\DEADtm\Documents\Unreal Projects\Game\Source\Game\UWomenAnimInstance.cpp 8 1 Game
8 IntelliSense: name followed by '::' must be a class or namespace name c:\Users\DEADtm\Documents\Unreal Projects\Game\Source\Game\UWomenAnimInstance.cpp 13 6 Game