Delicious ZeroMQ recipes!
Tested on Ubuntu 20.04(WSL2).
Install clang
compiler, zmq
lib and Google unit test gtest
. We need python3
to install Google cpplint and latest cmake package.
$ sudo apt install -y clang libczmq-dev libgtest-dev python3
If you want setup pip3 package bin.
$ echo "export PATH=\$PATH:\$HOME/.local/bin" >> .bashrc && source .bashrc
Install cmake
.
$ pip3 install --upgrade cmake
$ sudo apt -y install uftrace valgrind
Do uftrace to find performance tuning points.
$ uftrace main
Do valgrind to check memory leaks.
$ valgrind main
Do Google cpplint
to lint up code.
$ cpplint main