If you simply added that compile switch, that’s not the correct way to do it in visual studio. You should use the project configuration to change to a relocatable device code project. This should address the first (LNK2001) error.
The second error is arising due to the fact that this project has an unusual mechanism for providing a main() routine, and it is apparently not working. You’ll need to investigate that.
Thanks for the response. I set -rdc=true in Project -> Properties -> Configuration Properties -> CUDA C/C++ -> Common -> Generate Relocatable Device Code, and this does not seem to address the LNK2001 error. Are there any steps that I am missing? Thanks!