Just so you know, there’s a much more up to date, better documented and more thorough implementation of LORA in GNURadio. I wouldn’t mess with the one you’re installing now.
Repo: https://github.com/tapparelj/gr-lora_sdr Paper: https://arxiv.org/pdf/2002.08208.pdf <end transmission> > On Oct 19, 2021, at 11:24, Thangaraj Mukara Dhakshinamoorthy > <thanga...@komro.net> wrote: > > Hello, > > First of all Thanks @Ron! > > Following Ron‘s instruction, I was able to install gr-lora module > successfully and could also see them among gnuradio blocks, but when I try to > execute the flowgraph I am getting the following error: > > Executing: /usr/bin/python3 -u > /home/komro/gnuradio/gr-lora/apps/lora_receive_file.py > > Warning: failed to XInitThreads() > Traceback (most recent call last): > File "/home/komro/gnuradio/gr-lora/apps/lora_receive_file.py", line 35, in > <module> > import lora > ModuleNotFoundError: No module named 'lora' > > <image002.png> > > I have tried different solutions suggested in the github issues tab such as: > > komro@komro-HP-ProBook-6560b:~$ sudo apt-get install swig > [sudo] password for komro: > Reading package lists... Done > . > . > . > Setting up swig (4.0.1-5build1) ... > Processing triggers for man-db (2.9.1-1) ... > komro@komro-HP-ProBook-6560b:/usr/local/lib/python2.7$ ls > dist-packages site-packages > komro@komro-HP-ProBook-6560b:/usr/local/lib/python2.7$ cd dist-packages/ > komro@komro-HP-ProBook-6560b:/usr/local/lib/python2.7/dist-packages$ ls > komro@komro-HP-ProBook-6560b:/usr/local/lib/python2.7/dist-packages$ <empty> > komro@komro-HP-ProBook-6560b:/usr/local/lib/python2.7/dist-packages$ cd .. > komro@komro-HP-ProBook-6560b:/usr/local/lib/python2.7$ cd site-packages/ > komro@komro-HP-ProBook-6560b:/usr/local/lib/python2.7/site-packages$ ls > komro@komro-HP-ProBook-6560b:/usr/local/lib/python2.7/site-packages$ <empty> > komro@komro-HP-ProBook-6560b:/usr/local/lib/python2.7/site-packages$ cd > /usr/local/lib/python3 > komro@komro-HP-ProBook-6560b:/usr/local/lib/python3$ ls > dist-packages > komro@komro-HP-ProBook-6560b:/usr/local/lib/python3$ cd dist-packages/ > komro@komro-HP-ProBook-6560b:/usr/local/lib/python3/dist-packages$ ls > lora > komro@komro-HP-ProBook-6560b:~$ export > PYTHONPATH=$PYTHONPATH:/usr/local/lib/python3/dist-packages > komro@komro-HP-ProBook-6560b:~$ printenv > . > . > PYTHONPATH=:/usr/local/lib/python3/dist-packages > . > . > > But nothing fixed the issue yet, could anyone please help? > > Regards, > Thangaraj > > Von: Discuss-gnuradio <discuss-gnuradio-bounces+thangaraj=komro....@gnu.org> > Im Auftrag von Ron Economos > Gesendet: Dienstag, 19. Oktober 2021 15:21 > An: discuss-gnuradio@gnu.org > Betreff: Re: Help- gr-lora OOT Module failed to install! > > You need to install liborc. > > sudo apt-get install liborc-0.4-dev > > Ron > > On 10/19/21 6:12 AM, Thangaraj Mukara Dhakshinamoorthy wrote: > Hello, > > My system config: > OS: Ubuntu 20.04.3 LTS > OS Type: 64-bit > RAM: 3.8 GB > Processor: Intel Core i5-2450M CPU @2.50GHz x4 > UHD version: 3.15.0.0 > GNU Radio version: 3.8.1.0 > SDR Device: Ettus USRP N320 > > I am trying to install gr-lora OOT module to my existing GNUradio 3.8.1, but > I am getting the following error (with make command): > > WebLink: > https://github.com/rpp0/gr-lora > > Installation Instruction: > git clone https://github.com/rpp0/gr-lora.git . > mkdir build > cd build > cmake ../ # Note to Arch Linux users: add "-DCMAKE_INSTALL_PREFIX=/usr" > make && sudo make install (here comes the error!) > > Console log: > komro@komro-HP-ProBook-6560b:~/gnuradio/gr-lora/build$ ls > apps CMakeFiles cmake_uninstall.cmake > CTestTestfile.cmake grc lib Makefile python_compile_helper.py > CMakeCache.txt cmake_install.cmake compile_commands.json docs > include liquid-dsp python swig > komro@komro-HP-ProBook-6560b:~/gnuradio/gr-lora/build$ make && sudo make > install > make[2]: *** No rule to make target > '/usr/lib/x86_64-linux-gnu/liborc-0.4.so', needed by > 'lib/libgnuradio-lora.so.v0.6.2-54-g6111c350'. Stop. > make[1]: *** [CMakeFiles/Makefile2:248: lib/CMakeFiles/gnuradio-lora.dir/all] > Error 2 > make: *** [Makefile:141: all] Error 2 > > I have installed all the necessary dependencies, but don’t know what am I > doing wrong here, could anyone help me with this error message please? > > Any hints would be much appreciated! > > Mit freundlichen Grüßen / Best regards > > i.A. Thangaraj > Systemtechnik und Dienste/EDV > Projekt Team- LoRa > komro GmbH > >