It's not looking for sdl2, it's looking for sdl1.2.

If you're using a version of CMake greater than 3.17, you can turn on find_package debugging by adding the following to the cmake invocation:

-DCMAKE_FIND_DEBUG_MODE=1

This will give copious output about exactly what and where packages are being searched.

Ron

On 6/8/21 4:06 PM, 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)


Reply via email to