Hi Mitja,

there's more going on here, gr-video-sdl has been part of GNU Radio for a long, long time. Since at least GNU Radio 3.3, in fact; some 15, 16 years.

So, your version of 3.7 would definitely also include it, and you should not try to backport a more modern version to it.

So, we need to solve your actual problem than you trying to backport gr-video-sdl from 3.7.14 to a different version of GNU Radio.

So, what *is* your current version of GNU Radio, where does it come from, why does it not contain gr-video-sdl?

Note that as maintainers, we'll have a really hard time helping you with GNU Radio 3.7; it's end-of-life, so most of us aren't even trying to build it on our machines.

You also seem to be mixing PothosSDR stuff with GNU Radio includes, and I don't know whether that is just meaningless paths or whether you're actually confusinge something?

Best regards,
Marcus

PS: Others might have told you that already, but it might really be worth pointing out that living in the 3.7 world might be increasingly hard, and we're sorry about that, but it's just technologically mostly obsolescence why we're not able to support it anymore. Instead of sticking to 3.7 due to "some legacy blocks" it might be worth to forward-port these missing blocks to GNU Radio 3.10 or 3.9, and work with a modern version of GNU Radio – honestly, GNU Radio has gotten *a lot* better to install under practically all operating systems in later versions.


On 27.03.22 17:32, Mitja kocjančič wrote:
Hello there, for few reasons I am still using GNURadio 3.7 which doesn't come buindled with gr-video-sdl (at least the installation I am using doesn't) (I know 3.9 comes with it but right now I have some legacy blocks that are not uvailable for 3.9 so I am stuck using 3.7)

So I tried building gr-video-sdl separatly, and then installing it into existing gnuradio distribution like this:

1. Downloaded GNURadio 3.7.10: https://github.com/gnuradio/gnuradio/releases/download/v3.7.14.0/gnuradio-3.7.14.0.tar.gz <https://github.com/gnuradio/gnuradio/releases/download/v3.7.14.0/gnuradio-3.7.14.0.tar.gz>
     * extraxted gr-video-sdl
2. Installed SDL1.2 from here: http://web.archive.org/web/20191227232250if_/http://libsdl.org/release/SDL-devel-1.2.15-VC.zip <http://web.archive.org/web/20191227232250if_/http://libsdl.org/release/SDL-devel-1.2.15-VC.zip> (since gr-video-sdl uses SDL1.2 not SDL2 I assume) 3. trying to cmake like this: cmake ../ -DSDL_LIBRARY="C:\Program Files\PothosSDR\libsdl\lib\x64" -DSDL_INCLUDE_DIR="C:\Program Files\PothosSDR\libsdl\include"

I copied sdl include and lib files to this place

but I get some errors: https://pastebin.com/1RjmG1zj 
<https://pastebin.com/1RjmG1zj>

It aphears GrBoost and GrComponent are missing and there is some unknown command: Unknown CMake command "GR_REGISTER_COMPONENT".

Now I think GrBoost is boost but I am not sure, cmake doesn't tell me that Boost is missing, but what is GrComponent (what include and lib prefix do I need to set to include this?)

Thanks for Anwsering and Best Regards

Reply via email to