看板 C_and_CPP 關於我們 聯絡資訊
開發平台(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
wtchen: 英文看不懂嗎? 02/12 21:13
chrishappy11: 樓上很嗆噢... 02/12 21:27
Ommm5566: There is no Makefile in this directory 02/12 21:29
Ommm5566: 還是值得鼓勵 至少比之前的通靈文好 02/12 21:29
loveflames: 不能make是因為沒有Makefile,如果有configure這個檔 02/12 22:07
loveflames: 案就執行它,參數請自己google,會產生Makefile檔 02/12 22:07
loveflames: 如果都沒有就找該目錄有無script,都沒有的話看你要 02/12 22:08
loveflames: 不要裝autoconf,會自動產生這些檔案 02/12 22:08
loveflames: 另外教你一個快速找檔案字串的訣竅,find|xargs grep 02/12 22:10
loveflames: 字串,可以搭配一連串pipe 02/12 22:10
謝謝這位高手,有建設性多了
takesi5200: 不明白上面是在噓什麼的... 02/12 22:11
※ 編輯: better4532 (125.231.50.57), 02/12/2018 22:13:00
loveflames: 在linux編譯這個算超簡單的問題了,需要找第三方lib 02/12 22:12
loveflames: 時才叫頭大 02/12 22:13
loveflames: 如果你覺得搞make很麻煩的話,也是可以用g++指令直接 02/12 22:19
loveflames: 硬幹 02/12 22:19
Bencrie: 其實我覺得找人帶你學怎麼用toolchain 和簡單的 Makefile 02/13 00:10
Bencrie: 比較好。直上 autoconf 專案會全身皺摺吧 XD 02/13 00:15