我对编程还很陌生,并且大多使用文本文件进行编程,但是现在应该开始使用CodeLite进行分配了。我正在使用Windows 10 64位。

问题是我似乎无法使我的编译器在Codelite中工作,我收到的错误消息是:

C:\WINDOWS\system32\cmd.exe /C C:/TDM-GCC-32/bin/mingw32-make.exe -j4 SHELL=cmd.exe -e -f  Makefile
"----------Building project:[ hello - Debug ]----------"
mingw32-make.exe[1]: Entering directory 'C:/codelitews/hello'
'makedir' is not recognized as an internal or external command, operable program or batch file.
mingw32-make.exe[1]: *** [Debug/.d] Error 1
mingw32-make.exe[1]: *** Waiting for unfinished jobs....
hello.mk:88: recipe for target 'Debug/.d' failed
built-in: fatal error: opening dependency file ./Debug/main.c.o.d: No such file or directory
compilation terminated.
mingw32-make.exe[1]: *** [Debug/main.c.o.d] Error 1
hello.mk:99: recipe for target 'Debug/main.c.o.d' failed
mingw32-make.exe[1]: Leaving directory 'C:/codelitews/hello'
mingw32-make.exe: *** [All] Error 2
Makefile:4: recipe for target 'All' failed

====1 errors, 0 warnings====

而且我无法弄清楚这意味着什么以及为什么会发生,因为同一个编译器可以很好地与代码块一起工作。我曾尝试使用Google搜索此问题,但未发现有用的信息。帮助将不胜感激。

谢谢。

最佳答案

CodeLite应该能够识别makedir.exe,它位于与您安装codelite.exe相同的文件夹下

如果不是,则表示发生了严重错误,通常是在您不知道自己在做什么的情况下开始修改PATH环境变量时发生的。

能否请您粘贴环境变量的内容(从CodeLite内部)。从主菜单转到:设置->环境变量,然后在此处粘贴文本框的内容

伊朗

10-06 13:31