Linking cuda code with cpp code on Windows - what am I doing wrong?

-Deleted by the op-