Do you see the same behavior if you replace C with fopen() ? On Tue, Jan 20, 2015 at 7:40 AM, Olaf Mandel <o.man...@menlosystems.com> wrote:
> Am 20.01.2015 14:35, schrieb Olaf Mandel: > -Snipp- > > > > > > #include <sys/ioctl.h> > > #include <zmq.hpp> > -Snipp- > > Shoot: That was missing a few include statements at the top the program > and the compile instructions. Correct start of the demo program: > > > /* > * Compile with: > * g++ -Wall -Werror -Wextra -o test test.cpp -lzmq > */ > #include <fcntl.h> > #include <fstream> > #include <iostream> > #include <linux/spi/spidev.h> > #include <sys/ioctl.h> > #include <zmq.hpp> > > > Sorry about that, > Olaf Mandel > -- > Olaf Mandel > phone: +49-89-189166-250 > fax: +49-89-189166-111 > Menlo Systems GmbH > Am Klopferspitz 19a, D-82152 Martinsried > Amtsgericht München HRB 138145 > Geschäftsführung: Dr Michael Mei, Dr Ronald Holzwarth > USt-IdNr. DE217772017, St.-Nr. 14316170324 > > > _______________________________________________ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > >
_______________________________________________ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev