So I was following many tutorials and I get this error each time I try to add a C++ class to my project.
After me clicking ‘’
I get message ‘Failed to automatically hot reload the Project module.’
the error log says:
- ERROR: Couldn’t find target
rules file for target ‘UE4Editor’ in
rules assembly
‘UE4Editor_EditorRecompileModuleRules,
Version=0.0.0.0, Culture=neutral,
PublicKeyToken=null’. - Location: D:\Unreal
Projects\blankCpp02\Intermediate\Build\BuildRules\UE4Editor_EditorRecompileModuleRules.dll - Target rules found:
- blankCpp02 - D:\Unreal
Projects\blankCpp02\Source\blankCpp02.Target.cs - blankCpp02Editor - D:\Unreal
Projects\blankCpp02\Source\blankCpp02Editor.Target.cs
or
- Parsing headers for blankCpp03Editor
- Reflection code generated for blankCpp03Editor
- Performing 3 actions (4 in parallel)
- MyActor.cpp
- blankCpp03.generated.cpp
- [3/3] Link UE4Editor-blankCpp03-7128.dll
Error LINK : fatal error LNK1181: cannot open input file ‘delayimp.lib’ - -------- End Detailed Actions Stats -----------------------------------------------------------
- ERROR: UBT ERROR: Failed to produce item: D:\Unreal Projects\blankCpp03\Binaries\Win64\UE4Editor-blankCpp03-7128.dll
- Cumulative action seconds (8 processors): 0,00 building projects, 136,00 compiling, 0,00 creating app bundles, 0,00 generating debug info, 0,53 linking, 0,00 other
- UBT execution time: 81,68 seconds
This is really a pain in da a.
I really would like to write code and compile stuff without restarting the editor.
I use VS 2013 Express for Desktop
The ‘Library Directories’ in preferences, I tried that option with replacing it with **$(LibraryPath) ** –link– did not work for me (normally the is $(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64))
Besides I do get error (if that helps) when I start a new project that
The project failed to compile with this version of the engine. Build output is as follows:
- D:\Program Files\Epic
Games\4.7\Engine\Source\Runtime\Core\Resources\Windows\ModuleVersionResource.rc.inl(3)
: fatal error RC1015: cannot open
include file ‘windows.h’. - D:\Unreal
Projects\blankCpp03\Source\blankCpp03\Resources\Windows\blankCpp03.rc(8)
: fatal error RC1015: cannot open
include file ‘windows.h’.
PCH.blankCpp03.blankCpp03.h.cpp
D:\Program Files\Epic Games\4.7\Engine\Source\Runtime\Core\Public\HAL\PlatformIncludes.h(5) : fatal error C1083: Cannot open include file: ‘new’: No such file or directory
-------- End Detailed Actions Stats -----------------------------------------------------------
ERROR: UBT ERROR: Failed to produce item: D:\Unreal Projects\blankCpp03\Binaries\Win64\UE4Editor-blankCpp03.dll