fatal error LNK1181: cannot open input file 'shrUtils32D.lib' Solving CUDA 4.0 visual studio

I recently downloaded and installed the 64 bit Windows 7 CUDA 4.0 toolkit and SDK. I’m trying to compile the device query example with Visual Studio 2008 but am unable to compile due to one error: fatal error LNK1181: cannot open input file ‘shrUtils32D.lib’.

Has anyone had an issue with something like this? Is anyone able to build the DeviceQuery project? Does anyone know the solution to this problem?

While doing some research about this issue, I found a blog that provided a solution.


The solution to this issue was in the OpenCL folder. Building the oclUtils project in …\NVIDIA GPU Computing SDK 4.0 \OpenCL\common allowed device query to build and run without error.