Reputation: 81
Saw previous answers on the subject, but wasn't able to get the solutions working fully myself. Trying to run code I pulled off Github from David R. Miller regarding his evolutionary neural network simulation software. Running Windows 10 and get the following error when attempting to run the provided makefile:
'make' is not recognized as an internal or external command, operable program or batch file
To be specific, I open the command window, cd to the folder where I saved the makefile, and type "make," "make all," and other variations. In looking at Google and other Stack Overflow answers I verified I have GnuWin32 in my program files (x86) folder and added the makefile directory as a path variable:
Not particularly familiar with windows systems or systems configurations in general so tracking I may be lacking something else.
Any ideas what I'm missing?
Github source code: https://github.com/davidrmiller/biosim4
Previous answer referenced: Windows 7 - 'make' is not recognized as an internal or external command, operable program or batch file
Upvotes: 3
Views: 32276
Reputation: 411
If your make
executable is in C:/Program Files (x86)/GnuWin32/bin
, add it to your path.
The purpose of "add path" is for convenience for your later use.
Assume your make
executable is located in C:/Program Files (x86)/GnuWin32/bin/make
.
Before you add the path you need to call:
C:/Program Files (x86)/GnuWin32/bin/make
After you add the path you need to call:
make
If you are familiar with programming in Linux, I highly recommend msys2.
It provide a package manager pacman
that you can easily update your tool chain and libraries. (g++
, make
, cmake
, etc)
Upvotes: 5