I see from this thread:
http://forums.nvidia.com/lofiversion/index.php?t52605.html
that there may be some problems with cross compilation. I’m on Vista 64 and am building a 32 bit app that includes CUDA using VS 2005. I get a bunch of linker errors, that start like this:
[codebox]1>gpuray.obj : error LNK2019: unresolved external symbol _cudaGetDeviceProperties@8 referenced in function “int __cdecl cutGetMaxGflopsDeviceId(void)” (?cutGetMaxGflopsDeviceId@@YAHXZ)
1>gpuray.obj : error LNK2019: unresolved external symbol _cudaGetDeviceCount@4 referenced in function “int __cdecl cutGetMaxGflopsDeviceId(void)” (?cutGetMaxGflopsDeviceId@@YAHXZ)
1>gpuray.obj : error LNK2019: unresolved external symbol _cudaGetErrorString@4 referenced in function “void __cdecl __cudaSafeCall(enum cudaError,char const *,int)” (?__cudaSafeCall@@YAXW4cudaError@@PBDH@Z)
1>gpuray.obj : error LNK2019: unresolved external symbol _cudaThreadSynchronize@0 referenced in function “void __cdecl __cutilCheckMsg(char const *,char const *,int)” (?__cutilCheckMsg@@YAXPBD0H@Z)
1>gpuray.obj : error LNK2019: unresolved external symbol _cudaGetLastError@0 referenced in function “void __cdecl __cutilCheckMsg(char const *,char const *,int)” (?__cutilCheckMsg@@YAXPBD0H@Z)
[/codebox]
which I think is because I have 64 bit CUDA libs installed. I can build 64 CUDA apps fine with this system.
Can I install the 32 bit libs on this machine to get it to work? If so, how can I do this as I am hestitant to download and install the Vista 32 bit driver, toolkit and SDK on this machine. Can I install just the SDK to pick up the 32 bit libs?
Thanks!