[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question on OOT- Modules installation path
From: |
Marcus Müller |
Subject: |
Re: Question on OOT- Modules installation path |
Date: |
Mon, 13 Apr 2020 15:05:31 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 |
Hi Volker,
in the current style of the OOT ecosystem: the modtool style.
gr-osmosdr (and other modules of the same authors) have historically
deviated from that (well, or, they were around before anyone even
thought of having a common style), and want to be installed *into* the
GNU Radio installation.
That *does* have advantages (like, you can do "from gnuradio import
volkersmodule", instead of the less clear "import volkersmodule"), but
it requires users to have administrative rights to modify the
system-wide GNU Radio installation, whereas the modtool style
installation is perfectly translateable to any prefix.
Best regards,
Marcus
On 12.04.20 12:59, Volker Schroer wrote:
> Hi,
>
> I'm trying to expand the gr-osmosdr oot module using the funcube ( fcd,
> fcdproplus ) modules. While gr-fcd formerly was a part of gnuradio and
> disappeard in 3.8, fcdproplus was always a oot module.
>
> In gnuradio >=3.8 oot modules provide gnuradio-{oot-name}Config.cmake
> and some others.
>
> Now I came across that using gr_modtool these files will be installed to
> ${GNURADIO_INSTALL_PREFIX}/lib/cmake/"Module name",
> while some other oot's like gr-iqbal or gr-osmosdr put these files to
>
>
> ${GNURADIO_INSTALL_PREFIX}/lib/cmake/gnuradio.
>
> This path has consequences how to find these modules later.
>
> So my question:
> What is the recommended path for these files.
>
>
> Thanks in advance
> -- Volker
>
>