2012-05-30 104 views
3

我已經從ubuntu 11.10升級到Ubuntu 12.04。 之後,我嘗試編譯android源代碼。/usr/bin/ld:從ubuntu 11.10升級到12.04後找不到-lGL

但這是錯誤,我得到:

/usr/bin/ld: cannot find -lGL 
collect2: ld returned 1 exit status 
make: *** [out/host/linux-x86/obj/EXECUTABLES/triangleCM_intermediates/triangleCM] Error 1 
make: *** Waiting for unfinished jobs.... 
host Executable: triangleV2 (out/host/linux-x86/obj/EXECUTABLES/triangleV2_intermediates/triangleV2) 
/usr/bin/ld: cannot find -lGL 
collect2: ld returned 1 exit status 
make: *** [out/host/linux-x86/obj/EXECUTABLES/triangleV2_intermediates/triangleV2] Error 1 
true 

能否請你告訴我,我需要爲了解決安裝哪個庫「-lGL」?

謝謝。

+0

請參閱http://superuser.com/questions/310314/ubuntu-11-04-recent-x11-update-broke-opengl –

回答

相關問題