I have the following code in a header file for an actor,\
UProperty(EditAnywhere)
UStaticMeshComponent *Mesh;
and it’s not compiling, intellisense is giving me an error expecting a semi-colon after the UProperty signature, even though I’ve seen in examples that you shouldn’t have one.
Any ideas? new to UE C++ programming,
Intellisense sometimes don’t like UE4 macros, do you getting those errors when you compile
Hey,
Thanks for answering. I’ve since created a new project and it’s not an issue in that project. I think it may have had something to do with me opening the first project in VS community 2015, building and saving and then migrating it to VSC 2017.
It didn’t compile.I got an ‘expected ;’ error, identifier “” is undefined error, UnrealHeaderTool failed for target ‘MyProjectEditor’ (platform: Win64, module info: C:\Users\user\Documents\UnrealProjects\MyProject\Intermediate\Build\Win64\MyProjectEditor\Development\MyProjectEditor.uhtmanifest, exit code: OtherCompilationError (5)).
error.
Thanks