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 package.
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,
Marcus
[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
> -- Dependency ENABLE_GNURADIO_RUNTIME = ON
> -- 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)
>
No comments:
Post a Comment