Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在将mosquitto 1.4websockets 设置为 on 进行编译时遇到问题,我有以下 cmake 行:
mosquitto 1.4
cmake .. -DWITH_THREADING:BOOL=OFF -DWITH_WEBSOCKETS=ON
这将为视觉工作室带来不错mosquitto.sln的效果,但现在我不见了libwebsocket.h!
mosquitto.sln
libwebsocket.h
所以问题是,在 Windows 上安装 websocket 然后让 mosquitto 构建的最简单方法是什么?
在构建 mosquitto 时,需要先下载并编译 libwebsockets,然后使用提供的 libwebsockets.h 和编译的 libwebsockets.lib/.dll。
https://libwebsockets.org/