<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4134.600" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2>I'm having some problems building ITKCommon on
nearly every platform. I did an update on the source tree this morning for the
first time in a couple of weeks, and the library and
BasicArchitectureTest build and run successfully only on VC++. Here's
the errors I get when trying to compile ITKCommon</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Under Cygwin:</FONT></DIV>
<DIV><FONT face=Arial size=2>In file included from
../../../Insight/Code/Common/itkMultiThreader.h:20,<BR>
from
../../../Insight/Code/Common/itkProcessObject.h:21,<BR>
from
../../../Insight/Code/Common/itkDataObject.cxx:17:<BR>../../../Insight/Code/Common/itkMutexLock.h:37:
conflicting types for `typedef void *
itk::MutexType'<BR>../../../Insight/Code/Common/itkMutexLock.h:32: previous
declaration as `typedef pthread_mutex_t itk::MutexType'<BR>...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Under SunOS:</FONT></DIV>
<DIV><FONT face=Arial size=2>In file included from
../../../Insight/Code/Common/itkMultiThreader.h:29,<BR>
from
../../../Insight/Code/Common/itkProcessObject.h:21,<BR>
from
../../../Insight/Code/Common/itkDataObject.cxx:17:<BR>/usr/include/unistd.h:211:
type specifier omitted for parameter<BR>/usr/include/unistd.h:255: type
specifier omitted for parameter<BR>/usr/include/unistd.h:274: syntax error
before `('<BR>...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Under Linux:</FONT></DIV>
<DIV><FONT face=Arial size=2>../../../Insight/Code/Common/itkProcessObject.cxx:
In method `void ::itk::ProcessObject::SetNthInput(unsigned int, class
::itk::DataObject *)':<BR>../../../Insight/Code/Common/itkProcessObject.cxx:143:
no match for `::itk::DataObject *& ==
::itk::::itk::SmartPointer<::itk::DataObject> &'<BR>...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Just to be sure, I did a checkout in a brand new
directory and still got these errors. I think I read in the mailing list a
couple days ago that something is broken, but I was under the impression that
ITKCommon still builds correctly. Is anyone else encountering these same errors
or have a workaround?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2>-Parag Chandra</FONT></DIV></BODY></HTML>