libdnn icon indicating copy to clipboard operation
libdnn copied to clipboard

no rule to make target 'o3', Stop

Open ymchiQQ opened this issue 10 years ago • 4 comments

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?

ymchiQQ avatar Feb 12 '15 03:02 ymchiQQ

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

poweic avatar Feb 12 '15 03:02 poweic

I had sudo permission, and I change the permission of folder. But I still got the same results, I will check other details. thanks!

ymchiQQ avatar Feb 12 '15 08:02 ymchiQQ

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.

poweic avatar Feb 12 '15 08:02 poweic

I solved the problem, here is what I did:

  1. reinstall the OS to 14.04 desktop (original is 14.04 server).
  2. change g++ version to 4.6

Thanks for your kind help!

ymchiQQ avatar Feb 13 '15 10:02 ymchiQQ