目标是提交一个git分支.分支的"git status"输出为:
On branch zeromq_new
Your branch is up to date with 'origin/zeromq'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
(commit or discard the untracked or modified content in submodules)
modified: log4cplus (modified content, untracked content)
modified: ../lib/notification/cppzmq (modified content)
Run Code Online (Sandbox Code Playgroud)
目录结构如下所示:
HySecureGateway
???fes
? ???log4cplus
? ???.git
? ???.gitattributes
? ???.gitignore
? ???.gitmodules
? ???catch
? ? ???.git
? ? ???.gitattributes …Run Code Online (Sandbox Code Playgroud) 对于在 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 install libzmq-dev
我们正在其中单独安装 libzmq-dev。而根据
http://zeromq.org/intro:get-the-software
“确保安装了 libtool、pkg-config、build-essential、autoconf 和 automake。 ” 因此我们不需要显式安装 libzmq-dev。
所以我的问题是它有什么区别?libzmq 有什么用?它与 libzmq-dev 有什么不同吗?如果我想用 C++ 进行编码,那么我是否需要安装 libzmq 和 cppzmq ,如https://github.com/zeromq/cppzmq中所示。
请告诉哪个头文件( zmq.h ,zmq.hpp 和 zhelpers.hpp )来自哪个库?