2015-11-06 70 views
0

我对编程相当陌生,主要使用textfiles进行编程,但现在我应该开始使用CodeLite进行任务。我正在使用Windows 10 64位。如何让我的编译器在codelite中工作? (它适用于代码块)

的问题是,我似乎无法让我的编译器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搜索这个问题,但没有找到有用的东西。帮助将不胜感激。

谢谢。

+1

你应该使用'mkdir',而不是'makedir' – 2015-11-06 12:39:02

+0

尝试,如果有任何其他错误报告它 – 2015-11-06 12:39:33

+1

学习在命令行上编译一个单一文件 –

回答

0

CodeLite应该能够识别makedir.exe它位于您安装codelite.exe

如果没有,那么就意味着什么可怕的了错误的文件夹下,一般出现这种情况,当你开始修改PATH环境变量不知道你在做什么。

您可以粘贴环境变量的内容(从CodeLite中)。从主菜单,请访问:设置 - >环境变量,在这里粘贴文本框的内容

叶兰