Its complaining that it can’t find some header files (many header files), it appears that many of the header files contain literal paths to a location that doesn’t exist
i.e.
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
/===========================================================================
C++ class boilerplate exported from UnrealHeaderTool.
This is automatically generated by the tools.
DO NOT modify this manually! Edit the corresponding .h files instead!
===========================================================================/ #pragma once
As someone who has dabbled in C programming, I’d expect to see a relative path to the header file not an absolute, everything from “UE4 - Build 4.0.1” on-wards exists, but everything prior to that the “C:/Users/Darryl/Downloads” doesn’t I’d happily go in there and change it… only it looks like the path is automatically generated, whats caused this strange path to exist ?
Sounds like quite the pickle. In truth you would be doing yourself a favor to update your engine to 4.1. Anyways, in your compiler you could manually add the path. c/c++ : header file not found - Stack Overflow
Now if i’m understanding you correctly you’re saying that the file DOES exist since you’ve literally opened up the folder and have seen it yourself but the compiler doesn’t want to recognize that it’s there? This might be obvious but I hope you’re using Visual Studio 2013 and not 2012 since this is starting to sound more like a linker issue.
If not just let us know that the issue is still going on oh and give us the error number that the compiler gives, i’d imagine there’s up to at least 10+ warnings but a few errors.
The header files that its complaining about exist… just not where the automaticly header file says they are.
Example to explain
SlateClasses.h
Contains…
#include “C:/Users/Darryl/Downloads/UE4 - Build 4.0.1/Engine/Source/Runtime/Slate/Classes/SlateTypes.h” #include “C:/Users/Darryl/Downloads/UE4 - Build 4.0.1/Engine/Source/Runtime/Slate/Classes/SlateWidgetStyleContainerInterface.h” #include “C:/Users/Darryl/Downloads/UE4 - Build 4.0.1/Engine/Source/Runtime/Slate/Classes/SlateWidgetStyleContainerBase.h” #include “C:/Users/Darryl/Downloads/UE4 - Build 4.0.1/Engine/Source/Runtime/Slate/Classes/SlateWidgetStyleAsset.h”
… and more but you get the idea.
Now traditionally, I’d just edit SlateClasses.h so it pointed to the correct place, however the comment at the top of SlateClasses.h says its an automatically generated file and not to edit it ! also the path to SlateClasses.h is
The intermediate in the path also makes me believe that the file was generated automatically, but generated incorrectly so I need away of telling whatever is writing those automatically written headers that my files are actually somewhere else !!
Does anyone know which bit of UNREAL is writing them ? and how to change it ?
I feel pretty stupid. All i needed to do was a “clean” that cleared out the troublesome “intermediate” files. Now I can rebuild the UE4 project, my own project is now missing its nil file, any ideas ?