[prev in list] [next in list] [prev in thread] [next in thread]
List: mythtv-dev
Subject: Re: [mythtv] MythTV Raspberry Pi2 frontend testers
From: Thomas Mashos <thomas () mashos ! com>
Date: 2015-11-30 20:14:24
Message-ID: CAMtSsR2r2S=qWjO=zzWYOVBbnvpe_pROENVD66_DcJ+Jihh3Tw () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
On Sun, Nov 29, 2015 at 1:39 AM Lawrence Rust <lvr@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@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
[Attachment #5 (text/html)]
<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Sun, Nov 29, 2015 \
at 1:39 AM Lawrence Rust <<a \
href="mailto:lvr@softsystem.co.uk">lvr@softsystem.co.uk</a>> \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, 2015-11-28 at 20:04 +0000, \
Thomas Mashos wrote:<br> [snip]<br>
> I think we're getting closer. It's finding everything now but still \
failing<br> > on the build. Looks like it's failing on videoout_omx.o. Build \
snippet<br> > below. Full build log at<br>
> <a href="https://launchpadlibrarian.net/227870406/buildlog_ubuntu-wily-armhf.mythtv_2%3A0.27.5%2Bfixes.20151128.54a9cda-0ubuntu1_BUILDING.txt.gz" \
rel="noreferrer" target="_blank">https://launchpadlibrarian.net/227870406/buildlog_ubu \
ntu-wily-armhf.mythtv_2%3A0.27.5%2Bfixes.20151128.54a9cda-0ubuntu1_BUILDING.txt.gz</a><br>
><br>
> In file included from /opt/vc/include/interface/vcos/vcos.h:116:0,<br>
> from \
/opt/vc/include/interface/vmcs_host/vc_dispmanx.h:33,<br> > \
from /opt/vc/include/bcm_host.h:50,<br> > from \
videoout_omx.cpp:14:<br> > \
/opt/vc/include/interface/vcos/pthreads/vcos_platform.h: In function<br> > \
'void vcos_event_signal(VCOS_EVENT_T*)':<br> > \
/opt/vc/include/interface/vcos/pthreads/vcos_platform.h:535:8:<br> > warning: \
variable 'ok' set but not used [-Wunused-but-set-variable]<br> > \
int ok = 0;<br> > ^<br>
> videoout_omx.cpp: In member function 'virtual bool<br>
> VideoOutputOMX::CanVisualise(AudioPlayer*, MythRender*)':<br>
> videoout_omx.cpp:762:69: error: conditional expression between<br>
> distinct pointer types 'MythRenderEGL*' and 'MythRender*' lacks \
a cast<br> > return VideoOutput::CanVisualise(audio, m_context ? m_context \
: render);<br> > \
^<br> > videoout_omx.cpp: In member function 'virtual bool<br>
> VideoOutputOMX::SetupVisualisation(AudioPlayer*, MythRender*, const<br>
> QString&)':<br>
> videoout_omx.cpp:770:33: error: conditional expression between<br>
> distinct pointer types 'MythRenderEGL*' and 'MythRender*' lacks \
a cast<br> > m_context ? m_context : render, name);<br>
> ^<br>
> videoout_omx.cpp: In member function 'virtual QStringList<br>
> VideoOutputOMX::GetVisualiserList()':<br>
> videoout_omx.cpp:777:49: error: invalid use of incomplete type 'class<br>
> MythRenderEGL'<br>
> VideoVisual::GetVisualiserList(m_context->Type()) :<br>
> ^<br>
> In file included from videoout_omx.cpp:1:0:<br>
> videoout_omx.h:14:7: note: forward declaration of 'class \
MythRenderEGL'<br> > class MythRenderEGL;<br>
> ^<br>
> Makefile:7130: recipe for target 'videoout_omx.o' failed<br>
> make[4]: *** [videoout_omx.o] Error 1<br>
<br>
Hi Thomas,<br>
<br>
Two problems:<br>
<br>
1. The code that you have is out of date. I recently fixed a problem<br>
with videoout_omx.cpp when building without OpenGLES2.<br>
<br>
2. It appears that the macro USING_OPENGLES is not defined, which<br>
happens if MythTV's configure script doesn't detect Qt's OpenGL \
support<br> correctly. There are several patches to 'configure' in my<br>
fixes-0.27-rpi branch that handle this. Maybe you are building against<br>
a version of Qt without OpenGLES2 support?<br>
<br>
To confirm this, add the following to the top of videoout_omx.cpp:<br>
<br>
#ifndef USING_OPENGLES<br>
#error USING_OPENGLES undefined<br>
#endif<br>
<br>
This will error if USING_OPENGLES is undefined. The code should be<br>
built with OpenGLES - it hasn't been tested without.<br>
<br>
-- Lawrence Rust<br>
<br>
<br>
_______________________________________________<br>
mythtv-dev mailing list<br>
<a href="mailto:mythtv-dev@mythtv.org" target="_blank">mythtv-dev@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-dev" rel="noreferrer" \
target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-dev</a><br> <a \
href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" \
target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br> MythTV Forums: \
<a href="https://forum.mythtv.org" rel="noreferrer" \
target="_blank">https://forum.mythtv.org</a></blockquote><div><br></div><div><br></div><div>Hi \
Lawrence,</div><div><br></div><div>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. </div><div><br></div><div>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 <a href="https://launchpad.net/~mythbuntu/+archive/ubuntu/stagingpatches/+build/ \
8359637">https://launchpad.net/~mythbuntu/+archive/ubuntu/stagingpatches/+build/8359637</a></div><div><br></div><div>If \
it fails again with the same error I'll add in that code for you to confirm. \
</div></div></div><div dir="ltr">-- <br></div><div dir="ltr">Thomas Mashos</div>
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic