1

I'm running this code from Github:

# Modify Makefile.config according to your Caffe installation.
cp Makefile.config.example Makefile.config
make -j8
# Make sure to include $CAFFE_ROOT/python to your PYTHONPATH.
make py
make test -j8
# (Optional)
make runtest -j8

And for the line:

make -j8

The output is:

bash: make: command not found

Which is I think it is because make is not a valid command. What packages should I install and how? I tried looking for it on the internet about the error that I was getting but no luck.

I thought it was CMake that I'm missing and actually installed it. I got this in my Program Files folder:

enter image description here

But it still gives out the same error.

eush77
  • 3,870
  • 1
  • 23
  • 30
Chaine
  • 1,368
  • 4
  • 18
  • 37
  • Have you checked ? [How to install “make” in ubuntu?](http://stackoverflow.com/q/11934997/2336650) – Mostafa Hussein May 16 '17 at 07:48
  • Oh sorry I don't have ubuntu. – Chaine May 16 '17 at 07:50
  • And I opt to install it on Windows – Chaine May 16 '17 at 07:50
  • Have you looked on the cmake website for installation instructions? https://cmake.org/install/ – 123 May 16 '17 at 08:28
  • Note that CMake is a different piece of software. On some platforms it generates files for Make (but can't substitute for it either way). On Windows it is typically used to generate MSVS project files. https://cmake.org/overview/ Bottom line, it's not what you need. – eush77 May 16 '17 at 08:37
  • I was confused because the dependencies in the Github page says cmake – Chaine May 17 '17 at 05:38
  • There are multiple builds available but one of the most up-to-date that I know is here : https://nuwen.net/mingw.html – Tim May 17 '17 at 05:44

1 Answers1

2

i downloaded cmake but make is still not recognizable. So I downloaded make first then cmake afterwards then include it to my environmental variables. And I had to restart my laptop.

Chaine
  • 1,368
  • 4
  • 18
  • 37