I’ve installed 3.1 on windows 7, and VS 2008, together with the stable 1.0 release of nSight
All the samples I’ve tried building fail with linker errors like:
1>bandwidthTest.cu.obj : error LNK2019: unresolved external symbol _shrLog referenced in function _main
1>bandwidthTest.cu.obj : error LNK2019: unresolved external symbol _shrSetLogFileName referenced in function _main
It’s not always that specific message, but it’s sometimes something similar, depends on with sample.
I am having the same issues… I can build on CUDA 3.0, Win XP x86, Visual C++ Express 2008 or 2010, but not when I move over to Windows 7 x86_64, CUDA 3.1, Visual C++ Express 2008 / 2010 or Visual Studio 2008 / 2010. I’ve tried adding the path to the 32 bit libraries, however, that doesn’t seem to resolve anything either…
ERROR:
1>main.obj : error LNK2001: unresolved external symbol _cudaEventCreate@4
1>main.obj : error LNK2001: unresolved external symbol _cudaEventElapsedTime@12
1>main.obj : error LNK2001: unresolved external symbol _cudaEventSynchronize@4
1>main.obj : error LNK2001: unresolved external symbol _cudaEventRecord@8
I am having the same issues… I can build on CUDA 3.0, Win XP x86, Visual C++ Express 2008 or 2010, but not when I move over to Windows 7 x86_64, CUDA 3.1, Visual C++ Express 2008 / 2010 or Visual Studio 2008 / 2010. I’ve tried adding the path to the 32 bit libraries, however, that doesn’t seem to resolve anything either…
ERROR:
1>main.obj : error LNK2001: unresolved external symbol _cudaEventCreate@4
1>main.obj : error LNK2001: unresolved external symbol _cudaEventElapsedTime@12
1>main.obj : error LNK2001: unresolved external symbol _cudaEventSynchronize@4
1>main.obj : error LNK2001: unresolved external symbol _cudaEventRecord@8