I'm getting a link error and cannot add a class, why?

The link error message means there is another class that goes with the one you are trying to add. You have to add both to get into the class. Check with your advisor to see which class is linked to the one you want to add.