Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't to compile under UE 4.22.1 ( #7

Open
uran opened this issue May 14, 2019 · 3 comments
Open

Can't to compile under UE 4.22.1 ( #7

uran opened this issue May 14, 2019 · 3 comments

Comments

@uran
Copy link

uran commented May 14, 2019

Hello, Taha!
Thank's a lot!
But, i've some troubles with compile your plugin under W10.
Some log:
Using Visual Studio 2019 14.21.27619 toolchain (d:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.21.27619) and Windows 10.0.18362.0 SDK (D:\Program Files (x86)\Windows Kits\10).
Building 6 actions with 4 processes...
[1/6] Default.rc2
[2/6] Module.BluetoothSupport.cpp
F:\BlueTooth\HostProject\Plugins\BluetoothSupport\Source\BluetoothSupport\Private\BluetoothSupport.h(11): fatal error C1083: Не удается открыть файл включение: ModuleManager.h: No such file or directory,
[3/6] Module.BluetoothSupport.gen.cpp
F:\BlueTooth\HostProject\Plugins\BluetoothSupport\Source\BluetoothSupport/Public/Blueprint/BluetoothDevice.h(11): fatal error C1083: Не удается открыть файл включение: CString.h: No such file or directory,
Took 40.025356s to run UnrealBuildTool.exe, ExitCode=5
ERROR: UnrealBuildTool failed. See log for more details. (C:\Users\uran\AppData\Roaming\Unreal Engine\AutomationTool\Logs\F+UE_4.22\UBT-UE4Editor-Win64-Development.txt)
(see C:\Users\uran\AppData\Roaming\Unreal Engine\AutomationTool\Logs\F+UE_4.22\Log.txt for full exception trace)
AutomationTool exiting with ExitCode=5 (5)
BUILD FAILED

@uran
Copy link
Author

uran commented May 14, 2019

CString.h error fixed with #include
But, i've anoter compilation error:
Using Visual Studio 2019 14.21.27619 toolchain (d:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.21.27619) and Windows 10.0.18362.0 SDK (D:\Program Files (x86)\Windows Kits\10).
Building 6 actions with 4 processes...
[1/6] Default.rc2
[2/6] Module.BluetoothSupport.cpp
F:\BlueTooth\HostProject\Plugins\BluetoothSupport\Source\BluetoothSupport\Private\BluetoothSupport.h(11): fatal error C1083: Не удается открыть файл включение: ModuleManager.h: No such file or directory,
[3/6] Module.BluetoothSupport.gen.cpp
F:\BlueTooth\HostProject\Plugins\BluetoothSupport\Source\BluetoothSupport/Public/BluetoothSupportBPLibrary.h(11): fatal error C1083: Не удается открыть файл включение: CoreDelegates.h: No such file or directory,
Took 9.2982594s to run UnrealBuildTool.exe, ExitCode=5
ERROR: UnrealBuildTool failed. See log for more details. (C:\Users\uran\AppData\Roaming\Unreal Engine\AutomationTool\Logs\F+UE_4.22\UBT-UE4Editor-Win64-Development.txt)
(see C:\Users\uran\AppData\Roaming\Unreal Engine\AutomationTool\Logs\F+UE_4.22\Log.txt for full exception trace)
AutomationTool exiting with ExitCode=5 (5)
BUILD FAILED

@uran
Copy link
Author

uran commented May 14, 2019

This is last compilation log:
C:\Windows\system32>"F:\UE_4.22\Engine\Build\BatchFiles\RunUAT.bat" BuildPlugin -plugin="F:\UE4\UE-Bluetooth-Support-4.21\UE-Bluetooth-Support-4.21\BluetoothSupport.uplugin" -package="F:\BlueTooth"
Running AutomationTool...
Parsing command line: BuildPlugin -plugin=F:\UE4\UE-Bluetooth-Support-4.21\UE-Bluetooth-Support-4.21\BluetoothSupport.uplugin -package=F:\BlueTooth
Copying 25 file(s) using max 64 thread(s)
Reading plugin from F:\BlueTooth\HostProject\Plugins\BluetoothSupport\BluetoothSupport.uplugin...
Building plugin for host platforms: Win64
Running: F:\UE_4.22\Engine\Binaries\DotNET\UnrealBuildTool.exe UE4Editor Win64 Development -plugin=F:\BlueTooth\HostProject\Plugins\BluetoothSupport\BluetoothSupport.uplugin -iwyu -noubtmakefiles -manifest=F:\BlueTooth\HostProject\Saved\Manifest-UE4Editor-Win64-Development.xml -nohotreload -log="C:\Users\uran\AppData\Roaming\Unreal Engine\AutomationTool\Logs\F+UE_4.22\UBT-UE4Editor-Win64-Development.txt"
While compiling F:\BlueTooth\HostProject\Plugins\BluetoothSupport\Intermediate\Build\BuildRules\BluetoothSupportModuleRules.dll:
f:\BlueTooth\HostProject\Plugins\BluetoothSupport\Source\BluetoothSupport\BluetoothSupport.Build.cs(62,17) : warning CS0618: "UnrealBuildTool.ModuleRules.ReceiptPropertyList.Add(UnrealBuildTool.ReceiptProperty)" является устаревшим: "Constructing a ReceiptProperty object is deprecated. Call ReceiptProperties.Add() with the path to the file to stage."
Parsing headers for UE4Editor
Running UnrealHeaderTool UE4Editor "F:\UE_4.22\Engine\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
Reflection code generated for UE4Editor in 6.8827611 seconds
Writing manifest to F:\BlueTooth\HostProject\Saved\Manifest-UE4Editor-Win64-Development.xml
Using Visual Studio 2019 14.21.27619 toolchain (d:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.21.27619) and Windows 10.0.18362.0 SDK (D:\Program Files (x86)\Windows Kits\10).
Building 6 actions with 4 processes...
[1/6] Default.rc2
[2/6] Module.BluetoothSupport.gen.cpp
F:\BlueTooth\HostProject\Plugins\BluetoothSupport\Source\BluetoothSupport/Public/BluetoothSupportBPLibrary.h(11): fatal error C1083: Can't open include file: CoreDelegates.h: No such file or directory,
[3/6] Module.BluetoothSupport.cpp
F:\UE_4.22\Engine\Source\Runtime\Engine\Public\EngineMinimal.h(11): warning: Monolithic headers should not be used by this module. Please change it to explicitly include the headers it needs.
F:\BlueTooth\HostProject\Plugins\BluetoothSupport\Source\BluetoothSupport\Private../Public/BluetoothSupportBPLibrary.h(11): fatal error C1083: Can't open include file: CoreDelegates.h: No such file or directory,
Took 11.8684751s to run UnrealBuildTool.exe, ExitCode=5
ERROR: UnrealBuildTool failed. See log for more details. (C:\Users\uran\AppData\Roaming\Unreal Engine\AutomationTool\Logs\F+UE_4.22\UBT-UE4Editor-Win64-Development.txt)
(see C:\Users\uran\AppData\Roaming\Unreal Engine\AutomationTool\Logs\F+UE_4.22\Log.txt for full exception trace)
AutomationTool exiting with ExitCode=5 (5)
BUILD FAILED

@uran uran changed the title Can't to compile ( Can't to compile under UE 4.22.1 ( May 14, 2019
@RobQuistNL
Copy link

#include "CString.h" should become #include "Misc/CString.h"
#include "ModuleManager.h" should become #include "Modules/ModuleManager.h"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants