How can I get BP class for c++?

Ok, compiling works, but then i have an crash by playing