Difference between libzmq and cppzmq , and between zmq.h and zmq.hpp?
要在Linux-Ubuntu上安装ZeroMQ,请使用一个网站
https://tuananh.org/2015/06/16/how-to-install-zeromq-on-ubuntu/
表示要运行以下命令:
sudo apt-get install libtool pkg-config build-essential autoconf automake
sudo apt-get安装libzmq-dev
我们将分别安装libzmq-dev。
而根据
http://zeromq.org/intro:获取软件
"确保已安装libtool,pkg-config,build-essential,autoconf和automake。"
因此,我们不需要显式安装libzmq-dev。
所以我的问题是,它有什么区别? libzmq的用途是什么?它与libzmq-dev有何不同?如果我想用C语言编写代码,那么是否需要按照https://github.com/zeromq/cppzmq中的说明安装libzmq和cppzmq。
请告诉哪个头文件(zmq.h,zmq.hpp和zhelpers.hpp)来自哪个库?
"Make sure that libtool, pkg-config, build-essential, autoconf, and automake are installed." So we dont need to install libzmq-dev explicity.
如果要从源代码构建libzmq,则需要这些工具。如果通过
安装,则无需这样做。