Git Product home page Git Product logo

Comments (5)

fpagliughi avatar fpagliughi commented on August 18, 2024 4

The common cause of this error is forgetting to link both the Paho C and C++ libraries into your application. It needs both libpaho-mqttpp3.so (C++) and libpaho-mqtt3as.so (C).
If you're not using SSL/TLS, you can use libpaho-mqtt3a.so instead of the "...as.so" version.

from paho.mqtt.cpp.

priema avatar priema commented on August 18, 2024

oh got it.. I unintentional merged two different paho_mqtt libraries

from paho.mqtt.cpp.

kandizzy avatar kandizzy commented on August 18, 2024

@priema Hi, I know this was a while ago, but I am having the same trouble. Would you let me know what you meant by unintentionally merging two different paho_mqtt libraries? Thanks!

from paho.mqtt.cpp.

kandizzy avatar kandizzy commented on August 18, 2024

^ that was it.

from paho.mqtt.cpp.

darthShana avatar darthShana commented on August 18, 2024

HI All..
Im facing the same issue.. Any chance you could post a simple working CMakeLists which can build a executable that uses mqtt::async_client

from paho.mqtt.cpp.

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.