Hello, thanks for taking some time and read my question.
I`m trying to create a black board in C++ so that I can write and read data from my C++ classes,
the problem is that when I try to compile the project I got the next error:
I have seen this error in other posts but I still don’t understand how to fix it.
the problem is that Visual studio shows errors after the statement GENERATED_USTRUCT_BODY().
in this case there is a variable called EntryName of type FName, and Visual study tells that I need a ; before the FName.
the syntax of EntryName is Ok, but the problem is related to the GENERATED_USTRUCT_BODY() macro.
In this case the error happens in the file BlackboardData.h. this file is an Engine’s file, I mean I DIDN’T create that file(but I need it as reference for my own classes).
If someone have seem this problem before and have some Ideas how I can fix it please let me know :).
Did you include the Module: AIModule in your build.cs file? From what i understand Unreal modules are like c++ (lib, DLL or SO) files, so if you reference something from a header and the CPP body does not exist in the form of a .cpp file or a lib to link from. You probably had some unknown “symbols” with a linker etc,etc, normally means you don’t have the implementation or definition defined somewhere. I’m learning myself and getting plenty of linker unknowns LOL