Announcement

Collapse
No announcement yet.

K4U in unreal engine 4.10.1,And i can't create C++ class or project.

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    [OCULUS] K4U in unreal engine 4.10.1,And i can't create C++ class or project.


    I want to create a project,use oculus,and use kinect to make hand in scene can move as real.

    but.

    When i was add K4U(Kinect 4 unreal) Plugin in my unreal engine 4.10.1

    The project made by BluePrint work well,And K4U's introduction project work well,

    But when i want to create a project used C++,UE4 tell me a error:

    ——————————————————————————————————————
    尝试生成项目文件时发生错误。

    Running D:/Epic Games/4.10/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="D:/Unreal_Project/我的项目2/我的项目2.uproject" -game -rocket -progress -2015
    Discovering modules, targets and source code for game...
    ERROR: UnrealBuildTool.IniParsingException: Trying to parse key/value pair that doesn't belong to any section in D:\Unreal_Project\我的项目2\Config\DefaultEngine.ini, line 1: ???
    在 UnrealBuildTool.ConfigCacheIni.ParseIniFile(String Filename)
    在 UnrealBuildTool.ConfigCacheIni.Init(UnrealTargetPlatform Platform, String BaseIniName, String ProjectDirectory, String EngineDirectory)
    在 UnrealBuildTool.UEBuildPlatform.SetUpProjectEnvironment(UnrealTargetPlatform InPlatform)
    在 UnrealBuildTool.UEBuildTarget.SetupGlobalEnvironment()
    在 UnrealBuildTool.UEBuildTarget.PreBuildSetup(IUEToolChain TargetToolChain)
    在 UnrealBuildTool.UEBuildTarget.Build(IUEToolChain TargetToolChain, List`1& OutputItems, List`1& UObjectModules, String& EULAViolationWarning)
    在 UnrealBuildTool.UnrealBuildTool.RunUBT(String[] Arguments)

    ————————————————————————————————————————

    and then,when i open a project create by Blueprint,I want to add a C++ class.It's also break like this:

    ————————————————————————————————————————

    尝试生成项目文件时发生错误。

    Running D:/Epic Games/4.10/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="D:/Unreal_Project/我的项目/我的项目.uproject" -game -rocket -progress -2015
    Discovering modules, targets and source code for game...
    ERROR: Couldn't find module rules file for module 'Kinect4Unreal'.

    ——————————————————————————————————————————

    After this,I close UE4,and reopen my project,It can't be opened:

    ——————————————————————————————————————————

    The following modules are missing or built with a different engine version:

    UE4Editor - myproject.dll

    Would you like to rebuild them now?

    ——————————————————————————————————————————

    It's a dialog,and i click "Sure".It open a new dialog like this;

    ——————————————————————————————————————————

    could not be complied.Try rebuilding from source manually.

    ——————————————————————————————————————————

    And i click sure,It closed,And nothing get better.how to solve this problem?

    Thank you for everything,I really need your help!



    It's occur:

    Micsoft visual studio 2015
    Unreal engine 4.10.1
    K4U(kinect 4 unreal) 4.10_1.1c_Plugin


    QAQ

    =W=

    QAQ

    =W=

    #2
    You need the source file

    The issue is that K4U is a plugin which does not give you the source and UE4 has issue with compilation of projects that have pre-compiled plugin
    so you cannot do use C++ till UE4 whether solve the compilation issue or add K4U to their engine.
    Even in case of a blueprint project you won't be able to distribute it by making a package. it will fail

    Originally posted by Sherry0429 View Post

    I want to create a project,use oculus,and use kinect to make hand in scene can move as real.

    but.

    When i was add K4U(Kinect 4 unreal) Plugin in my unreal engine 4.10.1

    The project made by BluePrint work well,And K4U's introduction project work well,

    But when i want to create a project used C++,UE4 tell me a error:

    ——————————————————————————————————————
    尝试生成项目文件时发生错误。

    Running D:/Epic Games/4.10/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="D:/Unreal_Project/我的项目2/我的项目2.uproject" -game -rocket -progress -2015
    Discovering modules, targets and source code for game...
    ERROR: UnrealBuildTool.IniParsingException: Trying to parse key/value pair that doesn't belong to any section in D:\Unreal_Project\我的项目2\Config\DefaultEngine.ini, line 1: ???
    在 UnrealBuildTool.ConfigCacheIni.ParseIniFile(String Filename)
    在 UnrealBuildTool.ConfigCacheIni.Init(UnrealTargetPlatform Platform, String BaseIniName, String ProjectDirectory, String EngineDirectory)
    在 UnrealBuildTool.UEBuildPlatform.SetUpProjectEnvironment(UnrealTargetPlatform InPlatform)
    在 UnrealBuildTool.UEBuildTarget.SetupGlobalEnvironment()
    在 UnrealBuildTool.UEBuildTarget.PreBuildSetup(IUEToolChain TargetToolChain)
    在 UnrealBuildTool.UEBuildTarget.Build(IUEToolChain TargetToolChain, List`1& OutputItems, List`1& UObjectModules, String& EULAViolationWarning)
    在 UnrealBuildTool.UnrealBuildTool.RunUBT(String[] Arguments)

    ————————————————————————————————————————

    and then,when i open a project create by Blueprint,I want to add a C++ class.It's also break like this:

    ————————————————————————————————————————

    尝试生成项目文件时发生错误。

    Running D:/Epic Games/4.10/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="D:/Unreal_Project/我的项目/我的项目.uproject" -game -rocket -progress -2015
    Discovering modules, targets and source code for game...
    ERROR: Couldn't find module rules file for module 'Kinect4Unreal'.

    ——————————————————————————————————————————

    After this,I close UE4,and reopen my project,It can't be opened:

    ——————————————————————————————————————————

    The following modules are missing or built with a different engine version:

    UE4Editor - myproject.dll

    Would you like to rebuild them now?

    ——————————————————————————————————————————

    It's a dialog,and i click "Sure".It open a new dialog like this;

    ——————————————————————————————————————————

    could not be complied.Try rebuilding from source manually.

    ——————————————————————————————————————————

    And i click sure,It closed,And nothing get better.how to solve this problem?

    Thank you for everything,I really need your help!



    It's occur:

    Micsoft visual studio 2015
    Unreal engine 4.10.1
    K4U(kinect 4 unreal) 4.10_1.1c_Plugin


    QAQ

    =W=

    QAQ

    =W=

    Comment

    Working...
    X