[zeromq-dev] ZMQ vs SPI: FD shenanigans
Olaf Mandel
o.mandel at menlosystems.com
Tue Jan 20 14:40:06 CET 2015
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150120/c928ddc7/attachment.sig>
More information about the zeromq-dev
mailing list