Yocto Application Development Using Eclipse IDE

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Yocto Application Development Using Eclipse IDE

Yocto Application Development Using Eclipse IDE

  1. INTRODUCTION
  2. REQUIREMENTS
  3. CREATE A NEW PROJECT
  4. GPU EXAMPLE
  5. GSTREAMER EXAMPLE

1. INTRODUCTION:

     The below steps show how to create different application examples using Elipse IDE.

2. REQUIREMENTS:

  

     To demonstrate the steps, L3.14.28  BSP, fsl-image-qt5 image and i.MX6Q SABRE-SDP board were used.

3. CREATE A NEW PROJECT

     Follow the section Creating a Hello World Project of this document Setting up the Eclipse IDE for Yocto Application Development

4. GPU EXAMPLE

          For this project we use the source code found in the fsl-gpu-sdk that can be downloaded from:

     https://www.freescale.com/webapp/Download?colCode=IMX6_GPU_SDK&location=null&Parent_nodeId=133763715...

  •      Follow section 3 and create a new project named gputest.
  •      From the IMX6_GPU_SDK choose one of the examples of GLES2.0 folder. In this case the 01_SimpleTriangle is chosen.
  •      Copy the .c and .h files to the src directory of the gputest project. The Project Explorer window should look like this:

          pastedImage_14.png

  •    Add the needed files and libraries to compile and link in the Makefile.am file found in the ´src´ folder. The Makefile.am file should have the below content:

         bin_PROGRAMS = gputest

         gputest_SOURCES = gputest.c fsl_egl.c fslutil.c

         AM_CFLAGS = @gputest_CFLAGS@

         AM_LDFLAGS = @gputest_LIBS@ -lstdc++ -lm -lGLESv2 -lEGL -lX11 -ldl

         CLEANFILES = *~

  • ​    Add the PATH to CFLAGS where the compiler will look for the headers at Project->Properties->Autotools->configure:

          In this project there is no need to add extra PATHs for the headers.

pastedImage_1.png

  • Apply the changes by clicking on Reconfigure Project.
  • Build the project
  • To test the file you can send the executable to the board with:

    

     $ scp gputest root@<board_ip>:/home/root

     $./gputest

     You should get the next output in the display:

pastedImage_1.png

5. GSTREAMER EXAMPLE

    

For this project we use the source code found at Basic tutorial 1: Hello world! - GStreamer SDK documentation - GStreamer SDK documentation

  •    Follow section 3 and create a new project named Gstreamer.
  •    Copy the code of the basic tutorial to your Gstreamer.c file.
  •    Add the needed files and libraries to compile and link in the Makefile.am file found in the ´src´ folder. The Makefile.am file should have the below content:

                    

     bin_PROGRAMS = Gstreamer

     Gstreamer_SOURCES = Gstreamer.c

     AM_CFLAGS = @Gstreamer_CFLAGS@

     AM_LDFLAGS = @Gstreamer_LIBS@ -lstdc++  -lVDK -lm -lGLESv2 -lGAL -lEGL  -ldl -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0

     CLEANFILES = *~

       

  • ​    Add the PATH to CFLAGS where the compiler will look for the headers at Project->Properties->Autotools->configure:

          For this example the next lines are added

    

       -I${Sysroot}/usr/include/gstreamer-1.0

       -I${Sysroot}/usr/include/glib-2.0

       -I${Sysroot}/usr/include/libxml2

       -I${Sysroot}/usr/lib/glib-2.0/include

     pastedImage_5.png

  • Apply the changes by clicking on Reconfigure Project.
  • Build the project
  • To test the file you can send the executable to the board with:

    

     $ scp Gstreamer root@<board_ip>:/home/root

  • To execute the application on the board:

     $./Gstreamer

The board should have internet access and the application should play the video found at http://docs.gstreamer.com/media/sintel_trailer-480p.webm

Comments

I have follow above tutorial, it was showing "Missing PROG dlltool", "Missing arm-poky-linux-gnueabi-mt", "Missing arm-poky-linux-gnueabi-dlltool", what could be error@alejandrolozano

How to create a shared libray or a static library using Eclipse IDE in the Yocto project.

I want to create those, but failed.

Hi all,

I am working with a SABRESD with an iMX6SX.

I am able to cross compile the gputest example in Eclipse and everything seems to be OK.

However, when I try to execute the resulting file from the target, I get the following error:

