https://github.com/zeromq/cppzmq/blob/master/zmq.hpp
On Tue, May 20, 2014 at 12:27 PM, Michael Dickens <[email protected] > wrote: > If I change all of the "zmq.hpp" #include lines to be instead "zmq.h", > then I get the following errors: > {{{ > :info:build In file included from > /opt/local/var/macports/build/_opt_MacPorts_trunk_dports_science_gnuradio/gnuradio-devel/work/gnuradio-cb0bc7f070c41825ab7aee7f093dc326e62e2fdb/gr-zeromq/lib/sub_source_impl.cc:28: > :info:build > /opt/local/var/macports/build/_opt_MacPorts_trunk_dports_science_gnuradio/gnuradio-devel/work/gnuradio-cb0bc7f070c41825ab7aee7f093dc326e62e2fdb/gr-zeromq/lib/sub_source_impl.h:38:7: > error: use of undeclared identifier 'zmq' > :info:build zmq::context_t *d_context; > :info:build ^ > :info:build > /opt/local/var/macports/build/_opt_MacPorts_trunk_dports_science_gnuradio/gnuradio-devel/work/gnuradio-cb0bc7f070c41825ab7aee7f093dc326e62e2fdb/gr-zeromq/lib/sub_source_impl.h:39:7: > error: use of undeclared identifier 'zmq' > :info:build zmq::socket_t *d_socket; > :info:build ^ > }}} > > So ... it seems like unless there's some standard way to get zmq.hpp then > we won't be using gr-zeromq on OSX. Any ideas? Can someone send me that > file? - MLD > > On May 19, 2014, at 3:59 PM, Michael Dickens <[email protected]> > wrote: > > If I look through the tarball for zmq 3.2.4 or 4.0.4, I find only zmq.h, > no zmq.hpp. From the look of it, zmq is written as mixed C/C++, and the > API header is purely C (wrapped with extern "C" if included as C++). > Hence, I think the CMake Find file needs to check for both zmq.hpp and > zmq.h as the header, then somehow get that info into the gr-zeromq sources. > - MLD > > > _______________________________________________ > Discuss-gnuradio mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >
_______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
