Download

Project no longer compiling

So, I’m very new to UE4, and just trying to wrap my head around the API and such. I created a C++ project (Physics ball template) and it loaded and compiled just fine. So I added a new class via the class wizard, and when I attempted to recompile it began giving me errors inside of ‘archivebase.h’ I’m 99.9% positive that’s not my code…since I haven’t done anything yet. So I’m trying to figure out what I might have done wrong. Any help would be awesome!

Could you probably post your error log? :slight_smile:

Project no longer compiling


Error	1	error : In MyActor: Unknown class specifier 'EditAnywhere'	C:\Users\Aaron\Documents\Unreal Projects\practice\Source\practice\Public\MyActor.h	13	1	practice
Error	2	error code: OtherCompilationError (2)	C:\Users\Aaron\Documents\Unreal Projects\practice\Intermediate\ProjectFiles\Error	practice
Error	3	error MSB3073: The command ""C:\Program Files\Epic Games\4.6\Engine\Build\BatchFiles\Build.bat" practiceEditor Win64 DebugGame "C:\Users\Aaron\Documents\Unreal Projects\practice\practice.uproject" -rocket" exited with code -1.	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets	38	5	practice
	4	IntelliSense: identifier "FGuid" is undefined	c:\Program Files\Epic Games\4.6\Engine\Source\Runtime\Core\Public\Serialization\ArchiveBase.h	561	26	practice
	5	IntelliSense: identifier "FGuid" is undefined	c:\Program Files\Epic Games\4.6\Engine\Source\Runtime\Core\Public\Serialization\ArchiveBase.h	569	18	practice
	6	IntelliSense: identifier "FGuid" is undefined	c:\Program Files\Epic Games\4.6\Engine\Source\Runtime\Core\Public\Serialization\ArchiveBase.h	770	24	practice
	7	IntelliSense: identifier "FOnSelectedLevelsChangedEvent" is undefined	c:\Program Files\Epic Games\4.6\Engine\Source\Runtime\Engine\Classes\Engine\World.h	1976	2	practice
	8	IntelliSense: identifier "UParticleModuleEventSendToGame" is undefined	c:\Program Files\Epic Games\4.6\Engine\Source\Runtime\Engine\Classes\Particles\ParticleSystemComponent.h	890	68	practice
	9	IntelliSense: identifier "UParticleModuleEventSendToGame" is undefined	c:\Program Files\Epic Games\4.6\Engine\Source\Runtime\Engine\Classes\Particles\ParticleSystemComponent.h	903	68	practice
	10	IntelliSense: identifier "UParticleModuleEventSendToGame" is undefined	c:\Program Files\Epic Games\4.6\Engine\Source\Runtime\Engine\Classes\Particles\ParticleSystemComponent.h	921	69	practice
	11	IntelliSense: identifier "UParticleModuleEventSendToGame" is undefined	c:\Program Files\Epic Games\4.6\Engine\Source\Runtime\Engine\Classes\Particles\ParticleSystemComponent.h	933	42	practice
	12	IntelliSense: no instance of constructor "FReadSurfaceDataFlags::FReadSurfaceDataFlags" matches the argument list	c:\Program Files\Epic Games\4.6\Engine\Source\Runtime\Engine\Public\UnrealClient.h	57	92	practice
	13	IntelliSense: no instance of constructor "FReadSurfaceDataFlags::FReadSurfaceDataFlags" matches the argument list	c:\Program Files\Epic Games\4.6\Engine\Source\Runtime\Engine\Public\UnrealClient.h	65	87	practice
	14	IntelliSense: identifier "FMeshBatchElement" is undefined	c:\Program Files\Epic Games\4.6\Engine\Source\Runtime\ShaderCore\Public\VertexFactory.h	488	131	practice
	15	IntelliSense: cannot open source file "MyActor.generated.h"	c:\Users\Aaron\Documents\Unreal Projects\practice\Source\practice\Public\MyActor.h	6	1	practice
	16	IntelliSense: expected an identifier	c:\Users\Aaron\Documents\Unreal Projects\practice\Source\practice\Public\MyActor.h	14	2	practice