-
Notifications
You must be signed in to change notification settings - Fork 7
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
Problem installing SDRPlay API for Jetson Nano (ARM Ubuntu) #6
Comments
@Pratik310commits - thanks for reporting this problem with the 'gr-sdrplay3' GNU Radio OOT module. As mentioned in the README (https://github.com/fventuri/gr-sdrplay3/blob/master/README.md#important-notice), this GNU Radio OOT module requires GNU Radio version 3.9 (or newer); the screenshot you attached makes me think the Jetson Nano is instead running on older version (3.7.13.4). I also took a quick look at the non-Windows workflows on SDRplay's website and all the ones I found for GNU Radio seem to use the old version of SDRplay API (2.13 or something like that); could you send me the link (or a screenshot) to the workflow you used for installing the SDRplay API and GNU Radio on the Jetson Nano with ARM Ubuntu? Franco |
Thanks for the quick response Franco. I even tried the git repo: https://github.com/fventuri/gr-sdrplay3
Could you help me sort these two issues out asap? |
@Pratik310commits - thanks for posting the screenshot of the workflow - now I understand much better what you are trying to do. I see the instructions in the workflow use the SDRplay API 2.13 and the github repository: https://gitlab.com/HB9FXQ/gr-sdrplay - to try to avoid any compatibility problem I would recommend that you follow what SDRplay instructions say, i.e. build the GNU Radio module 'gr-sdrplay' using that version on https://gitlab.com/HB9FXQ/gr-sdrplay and not this one. Regarding your specific questions, I am not really able to help you much with Windows, since I use Linux here. For the Raspberry Pi, since Raspberry OS is a derivative of Debian like Ubuntu, I would suggest that you first remove the files you installed from the git repo https://github.com/fventuri/gr-sdrplay3, reboot it, and then try again to run the commands in SDRplay workflow that you posted above. If you get again an error like "Too few arguments to the function", please let me know what specific command you ran, and also please copy here a few lines before and after that error message to provide some useful context. Franco |
@Pratik310commits - I really apologize that my comment made you more confused instead of helping. There are currently two different versions of the SDRplay API that you can use with the RSPs and GNU Radio:
The reason for my note above about removing the files you might have installed from https://github.com/fventuri/gr-sdrplay3 was because I was afraid you had different components from different versions installed on your Raspberry Pi there, and perhaps they would cause conflicts with each other. I hope this explanation helps you solve your problems, |
Thanks alot |
On the Jetson Nano, I did the following things
At 3.e., i had the following issue Do you recommend I try the SDRplay API version 2.13 along with GNU Radio version 3.7 ? |
@Pratik310commits - congratulations! I think you are almost there. It looks like you just need to install the 'pybind11-dev' package - please run this command:
and after that, please try running step 3.e again Franco |
I looked at the first of those errors:
and, according to some pages I found with Google, it seems it might be due to a missing include.
after saving this change, please try running the command Also what exact version of Ubuntu are you running there? Franco |
I will try modifying the header file and post an update. Also, I am using Ubuntu 18.04, on ARM |
How did you install GNU Radio 3.9 on your Ubuntu 18.04 using the instructions here: https://wiki.gnuradio.org/index.php/InstallingGR ? I just tried here two different ways:
but these commands installed GNU Radio 3.8 (not 3.9, despite of they say in that installation document); I checked it with this command:
and I see that the version is 3.8 I also tried with these commands:
but the last command (apt install gnuradio) failed with a several dependency errors. By any chance did you install GNU Radio from source, using 'git clone https://github.com/gnuradio/gnuradio.git', and all the other commands listed there? Franco |
I did the same It gave me error saying, 3.8 was found, not 3.9 So then I did This installed without errors. |
@Pratik310commits - thanks for your reply. I did some research on the dependency error I saw earlier when trying the repository According to the reply there it is not possible to install GNU Radio 3.9 on Ubuntu 18.04 because of the problem with the library Franco |
@fventuri |
@fventuri |
Used the command Result: libvolk2-bin/bionic,now 2.3.0-2 ~ ubuntu18.04.1 ~ ppa1 arm64 [installed,automatic] |
@Pratik310commits - thanks for the versions of the This morning I was finally able to install the package The only difference I see is that my Ubuntu 18.4 runs on the amd64 (Intel) architecture because that's what I have on my PC, while yours is an ARM Ubuntu, but I thought they were very similar. I understand you are new to Linux, but at this point since those messages are C/C++ errors, perhaps you could ask someone with C/C++ experience to look into them, and see if that include suggestion I mentioned earlier (#6 (comment)) could perhaps help. The other option could be to try to run the workflow that uses the old SDRplay API version 2.13. Franco |
Yes, I will try the API version 2.13 first |
I installed SDRPlay API 2.13 and GNURadio 3.7 Then I tried installing GNURadio 3.8 and got the error: So basically, since SDRPlay 3.07 and GNURadio 3.9 weren't installed correctly, I tried but couldn't successfully get to install SDRPlasy API 2.13 along with GNURadio 3.7 |
Hi @fventuri and it worked But look at this: |
@Pratik310commits - Congratulations! I am very happy to see if finally worked with the new SDRplay API 3.07! (BTW the earlier error about the 'wrong format' typically happens when for some reason x86/x64 Intel binaries or objects get mixed together with ARM binaries/objects). Franco |
@fventuri |
Hi @fventuri |
@Pratik310commits From your screenshot above I can't see the exact command you are using, but assuming you have something like
Hope this helps, |
Hi @fventuri The simple flowgraph won't execute And I tried using C++ as the output language, it says "samp_rate" variable is not defined, although I have no such variable in the flowgraph Generating: '/home/pratik/EMSA/GRC_Projects/sweep_no_headblock/FFT_Sink/FFT_Sink' |
If the module
which should also print the path where that module is being installed - make sure that that path is indeed in your Python
Franco |
I have installed SDRPlay API 3.07, updated by GNURadio to latest, and followed the workflow given for Installation, still now able to successfully get SDRPlay working in conjunction with GNURadio Companion, for RSP1A.
Was successful in getting it to work for Raspberry Pi, but couldn't get the SDRPlay modules in the GNURadio Companion.
The text was updated successfully, but these errors were encountered: