查看完整版本: ld returned 1 exit status
頁: [1]

a91337a 發表於 2017-4-14 02:29 PM

ld returned 1 exit status

使用DEVC++常會出現 ld returned 1 exit status 都說是因為DOS多重顯示關係,可是我沒開阿而且重灌也是一樣求高手幫解決{:37:}<div></div>

o_g349 發表於 2017-9-13 11:17 AM

ld returned 1 exit status 代表連結器 (ld) 無法把你的目的檔 (.obj) 連結成執行檔,也就是連結失敗,引發連結失敗的可能有很多,像是沒寫 main() 函數,或者檔案因為權限關係無法存取,你還是要把整份錯誤訊息貼出來,不然不知道真正的問題在哪裡
頁: [1]