pothosware / SoapySDR

Vendor and platform neutral SDR support library.
https://github.com/pothosware/SoapySDR/wiki
Boost Software License 1.0
1.12k stars 178 forks source link

Additional ways to specify module search path #65

Closed guruofquality closed 1 year ago

guruofquality commented 8 years ago

The goal: To make it easier for 3rd parties to install hardware support modules and to have them loaded automatically at runtime:

ast commented 6 years ago

What I would like is an env variable where you can add a search path/paths. This is very useful for plugin development, ie. Gstreamer has GST_PLUGIN_PATH that you can set to your build directory.

guruofquality commented 6 years ago

yes: https://github.com/pothosware/SoapySDR/blob/master/lib/Modules.in.cpp#L141 SOAPY_SDR_PLUGIN_PATH

albestro commented 3 years ago

I had the same concern and I found out by looking at the code, but then before updating the wiki I found out this issue.

I don't know what's the policy for updating the wiki.

Specifically I would add in the section https://github.com/pothosware/SoapySDR/wiki#plugin-architecture something like

Via the environment variable `SOAPY_SDR_PLUGIN_PATH` it is possible to specify custom alternative
search paths for installed modules.
(e.g. `export SOAPY_SDR_PLUGIN_PATH=~/workspace/SoapyRemote/build/install_here/lib/SoapySDR/modules0.8`)
guruofquality commented 3 years ago

I don't know what's the policy for updating the wiki

Go for it :-) Sounds good to me