Page 1 of 1

Can not compile a C++ project - failure with mingw32-make.exe

Posted: Fri Nov 02, 2018 2:29 pm
by ledi001
Hi,
today i installed MinGW and codeLite (version 12.0.0) on my desktop and notebook.
I use Win7 (64Bit) and i also set the environment variable to the path with C:\MinGW\bin.

On my desktop codeLite works!
On my notebook unfortunatley not :-(

This is the message which i get if i want to compile a c++ code:

C:\Windows\system32\cmd.exe /C C:/MinGW/bin/mingw32-make.exe -j4 SHELL=cmd.exe -e -f Makefile
"----------Building project:[ test1 - Debug ]----------"
mingw32-make.exe[1]: Entering directory 'C:/Users/username/Documents/cppWorkspace/test1'
The command "makedir" is written false or could not found.
mingw32-make.exe[1]: *** [Debug/.d] Error 1
mingw32-make.exe[1]: *** Waiting for unfinished jobs....
test1.mk:88: recipe for target 'Debug/.d' failed
<built-in>: fatal error: opening dependency file ./Debug/main.cpp.o.d: No such file or directory
compilation terminated.
mingw32-make.exe[1]: *** [Debug/main.cpp.o.d] Error 1
mingw32-make.exe: *** [All] Error 2
test1.mk:99: recipe for target 'Debug/main.cpp.o.d' failed
mingw32-make.exe[1]: Leaving directory 'C:/Users/username/Documents/cppWorkspace/test1'
Makefile:4: recipe for target 'All' failed
====1 errors, 0 warnings====

Hope, somebody can help!

Re: Can not compile a C++ project - failure with mingw32-make.exe

Posted: Sat Nov 03, 2018 1:23 pm
by neildarlow
The error is:

Code: Select all

The command "makedir" is written false or could not found.
I don't know how that has come about. On Linux type systems it would be mkdir and on Windows it would be md. The error message doesn't look grammatically correct but I would investigate the Makefile and the project settings which create it.