Unable to Create Patrolling Guard

I am given this error every time I try to create follow creating a c++ file based on TP_ThirdPerson

image

Warning: Starting HotReload took 0.0s.
CompilerResultsLog: New page: Compilation - Mar 3, 2020, 7:50:40 PM
CompilerResultsLog: Using ‘git status’ to determine working set for adaptive non-unity build (C:\Users\fiery\Desktop\Projects\S05_TG_FPS).
CompilerResultsLog: Building S05_TG_FPSEditor…
CompilerResultsLog: Using Visual Studio 2019 14.24.28315 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314) and Windows 10.0.18362.0 SDK (C:\Program Files (x86)\Windows Kits\10).
CompilerResultsLog: Building 5 actions with 16 processes…
CompilerResultsLog: [1/5] PatrollingGuard.cpp
CompilerResultsLog: C:\Users\fiery\Desktop\Projects\S05_TG_FPS\Source\S05_TG_FPS\Public\PatrollingGuard.h(6): fatal error C1083: Cannot open include file: ‘TP_ThirdPerson/TP_ThirdPersonCharacter.h’: No such file or directory
CompilerResultsLog: [2/5] PatrollingGuard.gen.cpp
CompilerResultsLog: C:\Users\fiery\Desktop\Projects\S05_TG_FPS\Source\S05_TG_FPS/Public/PatrollingGuard.h(6): fatal error C1083: Cannot open include file: ‘TP_ThirdPerson/TP_ThirdPersonCharacter.h’: No such file or directory
LogMainFrame: MainFrame: Module compiling took 1.067 seconds
Warning: HotReload failed, recompile failed

I found a fix when the patrolling guard file is created I just manually change the include of
#include “TP_ThirdPersonCharecter.h” to
#include “C://Users/…/Source/S05_TG_FPS/TP_ThirdPerson/TP_ThirdPersonCharacter.h”.

I have no idea if this is just a me problem or a change in version 4.24 though

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms