link errors (missing symbols) for cudnn

I am trying to build a simple project with cuDNN in VS2013. At link time, it is properly linking to cudnn.lib, but it cannot find any of the referenced symbols there. I get errors like

error LNK2019: unresolved external symbol _cudnnCreate@4 referenced in function "public: __thiscall…

I see someone else had this issue and resolved it with voodoo:

https://devtalk.nvidia.com/default/topic/780928/?comment=4332663

I’d rather not make an x64 build (and I’d especially rather not have to reinstall my IDE).

Any idea what might be going on?

Thank you.

You need to make an x64 build.

cuDNN requires a 64-bit platform

take a look at slide 22 here:

http://on-demand.gputechconf.com/gtc/2014/webinar/gtc-express-sharan-chetlur-cudnn-webinar.pdf

You can also figure this out just by looking at what is in the cuDNN zip archive that you downloaded. The only file of any significant size is cudnn64_65.dll which is the actual 64 bit library code.