您的位置:首页 > 大数据 > 物联网

百度IOT Hub (八) Paho C Windows编译

2020-02-06 08:09 337 查看
  1. git clone https://github.com/eclipse/paho.mqtt.c.git
  2. "Open Project" with VS 2017
  3. Build "ALL_BUILD" Project
  4. paho-mqtt3a paho-mqtt3as paho-mqtt3c paho-mqtt3cs的动态(dll)和静态(lib)链接库,生成在\paho.mqtt.c\build\src\Debug\
  5. 编译Sample工程,例如MQTTClient_subscribe。
  6. 运行Sample / MQTTClient_subscribe时,需要手动把Step#6生成的dll和lib,拷贝到\paho.mqtt.c\build\src\samples\Debug\ 即可。
  • 点赞
  • 收藏
  • 分享
  • 文章举报
umltec 发布了12 篇原创文章 · 获赞 0 · 访问量 577 私信 关注
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: