I am using a Visual Studio 2015 solution with two CUDA 8.0 projects. When I try to link a .cu.obj object from the fist project to the second I get the message:
Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol ___cudaRegisterLinkedBinary_41_tmpxft_00000c60_00000000_8_cyclic_cpp1_ii_272b07c3 referenced in function “void __cdecl __nv_cudaEntityRegisterCallback(void * *)” (?__nv_cudaEntityRegisterCallback@@YAXPAPAX@Z) CUDA (Test) C:\Users…\cyclic.cu.obj 1
When I put the source code in the second project everything is fine. I checked the command lines of C/C++, CUDA C/C++, Linker and CUDA Linker but did not find any essential differences.
Is there something I can do against this issue?