[問題] Linux KDevelop wxWidgets C++的問題

看板C_and_CPP作者 (better)時間7年前 (2018/02/12 20:43), 7年前編輯推噓1(3212)
留言17則, 6人參與, 7年前最新討論串1/1
開發平台(Platform): (Ex: Win10, Linux, ...) Linux RedHat5 編譯器(Ex: GCC, clang, VC++...)+目標環境(跟開發平台不同的話需列出) KDevelop 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...) wxWidgets form 問題(Question): 不好意思,不知道該不該在這裡問... 小弟我在Linux redHat 5 使用KDevelop,用個C++ wxWidgets下的[Hello World] 直接Build project 就發生錯誤 There is no Makefile in this directory and no configure script for this project. Run automake & friends and configure first? 請問有人知道這個問題嗎? 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 125.231.50.57 ※ 文章網址: https://www.ptt.cc/bbs/C_and_CPP/M.1518439395.A.0DF.html

02/12 21:13, 7年前 , 1F
英文看不懂嗎?
02/12 21:13, 1F

02/12 21:27, 7年前 , 2F
樓上很嗆噢...
02/12 21:27, 2F

02/12 21:29, 7年前 , 3F
There is no Makefile in this directory
02/12 21:29, 3F

02/12 21:29, 7年前 , 4F
還是值得鼓勵 至少比之前的通靈文好
02/12 21:29, 4F

02/12 22:07, 7年前 , 5F
不能make是因為沒有Makefile,如果有configure這個檔
02/12 22:07, 5F

02/12 22:07, 7年前 , 6F
案就執行它,參數請自己google,會產生Makefile檔
02/12 22:07, 6F

02/12 22:08, 7年前 , 7F
如果都沒有就找該目錄有無script,都沒有的話看你要
02/12 22:08, 7F

02/12 22:08, 7年前 , 8F
不要裝autoconf,會自動產生這些檔案
02/12 22:08, 8F

02/12 22:10, 7年前 , 9F
另外教你一個快速找檔案字串的訣竅,find|xargs grep
02/12 22:10, 9F

02/12 22:10, 7年前 , 10F
字串,可以搭配一連串pipe
02/12 22:10, 10F
謝謝這位高手,有建設性多了

02/12 22:11, 7年前 , 11F
不明白上面是在噓什麼的...
02/12 22:11, 11F
※ 編輯: better4532 (125.231.50.57), 02/12/2018 22:13:00

02/12 22:12, 7年前 , 12F
在linux編譯這個算超簡單的問題了,需要找第三方lib
02/12 22:12, 12F

02/12 22:13, 7年前 , 13F
時才叫頭大
02/12 22:13, 13F

02/12 22:19, 7年前 , 14F
如果你覺得搞make很麻煩的話,也是可以用g++指令直接
02/12 22:19, 14F

02/12 22:19, 7年前 , 15F
硬幹
02/12 22:19, 15F

02/13 00:10, 7年前 , 16F
其實我覺得找人帶你學怎麼用toolchain 和簡單的 Makefile
02/13 00:10, 16F

02/13 00:15, 7年前 , 17F
比較好。直上 autoconf 專案會全身皺摺吧 XD
02/13 00:15, 17F
文章代碼(AID): #1QWOlZ3V (C_and_CPP)