[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building 3.9.1 and finding SDL2 built with autotools

From: Marcus Müller
Subject: Re: Building 3.9.1 and finding SDL2 built with autotools
Date: Wed, 9 Jun 2021 01:25:34 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1

Hey Barry,

great to have you around!

The magic happens in gr-video-sdl/CMakeLists.txt, in "find_package(SDL)".
That should cause cmake to look for a file FindSDL.cmake, which at least under 
Fedora 34
is under /usr/share/cmake/Modules/FindSDL.cmake and belongs to the cmake-data 

It seems to me it's in the cmake package on mageia 8 [1].

So, assuming that CMake module is there, maybe that simply can't find the 
"SDL.h" it's
looking for. But that should really reside very comfortably in 
/usr/include/SDL.h, if
you've installed libSDL-devel.

So, sadly, not easy to help you :( got no Mageia experience myself at all.

Best regards,

[1] http://sophie.zarb.org/rpms/1f2922599ad1d6f8708896810a223e91/files
[2] http://sophie.zarb.org/rpms/5a82b79ad3e28cc61f0f46701879a7f7/files

On 09.06.21 01:06, Barry Jackson wrote:
> gnuradio & cmake seem not to be able to detect the presence of sdl2 
> development files.
>  -- Configuring gr-video-sdl support...
> --   Dependency SDL_FOUND = FALSE
> --   Dependency Boost_FOUND = TRUE
> --   Disabling gr-video-sdl support.
> --   Override with -DENABLE_GR_VIDEO_SDL=ON/OFF
> I can see nothing in the CMakeList.txt to enable it to find sdl2.pc and use 
> it, however my
> cmake knowledge is small.
> Obviously there are no cmake files packaged with sdl2 as the package is not 
> build using
> cmake.
> In earlier versions we had no issues building with sdl support so has 
> something changed?
> Any help would be appreciated.
> Barry
> (GR maintainer for Mageia)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]