A compilation Error every time a class is just added by the class wizard

Did someone find a solution for this? I’m new to UE4 and AirSim, I tried to create a C++ class on my Blocks module and I got “Successfully added class ‘MyActor’, however you must recompile the ‘Blocks’ module before it will appear in the Content Browser. Failed to automatically compile the ‘Blocks’ module”.
The .h and .cpp are created in a Source folder within Bocks and AirSim, but nothing appears in the “Content” folder…

Can anyone help me?
TIA