Home › Forums › Software Development › UE4 EyeXSamples Build Fail
Tagged: unreal engine
- This topic has 2 replies, 2 voices, and was last updated 7 years, 9 months ago by Ahmed Al-Hulaibi.
- 29/06/2015 at 03:37 #3174Ahmed Al-HulaibiParticipant
As the title says, when building the EyeXSamples project, I am experiencing build errors. I’ve followed the GitHub instructions closely and repeated the process multiple times to no avail. All other UE4 C++ projects are building and running without any errors, so this seems to be isolated to the EyeX SDK. Anyone experienced this or have a solution/workaround?
Windows 7 64 bit
Unreal Engine 4.8.1
Visual Studio 2013 Community Edition
1>—— Build started: Project: EyeXSamples, Configuration: Development_Editor x64 ——
1> Building UnrealHeaderTool…
1> Target is up to date.
1> Parsing headers for EyeXSamplesEditor
1> C:/Users/AhmedAl-Hulaibi/Documents/GameDev/EyeXforUE4/Plugins/TobiiEyeX/Source/TobiiEyeX/Public/EyeXPlayerController.h(88) : Expected the name of a previously defined enum
1>Error : Failed to generate code for EyeXSamplesEditor – error code: OtherCompilationError (5)
1> UnrealHeaderTool failed for target ‘EyeXSamplesEditor’ (platform: Win64, module info: C:\Users\AhmedAl-Hulaibi\Documents\GameDev\EyeXforUE4\Intermediate\Build\Win64\EyeXSamplesEditor\Development\UnrealHeaderTool.manifest).
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command “C:\Users\AhmedAl-Hulaibi\Documents\GameDev\UnrealEngine\Engine\Build\BatchFiles\Build.bat EyeXSamplesEditor Win64 Development “C:\Users\AhmedAl-Hulaibi\Documents\GameDev\EyeXforUE4\EyeXSamples.uproject”” exited with code -1.
========== Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========29/06/2015 at 07:18 #3175Tim LindebergParticipant
It seems the latest version of the Unreal Engine broke the plugin for some reason. Adding “#include “EyeXTypes.h”” to EyeXPlayerController.h fixed the problem for me. The include has to be before the generated header file.29/06/2015 at 22:37 #3179Ahmed Al-HulaibiParticipant
Thanks that worked!
- You must be logged in to reply to this topic.