(clean) build fails when trying to cross compile for i.mx6 architecture.
Code
Buildoptions:
======================================================
- CPU (ARCH): cortex-a9 (arm)
- FLOAT: hard
- FPU: neon
- SIMD support: yes
- LTO (Link Time Optimization) support: yes
- GOLD (Google Linker) Support: yes
- LLVM support:
Graphic configuration:
======================================================
- OpenGL (GLX) support (provider): no (no)
- OpenGLES support (provider): yes (imx-gpu-viv)
- uvesafb support: no
Hardware decoder configuration:
======================================================
- Kodi Player driver: libfslvpuwrap
- VAAPI Support:
- VDPAU Support:
...
...
[ 87%] Building CXX object build/cores/VideoPlayer/videorenderers/CMakeFiles/videorenderers.dir/FrameBufferObject.cpp.o
[ 87%] Building ASM object build/cores/VideoPlayer/videorenderers/CMakeFiles/videorenderers.dir/yuv2rgb.neon.S.o
In file included from /home/strolch/LE/build.LibreELEC-imx6.arm-9.0-devel/kodi-a8fe8e3/xbmc/cores/VideoPlayer/VideoRenderers/RenderCapture.h:117:0,
from /home/strolch/LE/build.LibreELEC-imx6.arm-9.0-devel/kodi-a8fe8e3/xbmc/cores/VideoPlayer/VideoRenderers/RenderCapture.cpp:21:
/home/strolch/LE/build.LibreELEC-imx6.arm-9.0-devel/kodi-a8fe8e3/xbmc/cores/VideoPlayer/../VideoPlayer/DVDCodecs/Video/DVDVideoCodecIMX.h: In function 'double recalcPts(double)':
/home/strolch/LE/build.LibreELEC-imx6.arm-9.0-devel/kodi-a8fe8e3/xbmc/cores/VideoPlayer/../VideoPlayer/DVDCodecs/Video/DVDVideoCodecIMX.h:70:26: error: 'DVD_NOPTS_VALUE' was not declared in this scope
return (double)(pts == DVD_NOPTS_VALUE ? 0.0 : pts*1e-6);
^~~~~~~~~~~~~~~
In file included from /home/strolch/LE/build.LibreELEC-imx6.arm-9.0-devel/kodi-a8fe8e3/xbmc/cores/VideoPlayer/VideoRenderers/RenderCapture.h:117:0,
from /home/strolch/LE/build.LibreELEC-imx6.arm-9.0-devel/kodi-a8fe8e3/xbmc/cores/VideoPlayer/VideoRenderers/RenderCapture.cpp:21:
/home/strolch/LE/build.LibreELEC-imx6.arm-9.0-devel/kodi-a8fe8e3/xbmc/cores/VideoPlayer/../VideoPlayer/DVDCodecs/Video/DVDVideoCodecIMX.h: At global scope:
/home/strolch/LE/build.LibreELEC-imx6.arm-9.0-devel/kodi-a8fe8e3/xbmc/cores/VideoPlayer/../VideoPlayer/DVDCodecs/Video/DVDVideoCodecIMX.h:302:36: error: 'DVDVideoPicture' has not been declared
bool GetPicture(DVDVideoPicture *pDvdVideoPicture);
^~~~~~~~~~~~~~~
Display More
the log from failing build: - · GitHub