If you don't use zmq_poller correlation function, can be normal compilation,
But as long as in the code to add use zmq_poller correlation function, will quote:
Error: 'zmq_poller_new' was not declared in this scope
Error: 'zmq_poller_event_t' was not declared in this scope
Error: 'zmq_poller_wait_all' was not declared in this scope
Etc.
When I compile using the command: g + + router. CPP - o the router - LZMQ
Excuse me each great god, and how to solve this problem?
CodePudding user response:
Try and allows the use of ZMQ draft macro?