Hi Ryan
On 3/30/20 8: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?
As I have SDL2 in /opt/X11, I always had to use those:
SDL2_CFLAGS="-I/opt/X11/include/SDL2 -D_REENTRANT" export SDL2_CFLAGS
SDL2_LIBS="-L/opt/X11/lib -Wl,-rpath,-L/opt/X11/lib
-Wl,--enable-new-dtags -lSDL2 -lSDL2_image" export SDL2_LIBS
As Bruce mentioned, your problem might be SDL2_image, this is needed for
sdl support.
Bye
Tim
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page