I'm working under the assumption that mesa provides libGL. If not, please tell me who does provide it (hardware specific). I am building mesa for a Phytec module for an i.MX6 development board. I downloaded the recipes-graphics/mesa/mesa_%.bbappend and bitbaked mesa. As long as I delete the tmp directory and deploy directory, the build completes successfully. However, when I tried to build FreeGLUT, I was told that libGL did not exist when it tries to build libGLU. The actual message is "cannot find -lGL". I can provide the log output, but it doesn't provide much additional information. I tried to find the library location with find . -name libGL.so No files were found (and the command should have found libGL.so.* matches.)
(In reply to Pat Sandt from comment #0) > I'm working under the assumption that mesa provides libGL. If not, please > tell me who does provide it (hardware specific). I am building mesa for a > Phytec module for an i.MX6 development board. I downloaded the > recipes-graphics/mesa/mesa_%.bbappend and bitbaked mesa. As long as I delete > the tmp directory and deploy directory, the build completes successfully. > However, when I tried to build FreeGLUT, I was told that libGL did not exist > when it tries to build libGLU. The actual message is "cannot find -lGL". Does it configure GL support to be built, or only GLES? Did your build log have a line where Mesa configure outputs: OpenGL: yes And if yes, did the log have a line about installing libGL? Did you run ldconfig so that dynamic linker knows about the new library? I > can provide the log output, but it doesn't provide much additional > information. I tried to find the library location with > > find . -name libGL.so > No files were found (and the command should have found libGL.so.* matches.) To match libGL.so.*, you should use: "find . -name 'libGL.so*'". For general help on building Mesa, mesa mailing list would be better than Bugzilla. But as your issue seems to be with bitbake Mesa recipe, I think you should contact the recipe author.
Hi Pat, I'm not sure how one can help with {bitbake,yocto,other} build recipe considering there's no link to one ;-) That said, traditionally vendors are the ones who provide their individual libGL.so and/or other modules, although that is about to change with GLVND. Going through configure --help is strongly recommended, as in there you'll see amongst others that your platform isn't yet in the supported list ;-)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.