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

CodeLite installation/troubleshooting forum
ledi001
CodeLite Curious
Posts: 1
Joined: Fri Nov 02, 2018 2:17 pm
Genuine User: Yes
IDE Question: c++
Contact:

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

Post by ledi001 » Fri Nov 02, 2018 2:29 pm

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!

neildarlow
CodeLite Enthusiast
Posts: 16
Joined: Wed Oct 31, 2018 2:16 pm
Genuine User: Yes
IDE Question: C++
Location: United Kingdom
Contact:

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

Post by neildarlow » Sat Nov 03, 2018 1:23 pm

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.

Post Reply