20tab / UnrealEnginePython

Embed Python in Unreal Engine 4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Failed: Cannot open include file 'UEPyModule.h'

lihenghitcs opened this issue · comments

UE 4.16
Python 3.6.5
Visual Studio 2017
Win10

I followed installation-from-sources-on-windows-64-bit but failed to compile the plugin, showing lots of "Cannot open include file: 'UEPyModule.h'"

Severity	Code	Description	Project	File	Line	Suppression State
Error	C1083	Cannot open include file: 'UEPyModule.h': No such file or directory	ShortTrack	d:\unrealprojects\shorttrack\plugins\unrealenginepython\source\unrealenginepython\private\slate\UEPySlate.h	3	
Error		Failed to produce item: D:\UnrealProjects\ShortTrack\Plugins\UnrealEnginePython\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-UnrealEnginePython-430.lib	ShortTrack	D:\UnrealProjects\ShortTrack\Intermediate\ProjectFiles\ERROR	1	
Error	MSB3075	The command ""D:\Program Files (x86)\Epic Games\UE_4.16\Engine\Build\BatchFiles\Build.bat" ShortTrackEditor Win64 Development "D:\UnrealProjects\ShortTrack\ShortTrack.uproject" -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command.	ShortTrack	D:\Program Files\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets	44	

How could I solve it?