Hmm, I would have sworn this was in the build setup guide earlier this year... I believe this blog post touches on all of the salient points nicely:
http://rishav006.wordpress.com/2014/05/19/how-to-build-b2g-emulator-in-linux-environment/ If you've already installed the necessary packages, it is likely the symlinks you are missing. ----- Original Message ----- From: [email protected] To: [email protected] Sent: Wednesday, October 29, 2014 4:11:45 PM Subject: [b2g] building emulator - /usr//bin/usr/ld:bin /cannotld :find -cannotlGL host SharedLib: libGLES_V2_translator (out/host/linux-x86/obj/lib/libGLES_V2_translator.so) /usr/bin/ld: cannot find -lGL Hello all, I'm trying to build the emulator with ubuntu 14.04, but I get an error. I did: ./config.sh emulator then: ./build.sh the error: host SharedLib: libGLES_CM_translator (out/host/linux-x86/obj/lib/libGLES_CM_translator.so) host SharedLib: libEGL_translator (out/host/linux-x86/obj/lib/libEGL_translator.so) true host SharedLib: libGLES_V2_translator (out/host/linux-x86/obj/lib/libGLES_V2_translator.so) /usr/bin/ld: cannot find -lGL collect2: ld returned 1 exit status make: *** [out/host/linux-x86/obj/lib/libGLES_V2_translator.so] Error 1 make: *** Waiting for unfinished jobs.... /usr//bin/usr/ld:bin /cannotld :find -cannotlGL find -lGL collect2: ld returned 1 exit status collect2: ld returned 1 exit status make: *** [out/host/linux-x86/obj/lib/libGLES_CM_translator.so] Error 1 make: *** [out/host/linux-x86/obj/lib/libEGL_translator.so] Error 1 true true Profile Ready: please run [b2g|firefox] -profile /home/tessawill/ANDROID/B2G/gaia/profile make[1]: Leaving directory `/home/tessawill/ANDROID/B2G/gaia' real 18m43.990s user 36m46.225s sys 6m16.773s > Build failed! < any help would be appreciated! _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
