GNURadio package gr-kiwisdr
This discussion was created from comments split from: v1.223: CIC filter compensation implemented, possible DRM benefits.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Desktop gr-kiwisdr # cmake ../
CMake Error: The source directory "/home/jim/Apps" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
https://stackoverflow.com/questions/46448682/cmake-error-the-source-does-not-appear-to-contain-cmakelists-txt?noredirect=1&lq=1
Ron
KA7U
mkdir build
cd build
cmake ../
make install
It's great you are looking into this.
Desktop build # cmake ../
-- Build type not specified: defaulting to release.
-- Could NOT find Boost
CMake Error at CMakeLists.txt:94 (message):
Boost required to compile kiwisdr
cmake -DENABLE_KIWI_WS_CLIENT=OFF ../
This disables the KiwiSDR websocket client and does not require a recent boost version. Before using this option make sure to pull the latest version from https://github.com/hcab14/gr-kiwisdr (
git pull --rebase origin master
)I have installed the gr-kiwisdr. The installation was not a large problem on my iMac. The .grc files load fine and the graphics have no missing parts. But when i run the programs it stops after 2 to 3 sec with a runtime error. Any idea. The gnuradio installation works perfect when I use my LimeSDR as signal source.
I run the 't2_kiwi.grc'
It Returns the error:
gr::log :DEBUG: kiwisdr0 - kiwisdr_impl::start
>>> Done (return code -11)
and in my KiwiSDR it logs:
Sun Feb 3 17:54:50 09:34:51.289 ... [00] PWD isLocal_if_ip: flg=0x18 fam=2 socktype=1 proto=6 addrlen=16 192.168.88.56
Sun Feb 3 17:54:50 09:34:51.289 ... [00] PWD isLocal_if_ip: TRUE IPv4/4_6 remote_ip 192.168.88.56 ip_client 192.168.88.56/0xc0a85838 ip_server[IPv4] 192.168.88.137/0xc0a85889 nm /24 0xffffff00
Regards
Bjarne
Thank you for these details. I can see there is a problem. Please give me some time to fix it.
I am not sure what the problem is but would suggest to do the following steps (in that order)
git pull --rebase origin master
).volk_profile -R volk_16u_byteswap
: On my computer (OSX 10.10.5) I found that if I do not this there is a crash in volk_16u_byteswap which is used in the work function of the KiwiSDR websocket client.My gr-kiwisdr where updated yesterday. I have not made any updates today.
On my computer I am running (OSX 10.14.2)
Running the command 'volk_profile -R volk_16u_byteswap' solved the problem now is gr-kiwisdr running (What does that command?). Ready for testing :-)
Both KiwiSDR_rx.grc and t2_kiwi.grc is now working
Thanks for the help
Bjarne
It determines which of the SIMD kernels implemented in VOLK is fastest. If you run volk_profile without any argument, it does the same for all kernels. The information about the fastest kernel is saved in ~/.volk/volk_profile. VOLK implements the same kernel in more than one way: generic (in C), and in SIMD and possibly using ORC. Instead of assuming that a given SIMD implementation is fastest, the performance of each implementation is measured and the fastest one is used.
Please let me know which version of GNURadio and boost you have installed, and also please do let me know if something is missing/can be improved in gr-kiwisdr.
GNURadio v. 3.7.13.4
boost-1.66.0_3
I will inform you if I find any problems
Regards
Bjarne
Just got gr-kiwisdr working on Ubuntu 18:10 and grc 3.7.11 thanks to the command: 'volk_profile -R volk_16u_byteswap'
But before hitting the same problem as Bjarne, I had some difficulties installing from git despite the clear instructions.
The issue was due to my machine not having all the tool dependencies installed before running cmake. I found and corrected missing dependencies by re-running cmake ../, repeatedly looking for errors, and then installing the missing package. I did this a number of times and messed up.
Unfortunately, I managed to miss one problem in cmake's output and ran 'make install' on a partial build. This resulted in a faulty Python package in /usr/local/lib/python2.7/dist-packages that led me a merry dance!
The solution was to delete all the files in the directory /usr/local/lib/python2.7/dist-packages/kiwisdr before running 'make install' again. The incorrect file in the package caused the Python import of _kiwisdr_swig to fail silently. Looks as if the gnuradio-companion model is going to work but 'kiwisdr' is flagged as a missing module attribute when the generated python is run.
I wonder if it is worth mentioning in the git instructions that the users system needs to have git, cmake, swig, doxygen, libboost-pythondev, libboostdev and libcppunit-dev loaded? Also, mention of the volk_profile command, and that in the event of an unwise 'make install', that clearing the python package directory could be necessary to remove unwanted files.
Good news folks - it works, you just have to get a clean install. Take care cmake has no errors before running 'make install'!
Many thanks for making gr-kiwisdr available. Much appreciated.
Regards,
Dave
thanks a lot for your feedback.
README.md is updated.
Please do let me know if you find any issues/problems.
Best regards
Christoph
Happy to report that gr-kiwisdr is also running fine in a virtual environment. I am running Oracle VM virtualbox on a windows machine and then installed GNU radio on a Ubuntu 18.04.2 Linux platform. Several tries were needed finding out that the older Ubuntu versions are difficult to upgrade to the boost 1.66 web socket. Using the install tips in the github read.me in particular the "volk byteswap" command solved most problems.
About gr-kiwisdr do you plan to expand the version to multiple kiwi channel access? This would open up the possibility to do some interesting experiments in GNU radio.
best regards, Ben
SWLOI33
PS: Seems a large part of the later posts deserve to be split off to a separate thread about Kiwi SDR and GNU radio.
Built exactly to github instructions and tuned to DDK2 Weather RTTY on 4583 KHz as shown in the attached gr-kiwisdr.jpg
many thanks
Andy G3TDJ
Attachments:
https://forum.kiwisdr.com/uploads/Uploader/ff/232c74b23e9c08644eba84b69b95e9.jpg
See also https://hcab14.blogspot.com/2019/03/kiwisdr-iq-data-streams-with-2025-khz_16.html.
- OS: Ubuntu v18.04
- GNURadio v3.7.13.5
- Latest swig, cmake, and boost
Thank you,
Is is the same problem as in https://github.com/hcab14/gr-kiwisdr/issues/3 ?
Is the master branch the only way to install without requiring boost? If so that would mean I need to install a new version of GNURadio.