On Mon, 30 Mar 2020, Bruce Dubbs via blfs-dev wrote:

On 3/30/20 1:50 PM, Ryan Marsaw via blfs-dev wrote:
Hello all.

When building v4l-utils per BLFS instructions I get the following at the
configure stage:

[...]
checking for SDL2... no
[...]

The only way I could get v4l-utils to recognize SDL2 was to set
SDL2_LIBS and SDL2_CFLAGS:

SDL2_LIBS=/usr/lib SDL2_CFLAGS=/usr/include/SDL2 ./configure ...

Can anyone else confirm this?

Did you try running ldconfig?

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Hi Bruce.

It appears the reason SDL2 wasn't being picked up by v4l-utils is that
it checks for SDL2 as well as SDL_image, which is a separate package:

https://www.libsdl.org/projects/SDL_image/

I installed SDL_image and v4l-utils was then able to detect SDL2 as per
BLFS instructions.

Perhaps a note on the v4l-utils page should mention that SDL_image is
required in order to have SDL2 support.

Cheers,

--Ryan
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to