-
Notifications
You must be signed in to change notification settings - Fork 862
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't enable device in macOS 10.12.2 #173
Comments
Line 25:
say? Edit: I just installed with |
locate rtlsdr:
And what is more:
So looks like librtlsdr is installed, but clang still can't find it. Can you help me with adding it correctly? |
Mhh looks fine to me...can you run:
and see if it finds your rtlsdr lib? If so, you can reinstall URH using:
|
I've built it as you said, but it looks the same like when I was running main.py: Uninstalling and installing again with |
What does
give you? |
|
I am not a real OS X pro, but according to this discussion on stackoverflow you could try setting DYLD_LIBRARY_PATH to "/usr/local/lib/". Any other idea @andynoack ? |
Unfortunately that didn't help :( |
Can you put this little c program: main (int argc, char **argv) {
rtlsdr_get_device_name();
} somewhere and call |
|
Well there we got it...somehow your clang does not find it. What does:
give? |
Looks better.
How to tell clang to look in /usr/local/lib by default? |
According to this stackoverflow thread I needed to install xcode command line tools: But now I get another error during compilation:
|
Only the latest rtlsdr driver supports bandwidth control, the older versions just do not have the symbol that is missing here. However, we have implemented a fallback module that lets you use rtlsdr with an old driver. If you wish to control bandwidth, install the latest version of librtlsdr on your system and reinstall urh/rebuild the modules. |
Where is the proper source of that driver? |
You should get it from here: http://osmocom.org/projects/sdr/wiki/rtl-sdr |
Very interesting @matix2120 ! I created a little fix for that in Edit: Created a new release fixing this error. |
I'm glad I could help you, and thank you very much for your help. |
Glad it works for you now! |
Ok, great. Thank you very much for your help. I think we can mark the issue as closed and resolved. |
You're welcome @matix2120 . |
I've tried to install urh using pip3 and also build from sources. In each case I was not able to enable rtlsdr in settings (this option is grayed out). librtlsdr is installed. Device is physically connected to the usb and works fine in gqrx or cubicsdr.
Log from the compilation:
http://pastebin.com/ZPWTC9zu
The text was updated successfully, but these errors were encountered: