Did you follow this step-by-step from Epic when setting this up?
If I remember right, I was getting linker issues because I didn’t have the appropriate Windows SDK versions installed that UE requires. I was able to get it to work by following Epic’s instructions.
I also found this older forum post that I believe is the same issue: