PDA

View Full Version : mingw32-make not recognized



freekill
5th January 2010, 16:05
I'm trying to use GNU C/C++ Compiler in this newly installed Windows 7. I installed MinGW 5.1.6 and left out 'make'. Then installed MSYS 1.0.11, primarily for its 'make' which I need for compiling a C++ vision library that I'd be using alongside Qt. I also installed GDB 5.2.1 then the libraries I'd be using - Qt and OpenCV. After these installations, I added these to my Environment Settings:
PATH C:\MinGW\bin;C:\msys\bin;C:\Qt\4.6.0\bin;C:\Progra m Files\OpenCV\bin
QMAKESPEC win32-g++
QTDIR C:\Qt\4.6.0

To verify if things are working, I entered Windows' cmd and checked:
gcc -v gave me gcc version 3.4.5
gdb -v gave me GNU gdb 5.2.1
qmake -v gave me QMake version 2.01a
make -v gave me 'mingw32-make' is not recognized as an internal or external command, operable program or batch file.

However, if I enter make -v in the MSYS command line, I get GNU Make 3.81. What seems to be missing? TIA.

wysota
5th January 2010, 20:29
Check if you have a make.bat file in C:\MinGW\bin. If so, then delete it.

freekill
6th January 2010, 01:47
Check if you have a make.bat file in C:\MinGW\bin. If so, then delete it.

Can't see a make.bat file in there. Double checked hidden files as well.

wysota
6th January 2010, 08:35
Call it by full name (make.bat) and see if cmd finds it anywhere.

freekill
8th January 2010, 16:26
Call it by full name (make.bat) and see if cmd finds it anywhere.
cmd couldn't find it either.