lluisgomez / TextProposals

Implementation of the method proposed in the papers " TextProposals: a Text-specific Selective Search Algorithm for Word Spotting in the Wild" and "Object Proposals for Text Extraction in the Wild" (Gomez & Karatzas), 2016 and 2015 respectively.
https://github.com/lluisgomez/TextProposals
193 stars 82 forks source link

Fatal error: cublas_v2.h: No such file or directory #14

Open anhhoangta opened 7 years ago

anhhoangta commented 7 years ago

Hi,

I'm using Ubuntu 14.04, installed Caffe with CPU_ONLY. I edited caffe dir, comment cuda dir in CMakeList.txt. But I get this error when build your project: [ 2%] Building CXX object CMakeFiles/eval_SVT.dir/fast_clustering.cpp.o [ 5%] Building CXX object CMakeFiles/eval_SVT.dir/eval_SVT.cpp.o In file included from /home/hoang/caffe/include/caffe/common.hpp:19:0, from /home/hoang/caffe/include/caffe/blob.hpp:8, from /home/hoang/caffe/include/caffe/caffe.hpp:7, from /home/hoang/TextProposals/eval_SVT.cpp:19: ~/caffe/include/caffe/util/device_alternate.hpp:34:23: fatal error: cublas_v2.h: No such file or directory I found a lot of tuts for this error, then build again and again caffe, but still got it. Any suggest?

Thanks!

lluisgomez commented 7 years ago

Seems you can use -DCPU_ONLY in Makefile of TextProposals project (where we use Caffe as library) or use #define CPU_ONLY in headers of maincpp and evalcpp files.