2009-06-03 93 views
1

我有很多C文件,並且我已經使用makefile通過命令行使用Visual Studio 2005構建它。 所有的目標文件都能正確生成,並且鏈接過程也可以正常工作,但不會生成最終的* .exe。在最後一行,下面是錯誤。我一點都沒懂。有誰能夠幫助我?出錯 - 我該如何解決這個問題?

以下是錯誤:

 
process_begin: CreateProcess((null), /link /nologo /subsystem:console /o uartsim.exe xtmpmain.obj ua 
rtsim.obj fiber_driver.obj xtmp_options.obj getopt.obj D:\usr\xtensa\XtDevToolsDE\install\tools\RB-2 
008.4-win32\XtensaTools\lib\iss\xtmp.lib, ...) failed. 
make (e=2): The system cannot find the file specified. 
make.exe: *** [uartsim.exe] Error 2 

回答

1

製作找不到uartsim.exe文件。它不在您的計算機上,或者它不在您的PATH中。

嘗試查找文件,檢查文件路徑是如何傳遞給Visual Studio(環境變量,絕對路徑,只是可執行文件名)。如果它只是可執行文件的名稱,這意味着你必須已經在你的PATH中使它可用。

+0

但由於上述錯誤,uartsim.exe如何產生? 在我的計算機中沒有uartsim.exe ..我的目標是生成uartsim.exe .. – 2009-06-03 13:17:54