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
{{ message }}
This repository was archived by the owner on Jul 8, 2022. It is now read-only.
We don't have the old problems with the void* conversion anymore. Now we
want to explain to the user in detail how to install cppzmq for the
cppTango repository and when installed via the tango source
distribution.
## Installing required cppzmq version on older systems
48
48
49
-
When compiling on Ubuntu 16.04 or on Debian stretch, the following error can occur:
50
-
51
-
```
52
-
[ 17%] Building CXX object cppapi/client/CMakeFiles/client_objects.dir/zmqeventconsumer.cpp.o
53
-
/home/ingvord/Projects/org.tango/git/cppTango/cppapi/client/zmqeventconsumer.cpp: In member function ‘virtual void* Tango::ZmqEventConsumer::run_undetached(void*)’:
54
-
/home/ingvord/Projects/org.tango/git/cppTango/cppapi/client/zmqeventconsumer.cpp:186:18: error: cannot convert ‘zmq::socket_t’ to ‘void*’ in assignment
55
-
items[0].socket = *control_sock;
56
-
^
57
-
/home/ingvord/Projects/org.tango/git/cppTango/cppapi/client/zmqeventconsumer.cpp:187:18: error: cannot convert ‘zmq::socket_t’ to ‘void*’ in assignment
58
-
items[1].socket = *heartbeat_sub_sock;
59
-
^
60
-
/home/ingvord/Projects/org.tango/git/cppTango/cppapi/client/zmqeventconsumer.cpp:188:18: error: cannot convert ‘zmq::socket_t’ to ‘void*’ in assignment
61
-
items[2].socket = *event_sub_sock;
62
-
^
63
-
/home/ingvord/Projects/org.tango/git/cppTango/cppapi/client/zmqeventconsumer.cpp: In member function ‘bool Tango::ZmqEventConsumer::process_ctrl(zmq::message_t&, zmq::pollitem_t*, int&)’:
64
-
/home/ingvord/Projects/org.tango/git/cppTango/cppapi/client/zmqeventconsumer.cpp:1063:47: error: cannot convert ‘zmq::socket_t’ to ‘void*’ in assignment
65
-
poll_list[old_poll_nb].socket = *tmp_sock;
66
-
```
67
-
68
-
This is due to incompatibility of zmq.hpp file provided in libzmq3-dev:4.1.7
69
-
(ubuntu 16.04), i.e. it is not possible to compile cppTango using zmq.hpp file
70
-
provided by libzmq3-dev:4.1.7 (ubuntu 16.04).
49
+
On some debian versions, 7 (wheezy) and older, there is no compatible cppzmq version available.
71
50
72
51
This requires installing [cppzmq](https://github.com/zeromq/cppzmq) via:
0 commit comments