Hi.
I am not good with english, so try ask as simple as i can.
How to generate fileName.generate.h. I found many post about that but, but still i can’t do this.
steps what i am doing:
in UE4 editor create new c++ class, inherit none
add UCLASS() adnotation before/above keyword class
save, close evrything, click right mouse buton on .uproject file and press generate visual studio project files
and its not working. i try add #include fileName.generate.h befeore i press generate visual studio project files, and after too. Also try delete folders like .vs, binaries, intermediate before generate project files, but nothing work
After generate visual studio project files, and try to open .uproject ther is a error, can’t compile, try from source manualy. and Visual show something like data, link to screen
remove this on #include nad Uclass() and evrything works
*.generated.h are files generated by UnrealHeaderTool and it runs during code compilation, so ignore InteliSense error and just build the code, Due to some unconventional C++ hackery used in UE4 InteliSense is confused all the time, you should not take InteliSense error with grain of salt and if something looks ok to you, just try to build it, you should not suggest yourself with Error List too and relay Output tab, original guidelines even been suggesting to disable that tab as it was misleading.