I am learning UE4 C++ programming follow the tutorials
http://docs.unrealengine.com/latest/INT/Programming/Tutorials/FirstPersonShooter/2/7/index.html,
But after added UCameraComponent and complied.UE4 crased.
but I removed blow codes,the project can be normaly opened again:
//FPSCharacter.h
UPROPERTY(VisibleAnywhere)
UCameraComponent* FPSCameraComponent;
//FPSCharacter.cpp
FPSCameraComponent->CreateDefaultSubobject(TEXT(“FirstPersonCamera”));
FPSCameraComponent->AttachToComponent(GetCapsuleComponent(), FAttachmentTransformRules::KeepWorldTransform);
FPSCameraComponent->SetRelativeLocation(FVector(0.0f, 0.0f, 50.f + BaseEyeHeight));
FPSCameraComponent->bUsePawnControlRotation = true;
Please help ,how to fix the problem.