Coder Social home page Coder Social logo

Comments (6)

guruofquality avatar guruofquality commented on June 15, 2024

The behaviour makes it look like the UHD_VERSION define is different on your system. You should not see boost:: smart pointer stuff in there.

What value do you have in uhd/version.hpp? I have #define UHD_VERSION 4000099 after installing from the "v4.0.0.0" tag



    //stash streamers to implement old-style issue stream cmd and async message
    #if UHD_VERSION > 4000000
    std::map<size_t, std::weak_ptr<uhd::rx_streamer> > _rx_streamers;
    std::map<size_t, std::weak_ptr<uhd::tx_streamer> > _tx_streamers;
    #else
    std::map<size_t, boost::weak_ptr<uhd::rx_streamer> > _rx_streamers;
    std::map<size_t, boost::weak_ptr<uhd::tx_streamer> > _tx_streamers;
    #endif

from soapyuhd.

ZeroChaos- avatar ZeroChaos- commented on June 15, 2024
zero@theprophet ~ % cat /usr/include/uhd/version.hpp
//
// Copyright 2010-2016 Ettus Research LLC
// Copyright 2018 Ettus Research, a National Instruments Company
//
// SPDX-License-Identifier: GPL-3.0-or-later
//

#pragma once

/*!
 * The ABI version string that the client application builds against.
 * Call get_abi_string() to check this against the library build.
 * The format is oldest API compatible release - ABI compat number.
 * The compatibility number allows pre-release ABI to be versioned.
 */
#define UHD_VERSION_ABI_STRING "4.0.0"

/*!
 * A macro to check UHD version at compile-time.
 * The value of this macro is MAJOR * 1000000 + API * 10000 + ABI * 100 + PATCH
 * (e.g., for UHD 3.10.0.1 this is 3100001).
 */
#define UHD_VERSION 4000000

#ifdef __cplusplus
#include <uhd/config.hpp>
#include <string>

namespace uhd{

    //! Get the version string (dotted version number + build info)
    UHD_API std::string get_version_string(void);

    //! Get the ABI compatibility string for this build of the library
    UHD_API std::string get_abi_string(void);

    //! Get the component string
    UHD_API std::string get_component(void);

} //namespace uhd
#endif

from soapyuhd.

guruofquality avatar guruofquality commented on June 15, 2024

You must have a release mode build or something that doesnt set the patch level. Such a dumb fix: a267e3b

from soapyuhd.

ZeroChaos- avatar ZeroChaos- commented on June 15, 2024

compiled successfully and looking good. my apologies for not catching this before asking for a release. Risking it all again, can I get another tag please? :-)

from soapyuhd.

guruofquality avatar guruofquality commented on June 15, 2024

https://github.com/pothosware/SoapyUHD/tree/soapy-uhd-0.4.1

from soapyuhd.

ZeroChaos- avatar ZeroChaos- commented on June 15, 2024

thanks again :-)

from soapyuhd.

Related Issues (20)

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.