Linking problem with Cuda lib

As already discussed in another thread, I also made a Cuda lib (with the extern c stuff…). In my application, where I want to use the lib, I get the following unresolved external symbol by the linker: ___cudaRegisterFatBinary. I searched for it and found it in “include\crt\host_runtime.h”. But including it helped not at all. Any idea if there might be any other include or lib missing?

Just figured it out on my own. Just link your application to “cuda.lib” and “cudart.lib” in the lib-directory of Cuda. :))