How do I use UCustomMeshComponent?

The file you need to change is here:

\UnrealEngine\Engine\Plugins\Runtime\CustomMeshComponent\Source\CustomMeshComponent\Classes\CustomMeshComponent.h

You need to add CUSTOMMESHCOMPONENT_API into the class definition so it looks like this:

class CUSTOMMESHCOMPONENT_API UCustomMeshComponent : public UMeshComponent