niuzhiheng / caffe

Caffe
http://caffe.berkeleyvision.org/
BSD 2-Clause "Simplified" License
317 stars 129 forks source link

Build error on cublas.lib #67

Open alitou opened 9 years ago

alitou commented 9 years ago

When I build the MainCaller.cpp after I did the previous steps, I got 9757 warnings and 1 error. The error is : Error9758 error LNK1181: cannot open input file 'cublas.lib' How can I make it work. PS:I am new to the VS 2012 and C++ code. Thanks

Raverss commented 9 years ago

right click project "MainCaller" in Solution explorer -> select properties -> expand Configuration properties -> expand Linker -> select General -> edit Additional Library Directories so it match your Cuda installation folder. This helped to solve problem for me. EDIT: Sombody made already request: https://github.com/niuzhiheng/caffe/pull/57