我已经从 ubuntu 11.10 升级到 ubuntu 12.04。之后,我尝试编译android源代码。
但这是我得到的错误:
/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'吗?
谢谢你。