weiliu89 / caffe

Caffe: a fast open framework for deep learning.
http://caffe.berkeleyvision.org/
Other
4.77k stars 1.67k forks source link

Error occured. `bash: make: command not found` #1041

Open PalgunaGopireddy opened 5 months ago

PalgunaGopireddy commented 5 months ago

I am new to using git desktop version. I installed git bash. Ran following as told in readme file

git clone https://github.com/weiliu89/caffe.git
cd caffe
git checkout ssd
cp Makefile.config.example Makefile.config

But when I ran make -j8, it is showing the follwing error. image

What should I do?

tsurumi-yizhou commented 4 months ago

You should install make first

PalgunaGopireddy commented 4 months ago

I tried installing make following the instructions given in https://stackoverflow.com/a/43779544/21763726. But the download link of make-4.2.1-without-guile-w32-bin.zip file is not working.

I tried installing make using other ways also. But they were also not prolific in resolving.

Would you suggest any way to install?

tsurumi-yizhou commented 4 months ago

As you're using mingw, you should add it's path into system environment variable PATH

PalgunaGopireddy commented 4 months ago

Yes, I am using mingw since the command prompt of Windows does not recognize the git command. So I installed git-bash from this link.

After that, as you told, I added the C:\Program Files\Git\mingw64\bin path to the environment variables. Still showing the same error bash: make: command not found

Have I added the wrong path?

tsurumi-yizhou commented 4 months ago

In Mingw the make has the name of "mingw32-make" or the similar, if it was there. In my case, mingw-make wouldn't be installed by git.

PalgunaGopireddy commented 4 months ago

So. Could you tell how you ran the code. I will install them. Do the same. Have never used caffe it appears I need a headstart