bitbake compilation error with imx-gst1.0-plugin_4.4.2

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

bitbake compilation error with imx-gst1.0-plugin_4.4.2

747 Views
vincentbodin
Contributor II

Dear all,

I have a compilation error when I bitbake the package imx-gst1.0-plugin:

../../git/libs/device-2d/imx_2d_device_g2d.c: In function 'imx_g2d_config_input':
| ../../git/libs/device-2d/imx_2d_device_g2d.c:302:23: error: 'G2D_AMPHION_TILED' undeclared (first use in this function); did you mean 'G2D_SUPERTILED'?
| g2d->src.tiling = G2D_AMPHION_TILED;
| ^~~~~~~~~~~~~~~~~
| G2D_SUPERTILED
| ../../git/libs/device-2d/imx_2d_device_g2d.c:302:23: note: each undeclared identifier is reported only once for each function it appears in
| ../../git/libs/device-2d/imx_2d_device_g2d.c: In function 'imx_g2d_blit':
| ../../git/libs/device-2d/imx_2d_device_g2d.c:421:23: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
| src->mem->paddr = paddr;
| ^
| ../../git/libs/device-2d/imx_2d_device_g2d.c:430:23: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
| dst->mem->paddr = paddr;
| ^
| ../../git/libs/device-2d/imx_2d_device_g2d.c:466:26: error: 'G2D_AMPHION_TILED' undeclared (first use in this function); did you mean 'G2D_SUPERTILED'?
| if (g2d->src.tiling == G2D_AMPHION_TILED && src->fd[1] >= 0)
| ^~~~~~~~~~~~~~~~~
| G2D_SUPERTILED
| ../../git/libs/device-2d/imx_2d_device_g2d.c:471:26: error: 'G2D_AMPHION_INTERLACED' undeclared (first use in this function); did you mean 'G2D_AMPHION_TILED'?
| g2d->src.tiling |= G2D_AMPHION_INTERLACED;
| ^~~~~~~~~~~~~~~~~~~~~~
| G2D_AMPHION_TILED

This is my local.conf:

IMAGE_INSTALL_append = " libstdc++ chkconfig glib-networking glibmm \
pkgconfig \
zlib glib-2.0 evtest \
cpufrequtils \
openssh-sftp-server \
imx-vpu \
firmware-imx \
qtbase \
qtmultimedia \
qtmultimedia-plugins \
dbus \
i2c-tools \
gstreamer1.0-plugins-imx \
imx-gst1.0-plugin \
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad \
gstreamer1.0 \
psplash \
u-boot-toradex-fsl-fw-utils \
ntfs-3g-ntfsprogs \
"

Could you please advice ?

Many thanks, Vincent

0 Kudos
1 Reply

578 Views
jimmychan
NXP TechSupport
NXP TechSupport

which BSP are you using?

Are you using Ubuntu to build the BSP? which version of Ubuntu are you using?

could you show me the steps? so I can try it on my side.

0 Kudos