Giter Club home page Giter Club logo

Comments (6)

prisemut avatar prisemut commented on August 22, 2024 2

Same issue here, I did not figure out how to change the swig path in cmake.

However the following work around works:
copy all .i files from the gnuradio installation into the projects build/swig directory
copy gnuradio_swig_bug_workaround.h into the same directory
In Ubuntu 16.04 do this:

cp /usr/include/gnuradio/swig/*.i swig/
cp /usr/include/gnuradio/swig/gnuradio_swig_bug_workaround.h swig/
make

from ais.

coshub82 avatar coshub82 commented on August 22, 2024

Hi,

I have exactly the same issue, and doesn't know how to solve it.
Have you manage to resolve the Unable to find 'gnuradio.i' ?
Thanks

from ais.

dadopap avatar dadopap commented on August 22, 2024

Hi

Yes there are some issue on compiling, unfortunately this is inherited from the original gr-aistx forked on github.

the solution pointed above should work.

The way I did it is to modify the .c/.cpp files after the make fails in the build directory, where gnuradio_swig_bug_workaround.h is included with the right directory (if I remember correctly is "include <gnuradio/swig/gnuradio_swig_bug_workaround.h>" instead of simply gnuradio_swig_bug_workaround.h

after that you rerun make and it should find everything.

from ais.

 avatar commented on August 22, 2024

I was able to fix this issue by adding
${GNURADIO_RUNTIME_INCLUDE_DIRS}/gnuradio/swig
at line 114 of gr-aistx/CMakeLists.txt

feel free to see what I did here: https://github.com/zhudsonSM/ais

from ais.

caoba1 avatar caoba1 commented on August 22, 2024

thank you prisemut, worked on debian! i

from ais.

embyte0 avatar embyte0 commented on August 22, 2024

Great, this should work now.

from ais.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.