Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
anhhoangta opened this issue Dec 31, 2016 · 1 comment
Open

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

anhhoangta opened this issue Dec 31, 2016 · 1 comment

Comments

@anhhoangta
Copy link

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants