2015-11-06 65 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中)。從主菜單,請訪問:設置 - >環境變量,在這裏粘貼文本框的內容

葉蘭