bistromath / gr-ais

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

GNU Radio 3.7 #7

Closed jesseas closed 10 years ago

jesseas commented 10 years ago

I am trying to build this against GNU Radio 3.7 and cmake is failing to find both GRUEL and GNURADIO_CORE: -- Could NOT find GRUEL (missing: GRUEL_LIBRARIES GRUEL_INCLUDE_DIRS) -- Could NOT find GNURADIO_CORE (missing: GNURADIO_CORE_LIBRARIES GNURADIO_CORE_INCLUDE_DIRS) CMake Error at CMakeLists.txt:90 (message): Gruel required to compile gr_ais

It looks like these were removed/consolidated into gnuradio-runtime in 3.7: http://gnuradio.org/redmine/projects/gnuradio/wiki/Move_3-6_to_3-7

Am I missing something/off base here? Is there any plan/work to update gr-ais to 3.7, or am I better of going back to 3.6. I am building this on Debian wheezy running on a RaspberryPi if that makes a difference.. Thanks for your time and any information you can provide. -Jesse

bistromath commented 10 years ago

This hasn't been updated to 3.7 yet. It will probably happen in the next 3-4 weeks.

--n

On Mon, Aug 5, 2013 at 9:32 PM, Jesse notifications@github.com wrote:

I am trying to build this against GNU Radio 3.7 and cmake is failing to find both GRUEL and GNURADIO_CORE: -- Could NOT find GRUEL (missing: GRUEL_LIBRARIES GRUEL_INCLUDE_DIRS) -- Could NOT find GNURADIO_CORE (missing: GNURADIO_CORE_LIBRARIES GNURADIO_CORE_INCLUDE_DIRS) CMake Error at CMakeLists.txt:90 (message): Gruel required to compile gr_ais

It looks like these were removed/consolidated into gnuradio-runtime in 3.7: http://gnuradio.org/redmine/projects/gnuradio/wiki/Move_3-6_to_3-7

Are there any plans/work to update gr-ais to 3.7, or am I better of going back to 3.6. Thanks for your time and thoughts. -Jesse

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

jesseas commented 10 years ago

Thanks for the clarification and quick response. Also, thanks for all the work on this, I look forward to getting it up and running. -Jesse

jesseas commented 10 years ago

On second thought, closed isn't quite right, but that tells me what I need to know.

zhangwj08 commented 10 years ago

Hi, Jesseas, have you resolve your problem, because when I build gr-air-modes in gnuradio 3.7, I have met the same problem as you have met! so I want to know how to finish this problem? to update gr3.7 to gr 3.7.1 or other way to solve this problem, thank you very much!

abrox commented 10 years ago

Hi, I modify sources to compile with gnuradio 3.7, I can pull that stuff to some branch ( tomorrow). Most of the things were trivial namespace issues. Some difficulties with swig and include paths( don't know if I solved those correctly). Anyway I'm totally newbie with gnuradio let see what happens... :-)

johanadler commented 10 years ago

I was just able to compile gr-ais from git against gnuradio 3.7.2git-145-g407c3569, but it took a lot of changes to a lot of files, and I still can't get gr-ais working. Latest build I made gives:

Traceback (most recent call last):
  File "/usr/local/bin/ais_rx.py", line 14, in <module>
    from gr_ais import *
  File "/usr/local/lib/python2.7/dist-packages/gr_ais/__init__.py", line 45, in <module>
    from gr_ais_swig import *
  File "/usr/local/lib/python2.7/dist-packages/gr_ais/gr_ais_swig.py", line 26, in <module>
    _gr_ais_swig = swig_import_helper()
  File "/usr/local/lib/python2.7/dist-packages/gr_ais/gr_ais_swig.py", line 22, in swig_import_helper
    _mod = imp.load_module('_gr_ais_swig', fp, pathname, description)
ImportError: /usr/local/lib/libgnuradio-gr_ais.so: undefined symbol: _Z14gr_zero_vectorRSt6vectorIfSaIfEE

It is rather annoying, but I keep trying.

bistromath commented 10 years ago

Use the next branch. On Nov 6, 2013 1:07 AM, "Johan Adler" notifications@github.com wrote:

I was just able to compile gr-ais from git against gnuradio 3.7.2git-145-g407c3569, but it took a lot of changes to a lot of files, and I still can't get gr-ais working. Latest build I made gives:

Traceback (most recent call last): File "/usr/local/bin/ais_rx.py", line 14, in from gr_ais import File "/usr/local/lib/python2.7/dist-packages/gr_ais/init.py", line 45, in from gr_ais_swig import File "/usr/local/lib/python2.7/dist-packages/gr_ais/gr_ais_swig.py", line 26, in _gr_ais_swig = swig_import_helper() File "/usr/local/lib/python2.7/dist-packages/gr_ais/gr_ais_swig.py", line 22, in swig_import_helper _mod = imp.load_module('_gr_ais_swig', fp, pathname, description) ImportError: /usr/local/lib/libgnuradio-gr_ais.so: undefined symbol: _Z14gr_zero_vectorRSt6vectorIfSaIfEE

It is rather annoying, but I keep trying.

— Reply to this email directly or view it on GitHubhttps://github.com/bistromath/gr-ais/issues/7#issuecomment-27852851 .

bistromath commented 10 years ago

Actually no, I'm looking at this again, and what version are you using exactly? Master should work just fine. I just pushed a couple of small things in there, but it compiles and runs fine on 3.7.2. Sorry, just never closed this bug when I fixed the issue a couple months ago.

--n

On Wed, Nov 6, 2013 at 7:02 AM, Nick Foster bistromath@gmail.com wrote:

Use the next branch. On Nov 6, 2013 1:07 AM, "Johan Adler" notifications@github.com wrote:

I was just able to compile gr-ais from git against gnuradio 3.7.2git-145-g407c3569, but it took a lot of changes to a lot of files, and I still can't get gr-ais working. Latest build I made gives:

Traceback (most recent call last): File "/usr/local/bin/ais_rx.py", line 14, in from gr_ais import File "/usr/local/lib/python2.7/dist-packages/gr_ais/init.py", line 45, in from gr_ais_swig import File "/usr/local/lib/python2.7/dist-packages/gr_ais/gr_ais_swig.py", line 26, in _gr_ais_swig = swig_import_helper() File "/usr/local/lib/python2.7/dist-packages/gr_ais/gr_ais_swig.py", line 22, in swig_import_helper _mod = imp.load_module('_gr_ais_swig', fp, pathname, description) ImportError: /usr/local/lib/libgnuradio-gr_ais.so: undefined symbol: _Z14gr_zero_vectorRSt6vectorIfSaIfEE

It is rather annoying, but I keep trying.

— Reply to this email directly or view it on GitHubhttps://github.com/bistromath/gr-ais/issues/7#issuecomment-27852851 .

bistromath commented 10 years ago

Closing this unless there's actually a problem compiling on 3.7.2.