<br><br><div class="gmail_quote">2010/6/10 Rafael Palomar <span dir="ltr"><<a href="mailto:rafaelpalomaravalos@gmail.com">rafaelpalomaravalos@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello all,<br><br>I am trying to build IGST<br>
</blockquote></div><br>I am sorry for that...<br><br>So..I am trying to build IGSTK with OpenIGTLink suport and I get the following errors:<br><br>Building CXX object Source/CMakeFiles/IGSTK.dir/igstkSerialCommunicationForPosix.o                                                                    <br>
/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx: In member function ‘virtual igstk::SerialCommunicationForPosix::ResultType igstk::SerialCommunicationForPosix::InternalOpenPort()’:<br>/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:74:35: error: ‘IGSTK_SERIAL_PORT_0’ was not declared in this scope<br>
/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:75:35: error: ‘IGSTK_SERIAL_PORT_1’ was not declared in this scope<br>/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:76:35: error: ‘IGSTK_SERIAL_PORT_2’ was not declared in this scope<br>
/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:77:35: error: ‘IGSTK_SERIAL_PORT_3’ was not declared in this scope<br>/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:78:35: error: ‘IGSTK_SERIAL_PORT_4’ was not declared in this scope<br>
/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:79:35: error: ‘IGSTK_SERIAL_PORT_5’ was not declared in this scope<br>/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:80:35: error: ‘IGSTK_SERIAL_PORT_6’ was not declared in this scope<br>
/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:81:35: error: ‘IGSTK_SERIAL_PORT_7’ was not declared in this scope<br>/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:96:20: error: aggregate ‘igstk::SerialCommunicationForPosix::InternalOpenPort()::termios t’ has incomplete type and cannot be defined<br>
/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:97:34: error: ‘tcgetattr’ was not declared in this scope<br>/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:105:14: error: ‘VMIN’ was not declared in this scope<br>
/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:106:14: error: ‘VTIME’ was not declared in this scope<br>/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:110:34: error: ‘TCSANOW’ was not declared in this scope<br>
/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:110:44: error: ‘tcsetattr’ was not declared in this scope<br>/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:113:34: error: ‘TCIOFLUSH’ was not declared in this scope<br>
/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:113:43: error: ‘tcflush’ was not declared in this scope<br>/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx: In member function ‘virtual igstk::SerialCommunicationForPosix::ResultType igstk::SerialCommunicationForPosix::InternalUpdateParameters()’:<br>
/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:159:28: error: ‘B9600’ was not declared in this scope<br>/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:160:28: error: ‘B19200’ was not declared in this scope<br>
/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:161:28: error: ‘B38400’ was not declared in this scope<br>/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:162:28: error: ‘B57600’ was not declared in this scope<br>
/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:163:28: error: ‘B115200’ was not declared in this scope<br>/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:167:18: error: aggregate ‘igstk::SerialCommunicationForPosix::InternalUpdateParameters()::termios t’ has incomplete type and cannot be defined<br>
/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:168:28: error: ‘tcgetattr’ was not declared in this scope<br>/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:169:17: error: ‘CSIZE’ was not declared in this scope<br>
/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:178:17: error: ‘CBAUD’ was not declared in this scope<br>/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:185:18: error: ‘CS8’ was not declared in this scope<br>
/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:189:18: error: ‘CS7’ was not declared in this scope<br>/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:195:19: error: ‘PARENB’ was not declared in this scope<br>
/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:196:19: error: ‘PARODD’ was not declared in this scope<br>/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:200:18: error: ‘PARENB’ was not declared in this scope<br>
/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:201:19: error: ‘PARODD’ was not declared in this scope<br>/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:207:19: error: ‘CSTOPB’ was not declared in this scope<br>
/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:211:18: error: ‘CSTOPB’ was not declared in this scope<br>/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:218:16: error: ‘CRTSCTS’ was not declared in this scope<br>
/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:232:10: error: ‘VMIN’ was not declared in this scope<br>/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:233:10: error: ‘VTIME’ was not declared in this scope<br>
/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:238:30: error: ‘TCSADRAIN’ was not declared in this scope<br>/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:238:42: error: ‘tcsetattr’ was not declared in this scope<br>
/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx: In member function ‘virtual igstk::SerialCommunicationForPosix::ResultType igstk::SerialCommunicationForPosix::InternalSendBreak()’:<br>/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:304:33: error: ‘tcsendbreak’ was not declared in this scope<br>
/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx: In member function ‘virtual igstk::SerialCommunicationForPosix::ResultType igstk::SerialCommunicationForPosix::InternalPurgeBuffers()’:<br>/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:320:29: error: ‘TCIOFLUSH’ was not declared in this scope<br>
/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:320:38: error: ‘tcflush’ was not declared in this scope<br>/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx: In member function ‘virtual igstk::SerialCommunicationForPosix::ResultType igstk::SerialCommunicationForPosix::InternalRead(char*, unsigned int, unsigned int&)’:<br>
/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:382:20: error: aggregate ‘igstk::SerialCommunicationForPosix::InternalRead(char*, unsigned int, unsigned int&)::termios t’ has incomplete type and cannot be defined<br>
/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:385:35: error: ‘tcgetattr’ was not declared in this scope<br>/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:387:14: error: ‘VMIN’ was not declared in this scope<br>
/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:388:14: error: ‘VTIME’ was not declared in this scope<br>/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:389:34: error: ‘TCSANOW’ was not declared in this scope<br>
/home/rafa/src/IGSTK-4-2/Source/igstkSerialCommunicationForPosix.cxx:389:44: error: ‘tcsetattr’ was not declared in this scope<br>make[2]: *** [Source/CMakeFiles/IGSTK.dir/igstkSerialCommunicationForPosix.o] Error 1<br>make[1]: *** [Source/CMakeFiles/IGSTK.dir/all] Error 2<br>
make: *** [all] Error 2<br><br>It is curious that the first lines regarding IGSTK_SERIAL_PORT. should be declared in the igstkConfigure.h. Anyone have dealing with these errors before?<br><br>Thank you in advance.<br>