Cannot open generated Header/Header not visible to other classes

I added a class to my project several weeks ago which has several child classes. A couple of days ago I upgraded to 4.6.1 and now I cannot compile my VS solution.

The errors seem to revolve around none of the child classes or the cpp file for the header being able to ‘see’ the header. It is as if it doesn’t exist.

Included in these errors (which I believe is the root of the problem) is the following error:

18	IntelliSense: cannot open source file "RadialHUD.generated.h"	j:\GitHub\CSC4001\UnrealProjs\ResearchProj 4.6\Source\ResearchProj\Public\RadialHUD.h	8

Any advice?

Hi plockhart,

It is not error. IntelliSense cannot find file, cause include directories generated in UBT. Can you attach log of your output window, when you compile. I wonder did you try to rebuild project.

There is too many to add as a comment, but here it is http://pastebin.com/TJCHRfwv

The class RadialHUD is defined and I have been working with it for the last couple of weeks. All of the errors are related to the fact it does not acknowledge the existence of my header file.

It looks like header tool cannot find RadialHUD. I wonder did you include your RadialHUD.h to ResearchProjRadial.h. In addition, there is some other errors. Better to use Output window (Alt+2) instead of Error List window. It will give you more details about errors.

There is too many to add as a comment,

You can attach text file.

I do indeed have the include in ResearchProjRadial.h

If you like, you can check out the repository I have for the project if you wish to keep helping you. I really appreciate the time you have taken already!

The output window shows the following:
link text

Thanks a lot for your time . I noticed a */ missing which was commenting out a method of mine in a struct. This struct belonged to the RadialHud.h header (but not the class) and was throwing the compiler off.

I’m really sorry this turned out to be a noobish mistake. I had been working with it for a while now but the fact I didn’t have to recompile from source for ages meant it lingered for a while and it took ages to backtrack to find it.

I noticed a */ missing which was commenting out a method of mine in a struct. This struct belonged to the RadialHud.h header (but not the class) and was throwing the compiler off.

I hang my head in shame.