[mythtv] [mythtv-commits] Ticket #8548: Compile error in Fedora 12 within vsync.cpp
Jim Stichnoth
stichnot at gmail.com
Wed Jun 9 22:00:52 UTC 2010
On Wed, Jun 9, 2010 at 2:51 PM, Mark Spieth <mark at digivation.com.au> wrote:
>
>> In Fedora 12, following build error occurs:
>> {{{
>> compiling vsync.cpp
>> vsync.cpp: In member function ‘virtual void
>> OpenGLVideoSync::Start()’:
>> vsync.cpp:435: error: invalid use of incomplete type ‘struct
>> VideoOutput’
>> vsync.h:25: error: forward declaration of ‘struct VideoOutput’
>> vsync.cpp: In member function ‘virtual void
>> OpenGLVideoSync::WaitForFrame(int)’:
>> vsync.cpp:452: error: invalid use of incomplete type ‘struct
>> VideoOutput’
>> vsync.h:25: error: forward declaration of ‘struct VideoOutput’
>> make[2]: *** [vsync.o] Error 1
>> make[2]: *** Waiting for unfinished jobs....
>> make[2]: Leaving directory `/mnt/myth/trunk/mythtv/libs/libmythtv'
>> make[1]: *** [sub-libmythtv-make_default] Error 2
>> make[1]: Leaving directory `/mnt/myth/trunk/mythtv/libs'
>> make: *** [sub-libs-make_default-ordered] Error 2
>> }}}
>
> set your environment correctly.
>
> export LC_TYPE=C
> or
> add LC_TYPE=C to /etc/default/locale
> then the error messages will be meaningful.
The error message seems perfectly meaningful. I would #include
"videooutbase.h" somewhere, probably right before or after the
#include of mythrender_opengl.h. This would be necessary when neither
USING_XV nor USING_VDPAU is defined.
Jim
More information about the mythtv-dev
mailing list