How to use chaos (UGeometryCollectionComponent) in C++

I try to use C++ UGeometryCollectionComponent in UE5.1. But it failed when compile.

#include "GeometryCollection/GeometryCollectionComponent.h"

UProperty(EditAnyWhere)
UGeometryCollectionComponent*  GeometryCollectionComponent;

The err msg tell me that UGeometryCollectionComponent* GeometryCollectionComponent is where the bug occured. I also checked the plugin that need installed (for chaos), all plugin for chaos was installed.

I would like to know how to use this component in C++ (UGeometryCollectionComponent works well in BP).

Thanks~