Common UI Module - Linking Errors

HI, I’m trying to use CommonUI in CPP by creating a class that inherits from CommonActivatableWidget. But I get these linking errors after I created the class (in a blank project):


I added "CommonUI’ and ‘‘CommonInput’’ to my build.cs file. I’m new to using CPP in Unreal so maybe this is easy to fix. Can someone help? Thanks in advance.

Ok, I found the solution. In your Build.cs file, add “UMG” to public dependencies!!