I am just learning C++ via Codelite, which was updated on 01/11. After updating to the latest version, 17.0.0, I get the error
process_begin: CreateProcess(NULL, makedir Debug, ...) failed.
mingw32-make[1]: *** [AssignmentOperator.mk:90: Debug/.d] Error 2,
mingw32-make: *** [Makefile:5: All] Error 2
when I run a simple code.
#include <iostream> int main(){ std::cout<<"Hello"<<std::endl; return 0; }
and get nothing in the terminal window.
How can I fix this problem? Thanks a lot.
I guess the probrem occured since the updating of Codelite, but I have no idea how to fix it.
Looks like a an old relic that was not handled properly during upgrade.
This can be fixed in 2 ways:
mkdir
command as defined by your compiler setup:Settings -> build settings
and select your compiler from the listTools
tabmkdir
Replace the content with the mkdir
that comes with CodeLite, for example, if you have installed CodeLite under C:\Program Files\CodeLite
(the default path), set it to
"C:/Program Files/CodeLite/mkdir.exe" -p
Notice the double quotes around the command itself
General
tab, under the Makefile Generator
change the selection from Default
-> CodeLite Makefile Generator