Code Monkey home page Code Monkey logo

Comments (3)

dl1ksv avatar dl1ksv commented on July 29, 2024

No, I can't check this, as I don't have such an old gnuradio installation.
gnuradio changed from boost::shared_ptr to std::shared_ptr. This transition took place from 3.8 to 3.9.
And swig was removed meanwhile.

My code reflects this in

#ifdef BOOST_SHARED_PTR
typedef boost::shared_ptr< afsk1200 > sptr;
#else
typedef std::shared_ptr< afsk1200 > sptr;
#endif

and

gr-ax25/CMakeLists.txt

Lines 78 to 80 in 6589f63

if(Gnuradio_VERSION VERSION_LESS "3.9")
add_definitions(-DBOOST_SHARED_PTR)
endif()

As you mentioned, that it worked before your update, I think it's a swig problem, as your output suggest that swigs generates
std::shared_pointer and boost::shared_pointer
I suggest you change

#ifdef BOOST_SHARED_PTR
typedef boost::shared_ptr< afsk1200 > sptr;
#else
typedef std::shared_ptr< afsk1200 > sptr;
#endif

typedef boost::shared_ptr< afsk1200 > sptr;

in
gr-ax25/include/afsk/afsk1200.h
gr-ax25/include/afsk/aprs2inet.h
gr-ax25/include/afsk/ax25decode.h

I hope, this helps.

from gr-ax25.

muaddib1984 avatar muaddib1984 commented on July 29, 2024

from gr-ax25.

dl1ksv avatar dl1ksv commented on July 29, 2024

Thanks for reporting and testing.

from gr-ax25.

Related Issues (15)

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.