Closed ion-concepts closed 8 years ago
This is more like the windows sdk project. This is the SoapySDR project: https://github.com/pothosware/SoapySDR/issues
So thats odd. What does SoapySDRUtil --info
say? This will tell us where its looking
Its supposed to search
and install_root will be the CMAKE_INSTALL_PREFIX unless this env var is set $SOAPY_SDR_ROOT
Sorry if you want to move the issue go ahead...I'm schooled for future issues now.
I don't have any $SOAPY prefix enviromentals defined. And my install root in CMAKE was : /Users/ianb. I do have some generic enviromentals such as $LIBRARAY_PATH defined.
macbook-cmh:build ianb$ SoapySDRUtil --info
######################################################
## Soapy SDR -- the SDR abstraction library
######################################################
API Version: v0.4.1-ge0775c82
ABI Version: v0.4-2
Install root: /Users/ianb
Module found: /Users/ianb/lib/SoapySDR/modules/libuhdSupport.so
Loading modules... Error: EnvironmentError: OSError: dlopen failed to load "/Users/ianb/lib/cmake/gnuradio/CMakeMacroLibtoolFile.cmake"
Error: EnvironmentError: OSError: dlopen failed to load "/Users/ianb/lib/cmake/gnuradio/CMakeParseArgumentsCopy.cmake"
Error: EnvironmentError: OSError: dlopen failed to load "/Users/ianb/lib/cmake/gnuradio/FindALSA.cmake"
Error: EnvironmentError: OSError: dlopen failed to load "/Users/ianb/lib/cmake/gnuradio/FindCppUnit.cmake"
----SNIP! repeated ad nauseaum....
Error: EnvironmentError: OSError: dlopen failed to load "/Users/ianb/lib/uhd/utils/usrp_n2xx_net_burner.py"
Error: EnvironmentError: OSError: dlopen failed to load "/Users/ianb/lib/uhd/utils/usrp_n2xx_net_burner_gui.py"
Mac OS; Clang version 7.0.2 (clang-700.1.81); Boost_105900; UHD_003.010.git-119-g42a3eeb6
done
Available factories...null, uhd,
FYI. I removed $LIBRARY_PATH and $DYLD_LIBRARY_PATH but no difference
I think SoapySDR is working. It actually shows uhd loaded and doesn't have any recognizable error prints from SoapySDR.
I have a feeling that once SoapySDR loads uhd support that its UHD static initialization trying to load everything in lib/. Those prints are from UHD is what I am saying.
You dont have UHD_MODULE_PATH
set do you?
Just for reference:
Unless its a weird install path or env variable set, you might need to add a few prints to see where its looking~
Anyway, I think we figured this out. Just open an issue on the SoapySDR or relevant tracker if it persists. Thanks!
Noticed that Soapy is pretty indiscriminate (under OSX 10.10) and verbose about trying to open anything under {INSTALL_ROOT}/lib: