bistromath / gr-ais

Automatic Information System decoder for shipborne position reporting for the Gnuradio project
134 stars 47 forks source link

Update Install #11

Closed kylecavs closed 3 years ago

kylecavs commented 8 years ago

Hi, I would like to implement an AIS receiver using my USRP B210 with your software platform. However, when I clone gr-ais, make a build directory, and build gr-ais, there are missing blocks in GnuRadio-Companion. Can you please provide install instructions as well as procedure to run? I am running with Gnuradio 3.7.7.1.

Thanks, Kyle

bistromath commented 8 years ago

gr-ais does not currently use gnuradio-companion. after installation, run ais_rx to execute gr-ais.

--n

On Tue, Sep 22, 2015 at 3:23 PM kylecavs notifications@github.com wrote:

Hi, I would like to implement an AIS receiver using my USRP B210 with your software platform. However, when I clone gr-ais, make a build directory, and build gr-ais, there are missing blocks in GnuRadio-Companion. Can you please provide install instructions as well as procedure to run? I am running with Gnuradio 3.7.7.1.

Thanks, Kyle

— Reply to this email directly or view it on GitHub https://github.com/bistromath/gr-ais/issues/11.

ReverseControl commented 3 years ago

@bistromath Has this changed? Are there gnu-radio companion blocks now? I installed it some weeks ago and did not see it. Incidentally, I cannot install it now. cmake finds errors.

bistromath commented 3 years ago

Which version of Gnuradio are you compiling it against?

I'll do a 3.9 port along with gr-air-modes as soon as this round of work is done.

On Mon, Feb 8, 2021, 3:30 AM Scriptus notifications@github.com wrote:

@bistromath https://github.com/bistromath Has this changed? Are there gnu-radio companion blocks now? I installed it some weeks ago and did not see it. Incidentally, I cannot install it now. cmake finds errors.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bistromath/gr-ais/issues/11#issuecomment-775078941, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADBTK2C6C64FINZKDWGEWLS57DNDANCNFSM4BQH6FHA .

ReverseControl commented 3 years ago

I tried both 3.7 and 3.8, i got it to "build and install" for one of them but nothing showed up on the gnuradio-companion GUI. I now realized it was not meant to.

The error happen as follows:

  1. I installed in a docker container 20.04 LTS ubuntu: pybombs prefix init /root/gnuradio -a gnuradio -R gnuradio-default
  2. If you go here, https://github.com/gnuradio/pybombs, it says that should install gnuradio 3.8.
  3. But, I get the following error when running cmake .. from /build:

    
    CMake Error at CMakeLists.txt:71 (find_package):
    Could not find a configuration file for package "Gnuradio" that is
    compatible with requested version "3.8".
    
    The following configuration files were considered but not accepted:
    
    /root/gnuradio/lib/cmake/gnuradio/GnuradioConfig.cmake, version: 3.7.14.0

-- Configuring incomplete, errors occurred! See also "/root/gr-ais/build/CMakeFiles/CMakeOutput.log".



How long will it be until gr-ais is available in the gnuradio-companion GUI with version 3.9 of gnuradio?
bistromath commented 3 years ago

I've updated gr-ais (on the "grc" branch for now) to include GRC blocks and a GRC top-level application. Please note that it will only work with a version of Gnuradio which includes fixes to the MSK timing error detector -- see gnuradio/gnuradio#4335.

The current GR version is 3.8. After I'm done with the GRC version of gr_ais, I'll migrate the package to GR 3.9 moving forward.