[IGSTK-Developers] Mac issue redux

Kevin Gary kgary at asu.edu
Tue Oct 18 20:06:47 EDT 2005


David,

I am getting the termio include issue again on the Mac. We
discussed this problem before (June 10), I just did a clean
checkout and still get it. Output:

Building object file igstkSerialCommunicationForPosix.o...
In file included from /Users/kgary/work/ISIS/IGSTK/dev/IGSTK/Source/igstkSerialCommunicationForPosix.cxx:27:
/Users/kgary/work/ISIS/IGSTK/dev/IGSTK/Source/igstkSerialCommunicationForPosix.h:25:21: termio.h: No such file or directory
In file included from /Users/kgary/work/ISIS/IGSTK/dev/IGSTK/Source/igstkSerialCommunicationForPosix.cxx:27:
/Users/kgary/work/ISIS/IGSTK/dev/IGSTK/Source/igstkSerialCommunicationForPosix.h:113: error: '
    termios' is used as a type, but is not defined as a type.
...

When I conditionally include termios.h instead of termio.h on the
Mac in igstkSerialCommunicationForPosix.h, things go off without
a hitch:

#if defined(__APPLE__)
#include <termios.h>
#else
#include <termio.h>
#endif

I don't know if this is the best solution. I cannot check in
anyway.

Kevin G.

-- 
===
Kevin A. Gary, Ph.D.
Assistant Professor
DCST, ASU East
(480)727-1373
http://kgary2.east.asu.edu
kgary at asu.edu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kgary.vcf
Type: text/x-vcard
Size: 369 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/igstk-developers/attachments/20051018/dbfed6f6/attachment.vcf>


More information about the IGSTK-Developers mailing list