How to generate SDK for imx6dl with OpenGL using Yocto

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to generate SDK for imx6dl with OpenGL using Yocto

ソリューションへジャンプ
3,877件の閲覧回数
antoinec
Contributor I

Using Yocto, I am trying to build a Linux image with Open GL and the corresponding SDK to build an application for this image.

I have an error when building the application. The file GL/gl.h cannot be found in the SDK directory (/opt/poky/1.7.3). I only have the following files:

  • ./sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/gstreamer-1.0/gst/gl/gl.h
  • ./sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/GLES/gl.h
  • ./sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/src/debug/mesa/2_10.1.3-r0/Mesa-10.1.3/include/GL/gl.h

So GL/gl.h is not in the /usr/include diredctoryIn Yocto build directory, there are GL/gl.h files:

  • ./tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/mesa/2_10.1.3-r0/sysroot-destdir/usr/include/GL/gl.h
  • ./tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/mesa/2_10.1.3-r0/packages-split/mesa-dbg/usr/src/debug/mesa/2_10.1.3-r0/Mesa-10.1.3/include/GL/gl.h
  • ./tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/mesa/2_10.1.3-r0/packages-split/libgl-mesa-dev/usr/include/GL/gl.h
  • ./tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/mesa/2_10.1.3-r0/package/usr/src/debug/mesa/2_10.1.3-r0/Mesa-10.1.3/include/GL/gl.h
  • ./tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/mesa/2_10.1.3-r0/package/usr/include/GL/gl.h
  • ./tmp/work/imx6dlgpr-poky-linux-gnueabi/gpr3/1.0-r0/sdk/image/opt/poky/1.7.3/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/src/debug/mesa/2_10.1.3-r0/Mesa-10.1.3/include/GL/gl.h

I build the sdk with the following command:

bitbake fsl-image-multimedia-full -c populate_sdk 

What do I have to do to found the GL/gl.h files in the SDK include directory? In my local.conf file I added:

DISTRO_FEATURES_remove = "x11 wayland"
DISTRO_FEATURES_append = " opengl" 

If I add mesa-gl in the DISTRO_FEATURES_append, I have error saying mesa-gl try to install files that already exist

Any help whould be welcome. Thanks

タグ(3)
0 件の賞賛
返信
1 解決策
1,991件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

https://www.mail-archive.com/search?l=meta-freescale@yoctoproject.org&q=subject:%22%5C%5Bmeta%5C-fre...

How do we natively compile GPU and VPU support on i.MX6 CuBox platform


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

1 返信
1,992件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

https://www.mail-archive.com/search?l=meta-freescale@yoctoproject.org&q=subject:%22%5C%5Bmeta%5C-fre...

How do we natively compile GPU and VPU support on i.MX6 CuBox platform


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------