[mythtv] cmake question
Peter Bennett
pb.mythtv at gmail.com
Fri Jan 31 20:46:38 UTC 2025
On 1/31/25 12:14, David Hampton wrote:
> On Fri, 2025-01-31 at 09:19 -0500, Peter Bennett wrote:
>> David
>>
>> When I build with cmake certain things are disabled that are enabled
>> when I build with make
>>
>> From the output of cmake --build these are not supported:
>>
>> Video4Linux support
> Install the libv4l-dev package.
>
>> x11/xrandr support
> This is supported. I left out a character in the routine that
> summarizes the settings so it always printed "no".
>
>> NVDEC support
> This is also being displayed incorrectly. USING_NVDEC used to be a
> global value, but now its attached to the PkgConfig::FFNVCODEC target.
> I've updated the code to display this properly.
>
>> Video4Linux codecs
> This should also be fixed by installing the libv4l-dev package.
>
>> The following lack support in the code (#define macros not set) so
>> that
>> the setup does not offer them:
>>
>> V4L2 encoder
> Should be fixed with the libv4l-dev package.
>
>> HD-PVR H264 Encoder
> Should be fixed with the libv4l-dev package.
>
>> Firewire Cable Box
> Do you have the libiec61883-dev and libavc1394-dev packages installed?
>
>> There may be others, this is what I see in my testing.
> Please let me know if you find anything else missing. Whenever
> possible, cmake relies on the pkgconfig files to determine library
> availability so the first check should always be if the xxx-dev package
> is installed.
>
>> I am not personally using these, but I build with everything for
>> testing
>> setup. Also for deb-light, everything should be built.
> I also try to build with everything enabled.
>
>> Can I pass in configure options for these with cmake to get these
>> enabled? Or is some other fix needed?
> There shouldn't be any change needed other than installing the xxx-dev
> packages.
>
> David
>
I installed libv4l-dev and rebuilt. These still say no
NVDEC support
x11/xrandr support
It is still not showing Firewire support although the cmake --build log
does contain this:
4812 -- Checking for module 'libavc1394'
4813 -- Found libavc1394, version 0.5.4
4814 -- Checking for module 'libiec61883'
4815 -- Found libiec61883, version 1.2.0
4816 -- Adding linux firewire support
libiec61883-dev and libavc1394-dev were already installed on my system.
#ifdef USING_FIREWIRE fails in v2capture.cpp.
Should we add libv4l-dev to ansible? The ansible script should install
all dev dependencies.
Peter
More information about the mythtv-dev
mailing list