Help compiling Modular Character code

Found an UE4 Modular Character code sample, but it does not compile for me. Admittedly, I am an artist learning CPP, but I followed the re-naming instructions and got a bunch of errors.
The epic code was on this web page. Modular Characters in Unreal Engine | Unreal Engine 5.2 Documentation

Does it compile for anyone else in version 4.21?

Thank you,