getnamo / UnrealEnginePython

Embed Python in Unreal Engine 4
MIT License
59 stars 16 forks source link

UE 4.19.2 packaging not possible. Can't produce UE4-UnrealEnginePython.lib #8

Open bernhardrieder opened 6 years ago

bernhardrieder commented 6 years ago

I've tried every possible constellation with either the embedded Python or a system-wide Python but I just can't package a game with the latest plugin version. I've also included an empty ue_site.py file like described in the readme.

My testscenario is a blank C++ project in UE 4.19.2 with the Python plugin.

This is my output log:

UATHelper: Packaging (Windows (64-bit)): ** BUILD COMMAND STARTED ** UATHelper: Packaging (Windows (64-bit)): Running: C:\Program Files\Epic Games\UE_4.19\Engine\Binaries\DotNET\UnrealBuildTool.exe tfbuildtest Win64 Development -Project=D:\ss\tfbuildtest.uproject D:\ss\tfbuildtest.uproject -NoUBTMakefiles -remoteini="D:\ss" -skipdeploy -noxge -generatemanifest -NoHotReload UATHelper: Packaging (Windows (64-bit)): Using Embedded Python at: D:\ss\Plugins\UnrealEnginePython\ThirdParty\Python36 UATHelper: Packaging (Windows (64-bit)): full lib path: D:\ss\Plugins\UnrealEnginePython\ThirdParty\Python36\Lib\python36.lib UATHelper: Packaging (Windows (64-bit)): Took 1.2170991s to run UnrealBuildTool.exe, ExitCode=0 UATHelper: Packaging (Windows (64-bit)): Running: C:\Program Files\Epic Games\UE_4.19\Engine\Binaries\DotNET\UnrealBuildTool.exe tfbuildtest Win64 Development -Project=D:\ss\tfbuildtest.uproject D:\ss\tfbuildtest.uproject -NoUBTMakefiles -remoteini="D:\ss" -skipdeploy -noxge -NoHotReload -ignorejunk UATHelper: Packaging (Windows (64-bit)): Using Embedded Python at: D:\ss\Plugins\UnrealEnginePython\ThirdParty\Python36 UATHelper: Packaging (Windows (64-bit)): full lib path: D:\ss\Plugins\UnrealEnginePython\ThirdParty\Python36\Lib\python36.lib UATHelper: Packaging (Windows (64-bit)): Parsing headers for tfbuildtest UATHelper: Packaging (Windows (64-bit)): Running UnrealHeaderTool "D:\ss\tfbuildtest.uproject" "D:\ss\Intermediate\Build\Win64\tfbuildtest\Development\tfbuildtest.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed UATHelper: Packaging (Windows (64-bit)): Reflection code generated for tfbuildtest in 7.2668511 seconds UATHelper: Packaging (Windows (64-bit)): Performing 8 actions (4 in parallel) UATHelper: Packaging (Windows (64-bit)): PCH.UnrealEnginePython.cpp UATHelper: Packaging (Windows (64-bit)): d:\ss\plugins\unrealenginepython\source\unrealenginepython\private\Wrappers/UEPyFSoftSkinVertex.h(15): error C3646: 'ss_vertex': unknown override specifier UATHelper: Packaging (Windows (64-bit)): d:\ss\plugins\unrealenginepython\source\unrealenginepython\private\Wrappers/UEPyFSoftSkinVertex.h(15): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int UATHelper: Packaging (Windows (64-bit)): d:\ss\plugins\unrealenginepython\source\unrealenginepython\private\Wrappers/UEPyFSoftSkinVertex.h(22): error C2065: 'FSoftSkinVertex': undeclared identifier UATHelper: Packaging (Windows (64-bit)): ERROR: UBT ERROR: Failed to produce item: D:\ss\Plugins\UnrealEnginePython\Binaries\Win64\UE4-UnrealEnginePython.lib PackagingResults: Error: UBT ERROR: Failed to produce item: D:\ss\Plugins\UnrealEnginePython\Binaries\Win64\UE4-UnrealEnginePython.lib

(I checked the ominous FSoftSkinVertex errors but couldn't detect any issues with that)

What am I doing wrong? Do I miss something? Thank you very much in advance for the help!

getnamo commented 6 years ago

I haven't tested or confirmed packaging yet. It's possible it is broken atm. Check the parent unrealenginepython branch and see if it packages for you, I might be missing a few upstream commits to ensure it compiles in monolithic mode.

sepppirch commented 5 years ago

Hi, first of all, thanks for the great work. i also have the same problem, it wont let me package your fork, 20tabs works fine. i use your fork because of the multithreading functions you added, unfortunately i cannot locate the changes you talk about here: https://github.com/20tab/UnrealEnginePython/issues/181 Anyways - realy cool work, i would be stoked if you could make it package somehow... best, sebastian pirch

bernhardrieder commented 5 years ago

Hey @sepppirch, do you still use UE4.19? I've integrated a changelist to fix the issues for UE 4.22 a while back, so that version should work if you get the latest code version. (Pull Request for that fix)