You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
g++ -I/opt/homebrew/Cellar/cppzmq/4.10.0/include -I/opt/homebrew/Cellar/zeromq/4.3.5_1/include testprogram.cpp -L/opt/homebrew/Cellar/zeromq/4.3.5_1/lib -lzmq
testprogram.cpp:6:33: error: no member named 'socket_type' in namespace 'zmq'; did you mean 'socket_t'?
zmq::socket_t sock(ctx, zmq::socket_type::push);
~~~~~^~~~~~~~~~~
socket_t
/opt/homebrew/Cellar/cppzmq/4.10.0/include/zmq.hpp:2181:7: note: 'socket_t' declared here
class socket_t : public detail::socket_base
^
testprogram.cpp:6:46: error: no member named 'push' in 'zmq::socket_t'
zmq::socket_t sock(ctx, zmq::socket_type::push);
~~~~~~~~~~~~~~~~~~^
testprogram.cpp:9:35: error: no member named 'send_flags' in namespace 'zmq'
sock.send(zmq::buffer(m), zmq::send_flags::dontwait);
~~~~~^
testprogram.cpp:9:19: error: no member named 'buffer' in namespace 'zmq'
sock.send(zmq::buffer(m), zmq::send_flags::dontwait);
~~~~~^
4 errors generated.
The example program here:
Doesn't seem to compile, due to multiple errors:
Platform details:
Platform: MacOS Ventura
Installed via: homebrew
zmq version: 4.3.5 (latest available)
cppzmq version: 4.10.0 (latest available)
The text was updated successfully, but these errors were encountered: