Giter Site home page Giter Site logo

Comments (4)

CloudBreadPaPa avatar CloudBreadPaPa commented on August 23, 2024

Removed boost 1.70.0 and Installed boost 1.67.0, solved the build issue.

from sptag.

shanepeckham avatar shanepeckham commented on August 23, 2024

I can confirm that this error occurs with Boost V 1.69.0 as well

from sptag.

s-zk avatar s-zk commented on August 23, 2024

I met this too, SPTAG can not "make" with boost 1.70.0, but 1.67.0 worked for me on Ubuntu 16.04.5 64-bits.

from sptag.

dupuyjs avatar dupuyjs commented on August 23, 2024

Similar issue on Windows as well.
When using Boost 1.70, you got a build issue for SPTAGClient project -> Connection.cpp(25,15) (on m_strand line)

Connection.cpp(25,15): error C2664: 'boost::asio::io_context::strand::strand(const boost::asio::io_context::strand &)': cannot convert argument 1 from 'boost::asio::execution_context' to 'boost::asio::io_context &'

Connection::Connection(ConnectionID p_connectionID,
                       boost::asio::ip::tcp::socket&& p_socket,
                       const PacketHandlerMapPtr& p_handlerMap,
                       std::weak_ptr<ConnectionManager> p_connectionManager)
    : c_connectionID(p_connectionID),
      c_handlerMap(p_handlerMap),
      c_connectionManager(std::move(p_connectionManager)),
      m_socket(std::move(p_socket)),
      m_strand(p_socket.get_executor().context()),
      m_heartbeatTimer(p_socket.get_executor().context()),
      m_remoteConnectionID(c_invalidConnectionID),
      m_stopped(true),
      m_heartbeatStarted(false)
{
}

from sptag.

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.