C++ actors not showing up in Linux UE4Editor

I have been using the UE4Editor in Linux, building from source, and everything has been going fine as long as I only worked with Blueprints. Now I’ve added a C++ actor to my project and compiled it successfully. However, in the editor I cannot see my C++ actor. I know it should be located in a folder called “C++ classes” (or something similar) from trying to recreate this on Windows where I could actually see the actor. I’ve tried using “Compile” in the editor as well as closing the project.

At the same level as I have “Content” I also have “Source” where the C++ code is located. Here is a screenshot of what I can see in the editor (“Content” only), unless I turn on “Show Engine Content” in which case I can see C++ classes from the engine as well but still not my own C++ class.

Opening a C++ project works and compiling works. I have compared the .cs files that are in the C++ project and my blueprint project and they look identical. When compiling the blueprint project from the terminal using Mono I get ERROR: Failed to launch compiler to compile assembly from source files: pointing to the .cs files and then below that it says (Exception: System.SystemException: Error running mcs: Cannot find the specified file. But it doesn’t mention which file it is unable to find.

In the Content Browser, there is a button called “View Options” in the right bottom corner of that window. Click on it and look if “Show C++ Classes” is checked. If not, well check it.