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

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

Open
PalgunaGopireddy opened this issue May 7, 2024 · 6 comments
Open

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

PalgunaGopireddy opened this issue May 7, 2024 · 6 comments

Comments

@PalgunaGopireddy
Copy link

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

You should install make first

@PalgunaGopireddy
Copy link
Author

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

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

@PalgunaGopireddy
Copy link
Author

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

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

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

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