JuliaTelecom / UHDBindings.jl

Julia C bindings for UHD to monitor USRP devices.
MIT License
5 stars 3 forks source link

Prefer system installation of UHD library #4

Closed sclel016 closed 3 years ago

sclel016 commented 3 years ago

Pretty simple change to fix potential Boost issues mentioned in #3. This change will pickup the system install of libuhd over Julia artifacts. Checked it works with system packages on my system, I can't test to make sure it still works with artifacts.

Happy to accept any changes, I'm still very much a Julia beginner.

RGerzaguet commented 3 years ago

dlopen rethrow an exception is lib is not present, so I have added the throw_error keyword to ensure output is nothing if the lib is not found. Thanks again, ready for merging :)