Problems Building CUBLAS/CUDA code in Debug config in Visual Studio 2010 (builds fine in Release con

I am having problems building CUBLAS/CUDA C++ code in the Debug configuration in Visual Studio. The build fails with the following linker error:

1>cublas_device.lib(kepler_sm35_gemm_wrapper.obj) : error LNK2019: unresolved external symbol __cudaRegisterLinkedBinary_59_tmpxft_00001040_00000000_8_kepler_sm35_gemm_wrapper_cpp1_ii_9402ff4f referenced in function "void __cdecl __sti____cudaRegisterAll_59_tmpxft_00001040_00000000_8_kepler_sm35_gemm_wrapper_cpp1_ii_9402ff4f(void)" (?__sti____cudaRegisterAll_59_tmpxft_00001040_00000000_8_kepler_sm35_gemm_wrapper_cpp1_ii_9402ff4f@@YAXXZ)
1>C:\Users\alahiri\documents\visual studio 2010\Projects\RNN_GPU\x64\Debug\RNN_GPU.exe : fatal error LNK1120: 1 unresolved externals

However, in the Release configuration it builds fine. I’m thinking there are some debug NVIDIA libraries that I am missing?
Can anyone please help me out here?


have you fixed your problem ?
If not, you may want to check if you have the same paths set for both release and debug configurations.
Do you have a kepler card (3.5 compute capability)?
Also, try to build debug version of SDK examples for cublas.
My best,