[mythtv] Trouble Cross-Compiling with DXVA Support

Brian Fischer brianafischer at gmail.com
Mon Mar 7 15:37:33 UTC 2011


On Mar 7, 2011, at 3:47 AM, Lawrence Rust <lvr at softsystem.co.uk> wrote:

> On Mon, 2011-03-07 at 01:28 -0500, Brian Fischer wrote:
>
>> $ export MYTHTV_CFG='--enable-dxva2'
>> $ ./mythbuild.sh -W -d -C -b master
>
> NB You shouldn't normally need the -C option (clean re-build) unless you
> have significantly changed your setup.  It will just cause unnecessary
> re-compilation and hence delay.
>
> [snip]

The clean rebuild was attempted due to the error condition.


>
>> I get the above error and can provide more logs upon request.  I can
>> build the master fine without the --enable-dxva2 configure option.
>> Any advice on how to resolve this compile error would be greatly
>> appreciated!
>
> I see that the error is:
>
> dxva2decoder.cpp:5:22: error: Initguid.h: No such file or directory
>
> Which looks like a typo in dxva2decoder.cpp.  Change line 5 to read
> #include <initguid.h>
>
> Linux is case sensitive but WindowsNT is case insensitive, case
> preserving.
>
> -- Lawrence

That fixed it!  Thanks for the quick responses.  I will start working
on some debug with DXVA when I get home from work.

-Brian


More information about the mythtv-dev mailing list