How to solve linker error LNK2001?

Hi guys, I was following a tutorial I found in a book about creating custom primitive components and, when I tried to build the project, the linker gave me these errors: LinkerErrors

The class I’m trying to compile is this: MyMeshComponent

I guess I should add some dependency to the project, but I don’t know how to do it or what dependency is missing.
Does somebody know how to solve this?

Add the “RHI” module to your dependencies in the ***.build.cs script

PrivateDependencyModuleNames.Add("RHI");

Thank you very much!
Just in case anyone reaches this question looking for solution to the same issue, adding the RHI module only fixed part of the problem: I had to add RenderCore too.