CUDA Link Error (Lib to Dll)
问题 Im trying to create a framework to be able to use CUDA code in several game engine. To be able to communicate with all the wanted engines the frame consists of two main parts. A Lib and a DLL. The Lib contains all the functionality (CUDA and regular C++) and the DLL functions as a bridge to call functions from the Lib. Now, everything was running oke untill I've included a .cu file. When I'm building I'm getting the following error: Error 3 error LNK2019: unresolved external symbol _Add2And7