[mythtv] MythTV Raspberry Pi2 frontend testers

Thomas Mashos thomas at mashos.com
Mon Nov 30 20:14:24 UTC 2015


On Sun, Nov 29, 2015 at 1:39 AM Lawrence Rust <lvr at softsystem.co.uk> wrote:

> On Sat, 2015-11-28 at 20:04 +0000, Thomas Mashos wrote:
> [snip]
> > I think we're getting closer. It's finding everything now but still
> failing
> > on the build. Looks like it's failing on videoout_omx.o. Build snippet
> > below. Full build log at
> >
> https://launchpadlibrarian.net/227870406/buildlog_ubuntu-wily-armhf.mythtv_2%3A0.27.5%2Bfixes.20151128.54a9cda-0ubuntu1_BUILDING.txt.gz
> >
> > In file included from /opt/vc/include/interface/vcos/vcos.h:116:0,
> >                  from
> /opt/vc/include/interface/vmcs_host/vc_dispmanx.h:33,
> >                  from /opt/vc/include/bcm_host.h:50,
> >                  from videoout_omx.cpp:14:
> > /opt/vc/include/interface/vcos/pthreads/vcos_platform.h: In function
> > 'void vcos_event_signal(VCOS_EVENT_T*)':
> > /opt/vc/include/interface/vcos/pthreads/vcos_platform.h:535:8:
> > warning: variable 'ok' set but not used [-Wunused-but-set-variable]
> >     int ok = 0;
> >         ^
> > videoout_omx.cpp: In member function 'virtual bool
> > VideoOutputOMX::CanVisualise(AudioPlayer*, MythRender*)':
> > videoout_omx.cpp:762:69: error: conditional expression between
> > distinct pointer types 'MythRenderEGL*' and 'MythRender*' lacks a cast
> >      return VideoOutput::CanVisualise(audio, m_context ? m_context :
> render);
> >                                                                      ^
> > videoout_omx.cpp: In member function 'virtual bool
> > VideoOutputOMX::SetupVisualisation(AudioPlayer*, MythRender*, const
> > QString&)':
> > videoout_omx.cpp:770:33: error: conditional expression between
> > distinct pointer types 'MythRenderEGL*' and 'MythRender*' lacks a cast
> >          m_context ? m_context : render, name);
> >                                  ^
> > videoout_omx.cpp: In member function 'virtual QStringList
> > VideoOutputOMX::GetVisualiserList()':
> > videoout_omx.cpp:777:49: error: invalid use of incomplete type 'class
> > MythRenderEGL'
> >          VideoVisual::GetVisualiserList(m_context->Type()) :
> >                                                  ^
> > In file included from videoout_omx.cpp:1:0:
> > videoout_omx.h:14:7: note: forward declaration of 'class MythRenderEGL'
> >  class MythRenderEGL;
> >        ^
> > Makefile:7130: recipe for target 'videoout_omx.o' failed
> > make[4]: *** [videoout_omx.o] Error 1
>
> Hi Thomas,
>
> Two problems:
>
> 1. The code that you have is out of date.  I recently fixed a problem
> with videoout_omx.cpp when building without OpenGLES2.
>
> 2. It appears that the macro USING_OPENGLES is not defined, which
> happens if MythTV's configure script doesn't detect Qt's OpenGL support
> correctly.  There are several patches to 'configure' in my
> fixes-0.27-rpi branch that handle this.  Maybe you are building against
> a version of Qt without OpenGLES2 support?
>
> To confirm this, add the following to the top of videoout_omx.cpp:
>
> #ifndef USING_OPENGLES
> #error USING_OPENGLES undefined
> #endif
>
> This will error if USING_OPENGLES is undefined.  The code should be
> built with OpenGLES - it hasn't been tested without.
>
> -- Lawrence Rust
>
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-dev
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org



Hi Lawrence,

Thanks for the pointers. I'm now including libgles2-mesa-dev which
hopefully will resolve that. I didn't see any qt specific packages for
gles2.

I was using older code. The reason being is that I was pulling down your
repo, making a patch from your commits and then integrating that into our
build scripts. I've now created a new patch from all of your commits and
I'm applying that. We'll see what happens with that build here
https://launchpad.net/~mythbuntu/+archive/ubuntu/stagingpatches/+build/8359637

If it fails again with the same error I'll add in that code for you to
confirm.
-- 
Thomas Mashos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20151130/8b8b4ce0/attachment.html>


More information about the mythtv-dev mailing list