Tuesday, December 7, 2010

Building samples from CUDA SDK

When trying to build deviceQuery project, I got:

1>------ Build started: Project: deviceQuery, Configuration: Debug Win32 ------
1>Linking...
1>LINK : fatal error LNK1181: cannot open input file 'cutil32D.lib'
1>Build log was saved at "file://c:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 3.2\C\src\deviceQuery\Debug\BuildLog.htm"
1>deviceQuery - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


Solution:
First build Release project (in my case it's in C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 3.2\C\common) - after this when I tried building deviceQuery linker error appeared with shrUtils32D.lib.

Building oclUtils project (...\NVIDIA GPU Computing SDK 3.2\OpenCL\common) solved the problem - now deviceQuery builds without errors.

No comments:

Post a Comment