midgen/cashgenUE

UnrealHeaderTool Compile error

Opened this issue · 4 comments

Hi, when downloading the plugin and UnrealFastNoise and adding them to a project, I'm getting the following errors when compiling for Unreal 4.25:

2>E:/Program Files/Epic Games/UE_4.25/Engine/Plugins/cashgenUE/Source/CashGen/Public/Struct/CGLODMeshData.h(13) : LogCompile: Error: An explicit Category specifier is required for any property exposed to the editor or Blueprints in an Engine module.
2>E:/Program Files/Epic Games/UE_4.25/Engine/Plugins/cashgenUE/Source/CashGen/Public/Struct/CGLODConfig.h(19) : LogCompile: Error: An explicit Category specifier is required for any property exposed to the editor or Blueprints in an Engine module.
2>E:/Program Files/Epic Games/UE_4.25/Engine/Plugins/cashgenUE/Source/CashGen/Public/Struct/CGLODConfig.h(22) : LogCompile: Error: An explicit Category specifier is required for any property exposed to the editor or Blueprints in an Engine module.
2>E:/Program Files/Epic Games/UE_4.25/Engine/Plugins/cashgenUE/Source/CashGen/Public/Struct/CGLODConfig.h(25) : LogCompile: Error: An explicit Category specifier is required for any property exposed to the editor or Blueprints in an Engine module.
2>E:/Program Files/Epic Games/UE_4.25/Engine/Plugins/cashgenUE/Source/CashGen/Public/CGTerrainManager.h(31) : LogCompile: Error: An explicit Category specifier is required for any property exposed to the editor or Blueprints in an Engine module.
2>E:/Program Files/Epic Games/UE_4.25/Engine/Plugins/cashgenUE/Source/CashGen/Public/CGTerrainManager.h(63) : LogCompile: Error: An explicit Category specifier is required for any property exposed to the editor or Blueprints in an Engine module.

Is there something extra I need to do to tackle this, or is this a bug?

Should be fixed in

e16853d

That definitely fixed the category specifier error (and thank you for the fast response), but now I'm seeing a different one:

LINK : fatal error LNK1181: cannot open input file 'E:\Program Files\Epic Games\UE_4.25\Engine\Plugins\cashgenUE\Intermediate\Build\Win64\UE4Editor\Development\CashGen\UE4Editor-CashGen.lib'

I'd need to see the whole output file to find the issue.

Sorry, here's the full output. It's using the latest CashDemo master:

1>------ Skipped Rebuild All: Project: UE4, Configuration: BuiltWithUnrealBuildTool Win32 ------
1>Project not selected to build for this solution configuration 
2>------ Rebuild All started: Project: CashDemo, Configuration: DebugGame_Editor x64 ------
2>Cleaning CashDemoEditor and UnrealHeaderTool binaries...
2>Using 'git status' to determine working set for adaptive non-unity build (E:\Users\Kovukono\Documents\UnrealCourse\CashDemo).
2>Creating makefile for CashDemoEditor (no existing makefile)
2>Parsing headers for CashDemoEditor
2>  Running UnrealHeaderTool "E:\Users\Kovukono\Documents\UnrealCourse\CashDemo\CashDemo.uproject" "E:\Users\Kovukono\Documents\UnrealCourse\CashDemo\Intermediate\Build\Win64\CashDemoEditor\DebugGame\CashDemoEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="C:\Users\Kovukono\AppData\Local\UnrealBuildTool\Log_UHT.txt" -installed
2>Reflection code generated for CashDemoEditor in 5.4295504 seconds
2>Building CashDemoEditor...
2>Using Visual Studio 2019 14.25.28612 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610) and Windows 10.0.18362.0 SDK (C:\Program Files (x86)\Windows Kits\10).
2>Building 6 actions with 12 processes...
2>  [1/6] Default.rc2
2>  [2/6] SharedPCH.Engine.NonOptimized.ShadowErrors.cpp
2>  [3/6] CashDemo.cpp
2>  [4/6] UE4Editor-CashDemo-Win64-DebugGame.dll
2>LINK : fatal error LNK1181: cannot open input file 'E:\Program Files\Epic Games\UE_4.25\Engine\Plugins\cashgenUE\Intermediate\Build\Win64\UE4Editor\Development\CashGen\UE4Editor-CashGen.lib'
2>  [5/6] UE4Editor-CashDemo-Win64-DebugGame.lib
2>     Creating library E:\Users\Kovukono\Documents\UnrealCourse\CashDemo\Intermediate\Build\Win64\UE4Editor\DebugGame\CashDemo\UE4Editor-CashDemo-Win64-DebugGame.lib and object E:\Users\Kovukono\Documents\UnrealCourse\CashDemo\Intermediate\Build\Win64\UE4Editor\DebugGame\CashDemo\UE4Editor-CashDemo-Win64-DebugGame.exp
2>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets(49,5): error MSB3073: The command ""E:\Program Files\Epic Games\UE_4.25\Engine\Build\BatchFiles\Rebuild.bat" CashDemoEditor Win64 DebugGame -Project="E:\Users\Kovukono\Documents\UnrealCourse\CashDemo\CashDemo.uproject" -WaitMutex -FromMsBuild" exited with code -1.
2>Done building project "CashDemo.vcxproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 1 skipped ==========