init: Assertion `eglNativeWindow' failed.

Aborted

Has anybody found a similar situation? I am using X11.

Thank you in advance for your collaboration.

Best regards,

Alvaro Martinez

I have been able to fix the problem.

I just had to add #define EGL_USE_X11 in fsl_egl.c and everything seems to work.

It is a very helpful post, thank you very much alejandro lozano!

BR

%3CLINGO-SUB%20id%3D%22lingo-sub-1111047%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EYocto%20Application%20Development%20Using%20Eclipse%20IDE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1111047%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3COL%3E%3CLI%3E%3CSTRONG%3EINTRODUCTION%3C%2FSTRONG%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EREQUIREMENTS%3C%2FSTRONG%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3ECREATE%20A%20NEW%20PROJECT%3C%2FSTRONG%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EGPU%20EXAMPLE%3C%2FSTRONG%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EGSTREAMER%20EXAMPLE%3CBR%20%2F%3E%3C%2FSTRONG%3E%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E1.%20INTRODUCTION%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20The%20below%20steps%20show%20how%20to%20create%20different%20application%20examples%20using%20Elipse%20IDE.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E2.%20REQUIREMENTS%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20A%20fully%20working%20image%20and%20meta-toolchain%20generated%20in%20Yocto%20.%20You%20can%20follow%20the%26nbsp%3B%20next%20training%3A%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Fdocs%2FDOC-94849%22%20target%3D%22_blank%22%3EYocto%20Training%20-%20HOME%3C%2FA%3E%3C%2FLI%3E%3CLI%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Install%20and%20configure%20the%20Yocto%20Eclipse%20Plug-in.%20For%20more%20details%20about%20this%20requirement%20please%20refer%20to%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Fdocs%2FDOC-172840%22%20target%3D%22_blank%22%3ESetting%20up%20the%20Eclipse%20IDE%20for%20Yocto%20Application%20Development%3C%2FA%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20To%20demonstrate%20the%20steps%2C%20%3CEM%3E%3CSTRONG%3EL3.14.28%3C%2FSTRONG%3E%3C%2FEM%3E%26nbsp%3B%20BSP%2C%20%3CEM%3E%3CSTRONG%3Efsl-image-qt5%3C%2FSTRONG%3E%3C%2FEM%3E%3CSTRONG%3E%20%3C%2FSTRONG%3Eimage%20and%20%3CSTRONG%3Ei.MX6Q%20SABRE-SDP%3C%2FSTRONG%3E%20board%20were%20used.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E3.%20CREATE%20A%20NEW%20PROJECT%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Follow%20the%20section%20%3CSTRONG%3ECreating%20a%20Hello%20World%20Project%20%3C%2FSTRONG%3Eof%20this%20document%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Fdocs%2FDOC-172840%22%20target%3D%22_blank%22%3ESetting%20up%20the%20Eclipse%20IDE%20for%20Yocto%20Application%20Development%3C%2FA%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E4.%20GPU%20EXAMPLE%3CBR%20%2F%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20For%20this%20project%20we%20use%20the%20source%20code%20found%20in%20the%20fsl-gpu-sdk%20that%20can%20be%20downloaded%20from%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CA%20href%3D%22https%3A%2F%2Fwww.freescale.com%2Fwebapp%2FDownload%3FcolCode%3DIMX6_GPU_SDK%26amp%3Blocation%3Dnull%26amp%3BParent_nodeId%3D1337637154535695831062%26amp%3BParent_pageType%3Dproduct%26amp%3BParent_nodeId%3D1337637154535695831062%26amp%3BParent_pageType%3Dproduct%26amp%3BParent_nodeId%3D1337637154535695831062%26amp%3BParent_pageType%3Dproduct%26amp%3BParent_nodeId%3D1337637154535695831062%26amp%3BParent_pageType%3Dproduct%22%20title%3D%22https%3A%2F%2Fwww.freescale.com%2Fwebapp%2FDownload%3FcolCode%3DIMX6_GPU_SDK%26amp%3Blocation%3Dnull%26amp%3BParent_nodeId%3D1337637154535695831062%26amp%3BParent_pageType%3Dproduct%26amp%3BParent_nodeId%3D1337637154535695831062%26amp%3BParent_pageType%3Dproduct%26amp%3BParent_nodeId%3D1337637154535695831062%26amp%3BParent_pageType%3Dproduct%26amp%3BParent_nodeId%3D1337637154535695831062%26amp%3BParent_pageType%3Dproduct%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fwww.freescale.com%2Fwebapp%2FDownload%3FcolCode%3DIMX6_GPU_SDK%26amp%3Blocation%3Dnull%26amp%3BParent_nodeId%3D1337637154535695831062%26amp%3BParent%E2%80%A6%3C%2FA%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Follow%20section%203%20and%20create%20a%20new%20project%20named%20gputest.%3C%2FLI%3E%3CLI%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20From%20the%20IMX6_GPU_SDK%20choose%20one%20of%20the%20examples%20of%20GLES2.0%20folder.%20In%20this%20case%20the%2001_SimpleTriangle%20is%20chosen.%3C%2FLI%3E%3CLI%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Copy%20the%20.c%20and%20.h%20files%20to%20the%20src%20directory%20of%20the%20gputest%20project.%20The%20Project%20Explorer%20window%20should%20look%20like%20this%3A%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_14.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_14.png%22%20style%3D%22width%3A%20425px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F53859i0EEF658C9E475108%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pastedImage_14.png%22%20alt%3D%22pastedImage_14.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%20Add%20the%20needed%20files%20and%20libraries%20to%20compile%20and%20link%20in%20the%20Makefile.am%20file%20found%20in%20the%20%C2%B4src%C2%B4%20folder.%20The%20Makefile.am%20file%20should%20have%20the%20below%20content%3A%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%232873ee%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20bin_PROGRAMS%20%3D%20gputest%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%232873ee%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20gputest_SOURCES%20%3D%20gputest.c%20fsl_egl.c%20fslutil.c%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%232873ee%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20AM_CFLAGS%20%3D%20%40gputest_CFLAGS%40%40%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%232873ee%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20AM_LDFLAGS%20%3D%20%40gputest_LIBS%40%20-lstdc%2B%2B%20-lm%20-lGLESv2%20-lEGL%20-lX11%20-ldl%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%232873ee%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20CLEANFILES%20%3D%20*~%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3E%E2%80%8B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Add%20the%20PATH%20to%20CFLAGS%20where%20the%20compiler%20will%20look%20for%20the%20headers%20at%20Project-%26gt%3BProperties-%26gt%3BAutotools-%26gt%3Bconfigure%3A%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20In%20this%20project%20there%20is%20no%20need%20to%20add%20extra%20PATHs%20for%20the%20headers.%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_1.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_1.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F55219i92A707880F82BE9F%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pastedImage_1.png%22%20alt%3D%22pastedImage_1.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3EApply%20the%20changes%20by%20clicking%20on%20Reconfigure%20Project.%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3EBuild%20the%20project%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3ETo%20test%20the%20file%20you%20can%20send%20the%20executable%20to%20the%20board%20with%3A%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%24%20scp%20gputest%20root%40%3CBOARD_IP%3E%3A%2Fhome%2Froot%3C%2FBOARD_IP%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%24.%2Fgputest%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20You%20should%20get%20the%20next%20output%20in%20the%20display%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_1.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_1.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F55221iA48B47F5736115A0%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pastedImage_1.png%22%20alt%3D%22pastedImage_1.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3E%3CSTRONG%3E5.%20GSTREAMER%20EXAMPLE%3CBR%20%2F%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EFor%20this%20project%20we%20use%20the%20source%20code%20found%20at%20%3CA%20href%3D%22http%3A%2F%2Fdocs.gstreamer.com%2Fpages%2Fviewpage.action%3FpageId%3D327735%22%20title%3D%22http%3A%2F%2Fdocs.gstreamer.com%2Fpages%2Fviewpage.action%3FpageId%3D327735%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EBasic%20tutorial%201%3A%20Hello%20world!%20-%20GStreamer%20SDK%20documentation%20-%20GStreamer%20SDK%20documentation%3C%2FA%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%26nbsp%3B%26nbsp%3B%20Follow%20section%203%20and%20create%20a%20new%20project%20named%20Gstreamer.%3C%2FLI%3E%3CLI%3E%26nbsp%3B%26nbsp%3B%20Copy%20the%20code%20of%20the%20basic%20tutorial%20to%20your%20Gstreamer.c%20file.%3C%2FLI%3E%3CLI%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%20Add%20the%20needed%20files%20and%20libraries%20to%20compile%20and%20link%20in%20the%20Makefile.am%20file%20found%20in%20the%20%C2%B4src%C2%B4%20folder.%20The%20Makefile.am%20file%20should%20have%20the%20below%20content%3A%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%232873ee%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%20%3CSPAN%20style%3D%22color%3A%20%234fcddc%3B%22%3E%26nbsp%3B%26nbsp%3B%20%3CSPAN%20style%3D%22color%3A%20%232873ee%3B%22%3Ebin_PROGRAMS%20%3D%20Gstreamer%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%232873ee%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Gstreamer_SOURCES%20%3D%20Gstreamer.c%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%232873ee%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20AM_CFLAGS%20%3D%20%40Gstreamer_CFLAGS%40%40%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%232873ee%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20AM_LDFLAGS%20%3D%20%40Gstreamer_LIBS%40%20-lstdc%2B%2B%26nbsp%3B%20-lVDK%20-lm%20-lGLESv2%20-lGAL%20-lEGL%26nbsp%3B%20-ldl%20-lgstreamer-0.10%20-lgobject-2.0%20-lgmodule-2.0%20-lgthread-2.0%20-lrt%20-lxml2%20-lglib-2.0%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%232873ee%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20CLEANFILES%20%3D%20*~%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%232873ee%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSPAN%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3E%E2%80%8B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Add%20the%20PATH%20to%20CFLAGS%20where%20the%20compiler%20will%20look%20for%20the%20headers%20at%20Project-%26gt%3BProperties-%26gt%3BAutotools-%26gt%3Bconfigure%3A%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20For%20this%20example%20the%20next%20lines%20are%20added%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CSPAN%20style%3D%22color%3A%20%232873ee%3B%22%3E-I%24%7BSysroot%7D%2Fusr%2Finclude%2Fgstreamer-1.0%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%232873ee%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20-I%24%7BSysroot%7D%2Fusr%2Finclude%2Fglib-2.0%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%232873ee%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20-I%24%7BSysroot%7D%2Fusr%2Finclude%2Flibxml2%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%232873ee%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20-I%24%7BSysroot%7D%2Fusr%2Flib%2Fglib-2.0%2Finclude%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_5.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_5.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F55226i0E021B5ECA6BBB79%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pastedImage_5.png%22%20alt%3D%22pastedImage_5.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3EApply%20the%20changes%20by%20clicking%20on%20Reconfigure%20Project.%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3EBuild%20the%20project%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3ETo%20test%20the%20file%20you%20can%20send%20the%20executable%20to%20the%20board%20with%3A%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%24%20scp%20Gstreamer%20root%40%3CBOARD_IP%3E%3A%2Fhome%2Froot%3C%2FBOARD_IP%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3ETo%20execute%20the%20application%20on%20the%20board%3A%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%24.%2FGstreamer%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%23303030%3B%22%3EThe%20board%20should%20have%20internet%20access%20and%20the%20application%20should%20play%20the%20video%20found%20at%20%3CA%20href%3D%22http%3A%2F%2Fdocs.gstreamer.com%2Fmedia%2Fsintel_trailer-480p.webm%22%20title%3D%22http%3A%2F%2Fdocs.gstreamer.com%2Fmedia%2Fsintel_trailer-480p.webm%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehttp%3A%2F%2Fdocs.gstreamer.com%2Fmedia%2Fsintel_trailer-480p.webm%3C%2FA%3E%20%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1111047%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3Ei.MX6_All%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ei.MX6DL%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ei.MX6Dual%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ei.MX6Quad%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ELinux%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1111051%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Yocto%20Application%20Development%20Using%20Eclipse%20IDE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1111051%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20have%20been%20able%20to%20fix%20the%20problem.%20%3C%2FP%3E%3CP%3EI%20just%20had%20to%20add%20%23define%20EGL_USE_X11%20in%20fsl_egl.c%20and%20everything%20seems%20to%20work.%3C%2FP%3E%3CP%3EIt%20is%20a%20very%20helpful%20post%2C%20thank%20you%20very%20much%20alejandro%20lozano!%3C%2FP%3E%3CP%3EBR%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1111050%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Yocto%20Application%20Development%20Using%20Eclipse%20IDE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1111050%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%3CP%3EI%20am%20working%20with%20a%20SABRESD%20with%20an%20iMX6SX.%3C%2FP%3E%3CP%3EI%20am%20able%20to%20cross%20compile%20the%20gputest%20example%20in%20Eclipse%20and%20everything%20seems%20to%20be%20OK.%3C%2FP%3E%3CP%3EHowever%2C%20when%20I%20try%20to%20execute%20the%20resulting%20file%20from%20the%20target%2C%20I%20get%20the%20following%20error%3A%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3Einit%3A%20Assertion%20%60eglNativeWindow'%20failed.%3C%2FP%3E%3CP%3EAborted%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EHas%20anybody%20found%20a%20similar%20situation%3F%20I%20am%20using%20X11.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EThank%20you%20in%20advance%20for%20your%20collaboration.%3C%2FP%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3CP%3EAlvaro%20Martinez%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1111049%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Yocto%20Application%20Development%20Using%20Eclipse%20IDE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1111049%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHow%20to%20create%20a%20shared%20libray%20or%20a%20static%20library%20using%20Eclipse%20IDE%20in%20the%20Yocto%20project.%3C%2FP%3E%3CP%3EI%20want%20to%20create%20those%2C%20but%20failed.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1111048%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Yocto%20Application%20Development%20Using%20Eclipse%20IDE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1111048%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20have%20follow%20above%20tutorial%2C%20it%20was%20showing%20%22Missing%20PROG%20dlltool%22%2C%20%22Missing%20arm-poky-linux-gnueabi-mt%22%2C%20%22Missing%20arm-poky-linux-gnueabi-dlltool%22%2C%20what%20could%20be%20error%40%3CA%20_jive_internal%3D%22true%22%20data-content-finding%3D%22Community%22%20data-userid%3D%22205882%22%20data-username%3D%22alejandrolozano%22%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Fpeople%2Falejandrolozano%22%20target%3D%22_blank%22%3Ealejandrolozano%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
‎07-28-2015 12:44 PM
Updated by: