Home Forums Software Development [Solved] UE4.9 EyeXSamples Build Fail

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #3423
    Stuart Butler
    Participant

    Hi Folks,

    Just tried to build the project and get a lengthy compile error, I’ve added the include to the EyeXPlayerController.h as mentioned by others on here however I still get the following compile errors.

    Any ideas?

    Cheers

    Stu

    1>------ Build started: Project: EyeXSamples, Configuration: Development_Editor x64 ------
    1>  Creating makefile for EyeXSamplesEditor (no existing makefile)
    1>  Performing full C++ include scan (no include cache file)
    1>  Parsing headers for EyeXSamplesEditor
    1>    Running UnrealHeaderTool "C:\Users\Greg\Desktop\EyeXforUE4-master\EyeXSamples.uproject" "C:\Users\Greg\Desktop\EyeXforUE4-master\Intermediate\Build\Win64\EyeXSamplesEditor\Development\UnrealHeaderTool.manifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -rocket -installed
    1>  C:/Users/Greg/Desktop/EyeXforUE4-master/Plugins/TobiiEyeX/Source/TobiiEyeX/Public/EyeXActorBase.h(60) : LogCompile:Error: BlueprintImplementableEvents should not be virtual. Use BlueprintNativeEvent instead.
    1>  C:/Users/Greg/Desktop/EyeXforUE4-master/Plugins/TobiiEyeX/Source/TobiiEyeX/Public/EyeXActorBase.h(67) : LogCompile:Error: BlueprintImplementableEvents should not be virtual. Use BlueprintNativeEvent instead.
    1>  Reflection code generated for EyeXSamplesEditor in 7.1229886 seconds
    1>  Performing 21 actions (4 in parallel)
    1>  [3/21] Resource PCLaunch.rc
    1>  [4/21] Resource ModuleVersionResource.rc.inl
    1>  PCH.EyeXPluginPrivatePCH.h.cpp
    1>  PCH.EyeXSamples.h.cpp
    1>  [5/21] Resource ModuleVersionResource.rc.inl
    1>  [6/21] Resource EyeXSamples.rc
    1>  EyeXSamples.cpp
    1>  MyActor.cpp
    1>  EyeXSamples.generated.cpp
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Source\EyeXSamples\MyActor.cpp(5): error C2059: syntax error : 'string'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Source\EyeXSamples\MyActor.cpp(5): error C2143: syntax error : missing ',' before '&'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Source\EyeXSamples\MyActor.cpp(5): error C2059: syntax error : '&'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Source\EyeXSamples\MyActor.cpp(6): error C2511: 'AMyActor::AMyActor(const FObjectInitializer (__cdecl *)(void))' : overloaded member function not found in 'AMyActor'
    1>          c:\users\greg\desktop\eyexforue4-master\source\eyexsamples\MyActor.h(11) : see declaration of 'AMyActor'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Source\EyeXSamples\MyActor.cpp(6): error C2065: 'PCIP' : undeclared identifier
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Source\EyeXSamples\MyActor.cpp(7): error C2550: 'AMyActor::{ctor}' : constructor initializer lists are only allowed on constructor definitions
    1>  EyeXUtils.cpp
    1>  EyeXPlugin.cpp
    1>  EyeXStateAccessor.cpp
    1>  EyeXPlayerController.cpp
    1>  TobiiEyeX.generated.cpp
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(47): error C2059: syntax error : 'string'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(47): error C2143: syntax error : missing ',' before '&'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(47): error C2059: syntax error : '&'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(48): error C2511: 'AEyeXPlayerController::AEyeXPlayerController(const FObjectInitializer (__cdecl *)(void))' : overloaded member function not found in 'AEyeXPlayerController'
    1>          C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Public\EyeXPlayerController.h(63) : see declaration of 'AEyeXPlayerController'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(48): error C2065: 'PCIP' : undeclared identifier
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(49): error C2550: 'AEyeXPlayerController::{ctor}' : constructor initializer lists are only allowed on constructor definitions
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(51): error C2228: left of '.bCanEverTick' must have class/struct/union
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(54): error C2597: illegal reference to non-static member 'AEyeXPlayerController::DetectionMode'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(55): error C2597: illegal reference to non-static member 'AEyeXPlayerController::GazePointMode'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(56): error C2597: illegal reference to non-static member 'AEyeXPlayerController::MaxDistance'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(57): error C2228: left of '.Add' must have class/struct/union
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(58): error C2597: illegal reference to non-static member 'AEyeXPlayerController::MinUpdateDistance'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(59): error C2597: illegal reference to non-static member 'AEyeXPlayerController::bVisualizeDetection'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(60): error C2597: illegal reference to non-static member 'AEyeXPlayerController::SweepSphereRadius'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(61): error C2597: illegal reference to non-static member 'AEyeXPlayerController::SweepIntervals'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(62): error C2597: illegal reference to non-static member 'AEyeXPlayerController::BoxSize'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(65): error C2597: illegal reference to non-static member 'AEyeXPlayerController::EyeX'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(66): error C2597: illegal reference to non-static member 'AEyeXPlayerController::LastUsedGazePoint'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(67): error C2597: illegal reference to non-static member 'AEyeXPlayerController::LastFocusedActor'
    1>  EyeXDataStream.cpp
    1>  EyeXClientLibraryLoader.cpp
    1>  EyeXBlueprintLibrary.cpp
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXBlueprintLibrary.cpp(8): error C2059: syntax error : 'string'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXBlueprintLibrary.cpp(8): error C2143: syntax error : missing ',' before '&'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXBlueprintLibrary.cpp(8): error C2059: syntax error : '&'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXBlueprintLibrary.cpp(9): error C2511: 'UEyeXBlueprintLibrary::UEyeXBlueprintLibrary(const FObjectInitializer (__cdecl *)(void))' : overloaded member function not found in 'UEyeXBlueprintLibrary'
    1>          c:\users\greg\desktop\eyexforue4-master\plugins\tobiieyex\source\tobiieyex\private\EyeXBlueprintLibrary.h(15) : see declaration of 'UEyeXBlueprintLibrary'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXBlueprintLibrary.cpp(9): error C2065: 'PCIP' : undeclared identifier
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXBlueprintLibrary.cpp(10): error C2550: 'UEyeXBlueprintLibrary::{ctor}' : constructor initializer lists are only allowed on constructor definitions
    1>  EyeXActorBase.cpp
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(7): error C2059: syntax error : 'string'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(7): error C2143: syntax error : missing ',' before '&'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(7): error C2059: syntax error : '&'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(8): error C2511: 'AEyeXActorBase::AEyeXActorBase(const FObjectInitializer (__cdecl *)(void))' : overloaded member function not found in 'AEyeXActorBase'
    1>          C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Public\EyeXActorBase.h(20) : see declaration of 'AEyeXActorBase'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(8): error C2065: 'PCIP' : undeclared identifier
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(9): error C2550: 'AEyeXActorBase::{ctor}' : constructor initializer lists are only allowed on constructor definitions
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(11): error C2228: left of '.bCanEverTick' must have class/struct/union
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(14): error C2597: illegal reference to non-static member 'AEyeXActorBase::MinDistance'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(15): error C2597: illegal reference to non-static member 'AEyeXActorBase::MaxDistance'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(16): error C2597: illegal reference to non-static member 'AEyeXActorBase::bIgnoreHeightInDistanceCalculation'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(17): error C2597: illegal reference to non-static member 'AEyeXActorBase::bVisualizeDistance'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(18): error C2597: illegal reference to non-static member 'AEyeXActorBase::DwellTimeActivate'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(19): error C2597: illegal reference to non-static member 'AEyeXActorBase::DwellTimeDeactivate'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(22): error C2597: illegal reference to non-static member 'AEyeXActorBase::bTraceHit'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(23): error C2597: illegal reference to non-static member 'AEyeXActorBase::bHasFocus'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(24): error C2597: illegal reference to non-static member 'AEyeXActorBase::CurrentTimeIn'
    1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(25): error C2597: illegal reference to non-static member 'AEyeXActorBase::CurrentTimeOut'
    1>  EyeXMathHelpers.cpp
    1>  -------- End Detailed Actions Stats -----------------------------------------------------------
    1>ERROR : UBT error : Failed to produce item: C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Binaries\Win64\UE4Editor-TobiiEyeX.dll
    1>  Total build time: 50.75 seconds
    1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command ""D:\Games\Unreal\Epic Games\4.9\Engine\Build\BatchFiles\Build.bat" EyeXSamplesEditor Win64 Development "C:\Users\Greg\Desktop\EyeXforUE4-master\EyeXSamples.uproject" -rocket" exited with code -1.
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    #3436
    Stuart Butler
    Participant

    Got the project to build using 4.8 so I’m assuming 4.9 is the issue.

    I’m not a C++ programmer so I’m not sure where to start with this.

    Stu

    #3477
    Jenny [Tobii]
    Participant

    Hi Stu,

    I’m working on getting a functioning EyeX for UE4 plugin up and running, but it might take some time. The main API change for UE4.9 is solved by this pull request: https://github.com/Temaran/EyeXforUE4/tree/v/4.9. When I tested that branch with the EyeX demo scenes it seems some Blueprint code is broken, so I cannot merge that pull request as is. You might want to try using that branch in the meantime if you need to be on UE4.9.

    #3500
    Jenny [Tobii]
    Participant

    Hi Stu,

    I have fixed the EyeX for UE4 plugin and there is now a v/4.9 branch that should be working out-of-the-box.

    #3502
    Stuart Butler
    Participant

    Awesome!!

    I’ll take a look ASAP.

    Thanks!!

    #4051
    Kishor
    Participant
    2> ——– End Detailed Actions Stats ———————————————————–
    2>ERROR : UBT error : Failed to produce item: C:\Users\kdeshmukh\Downloads\EyeXforUE4-master\EyeXforUE4-master\Plugins\TobiiEyeX\Binaries\Win64\UE4Editor-TobiiEyeX.dll
    2> Total build time: 55.21 seconds
    2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command “”C:\Program Files\Unreal Engine\4.9\Engine\Build\BatchFiles\Build.bat” EyeXSamplesEditor Win64 Development “C:\Users\kdeshmukh\Downloads\EyeXforUE4-master\EyeXforUE4-master\EyeXSamples.uproject” -rocket -waitmutex” exited with code -1.
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 1 skipped ==========
    

    I tried both v 4.x and v 4.9 samples for both 4.8.3 and 4.9.2 but both are giving me the same error.

    Failed to produce item……UE4Editor-TobiiEyeX.dll

    #4052
    Kishor
    Participant

    Ok, the solution is
    Don’t follow the instructions in readme file that comes with project zip, they are not updated. Follow the updated instructions from here.

    #4055
    Jenny [Tobii]
    Participant

    Hi Kishor (@kishorpd),

    I don’t understand what readme was incorrect?
    The one shown here: https://github.com/TobiiTechnology/EyeXforUE4/tree/master, is the same as the one you are pointing to, and the one included in the project zip if you download from GitHub.

    #4062
    Kishor
    Participant

    Oops, sorry!

    Actually this error occurs, if we miss this step:

    – Extract the EyeX SDK files and copy the lib and include directories to the
    Plugins/TobiiEyeX/ThirdParty/EyeX folder of the EyeZ plugin. (Note that
    the SDK license differs from the one used for this plugin.)

    I missed that step because I thought we’ve to just extract the stuff and did not read that we have to copy the files. My bad.
    (And went un-noticed as even my friend had missed the same step.)

    Yep, the steps are completely fine no matter from where you follow, because the files are same. Again sorry!:(

    And yep, the device is amazing! Excited to start developing!:)

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘[Solved] UE4.9 EyeXSamples Build Fail’ is closed to new replies.