libdnn
libdnn copied to clipboard
no rule to make target 'o3', Stop
I had followed all steps in FAQ and Quick Start, but I got the message: no rule to make target 'o3', Stop
Other simple question: What path did you install the libdnn? (I installed it in /usr/local/cuda-6.5.) Would it make some errors happen?
libdnn is not a library you need sudo
. It's a simple and lightweight library just like your programming homework. You can put it anywhere. There's no need to be in /usr/local/...
.
I guess you don't have the permission in /usr/local/
, which cause this problem. Try this:
cd ~/ && git clone https://github.com/botonchou/libdnn.git && cd libdnn/ && ./install.sh
I had sudo permission, and I change the permission of folder. But I still got the same results, I will check other details. thanks!
In Makefile line 46, 47
o3: CFLAGS+=-O3
o3: all
So it's a little bit weird that you got no rule to make target 'o3', Stop
.
Tell me when you fix it.
I solved the problem, here is what I did:
- reinstall the OS to 14.04 desktop (original is 14.04 server).
- change g++ version to 4.6
Thanks for your kind help!