Can not compile a C++ project - failure with mingw32-make.exe
Posted: 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!
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!