How to create custom Control Rig class in c++?

I tried it. But, those error occerd. Can you give me advice?

image