作者billmin (hahaha)
看板AndroidDev
標題[問題] build source code遇到的怪問題
時間Wed Mar 30 21:17:40 2011
開發層: (應用/框架/庫/核心)
核心
問題:
build android source code遇到怪問題
輸入:
預期輸出:
錯誤輸出:
錯誤訊息:
out/host/linux-x86/obj/EXECUTABLES/simulator_intermediates/DeviceWindow.o: In
function `DeviceWindow::OnUserEvent(UserEvent&)':
/home/chiming/mydroid/development/simulator/app/DeviceWindow.cpp:175:
undefined reference to `wxImage::HasAlpha() const'
out/host/linux-x86/obj/EXECUTABLES/simulator_intermediates/MainFrame.o: In
function `MainFrame::CreateDeviceMenu(char const*)':
/home/chiming/mydroid/development/simulator/app/MainFrame.cpp:280: undefined
reference to `wxMenuBase::AppendSeparator()'
out/host/linux-x86/obj/EXECUTABLES/simulator_intermediates/MainFrame.o: In
function `MainFrame::ConstructMenu()':
/home/chiming/mydroid/development/simulator/app/MainFrame.cpp:239: undefined
reference to `wxMenuBase::AppendSeparator()'
collect2: ld returned 1 exit status
程式碼: (請多利用置底文網站)
參考: (書籍/網頁/...)
補充說明:
我在build android source code時候遇到上面的錯誤訊息
我根據simulator底下的android.mk的指示下"sudo apt-get install libwxgtk2.6-dev"
然後下載了libwxgtk 不過仍然有問題
上google找也找不出所以然 不知是否有前輩也遇過類似的問題
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.36.164.227
1F:推 nowar100:你 lunch 不要選 simulator 我記得那應該是爛的吧 03/30 23:59
2F:→ nowar100:選full_x86_eng 之類的 03/31 00:00
3F:→ billmin:了解 我再試著用別的方式build code好了 04/02 07:36