[Insight-developers] Trouble buliding ITKCommon
Parag Chandra
chandra@cs.unc.edu
Wed, 29 Nov 2000 13:02:51 -0500
This is a multi-part message in MIME format.
------=_NextPart_000_018F_01C05A04.AE116B00
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
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
Under Cygwin:
In file included from =
../../../Insight/Code/Common/itkMultiThreader.h:20,
from =
../../../Insight/Code/Common/itkProcessObject.h:21,
from ../../../Insight/Code/Common/itkDataObject.cxx:17:
../../../Insight/Code/Common/itkMutexLock.h:37: conflicting types for =
`typedef void * itk::MutexType'
../../../Insight/Code/Common/itkMutexLock.h:32: previous declaration as =
`typedef pthread_mutex_t itk::MutexType'
...
Under SunOS:
In file included from =
../../../Insight/Code/Common/itkMultiThreader.h:29,
from =
../../../Insight/Code/Common/itkProcessObject.h:21,
from ../../../Insight/Code/Common/itkDataObject.cxx:17:
/usr/include/unistd.h:211: type specifier omitted for parameter
/usr/include/unistd.h:255: type specifier omitted for parameter
/usr/include/unistd.h:274: syntax error before `('
...
Under Linux:
../../../Insight/Code/Common/itkProcessObject.cxx: In method `void =
::itk::ProcessObject::SetNthInput(unsigned int, class ::itk::DataObject =
*)':
../../../Insight/Code/Common/itkProcessObject.cxx:143: no match for =
`::itk::DataObject *& =3D=3D =
::itk::::itk::SmartPointer<::itk::DataObject> &'
...
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?
Thanks,
-Parag Chandra
------=_NextPart_000_018F_01C05A04.AE116B00
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I'm having some problems building =
ITKCommon on=20
nearly every platform. I did an update on the source tree this morning =
for the=20
first time in a couple of weeks, and the library and=20
BasicArchitectureTest build and run successfully only on VC++. =
Here's=20
the errors I get when trying to compile ITKCommon</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Under Cygwin:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>In file included from=20
../../../Insight/Code/Common/itkMultiThreader.h:20,<BR> =
&=
nbsp;=20
from=20
../../../Insight/Code/Common/itkProcessObject.h:21,<BR> =
&=
nbsp;=20
from=20
../../../Insight/Code/Common/itkDataObject.cxx:17:<BR>../../../Insight/Co=
de/Common/itkMutexLock.h:37:=20
conflicting types for `typedef void *=20
itk::MutexType'<BR>../../../Insight/Code/Common/itkMutexLock.h:32: =
previous=20
declaration as `typedef pthread_mutex_t =
itk::MutexType'<BR>...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Under SunOS:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>In file included from=20
../../../Insight/Code/Common/itkMultiThreader.h:29,<BR> =
&=
nbsp;=20
from=20
../../../Insight/Code/Common/itkProcessObject.h:21,<BR> =
&=
nbsp;=20
from=20
../../../Insight/Code/Common/itkDataObject.cxx:17:<BR>/usr/include/unistd=
.h:211:=20
type specifier omitted for parameter<BR>/usr/include/unistd.h:255: type=20
specifier omitted for parameter<BR>/usr/include/unistd.h:274: syntax =
error=20
before `('<BR>...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Under Linux:</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2>../../../Insight/Code/Common/itkProcessObject.cxx:=20
In method `void ::itk::ProcessObject::SetNthInput(unsigned int, class=20
::itk::DataObject =
*)':<BR>../../../Insight/Code/Common/itkProcessObject.cxx:143:=20
no match for `::itk::DataObject *& =3D=3D=20
::itk::::itk::SmartPointer<::itk::DataObject> =
&'<BR>...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Just to be sure, I did a checkout in a =
brand new=20
directory and still got these errors. I think I read in the mailing list =
a=20
couple days ago that something is broken, but I was under the impression =
that=20
ITKCommon still builds correctly. Is anyone else encountering these same =
errors=20
or have a workaround?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>-Parag =
Chandra</FONT></DIV></BODY></HTML>
------=_NextPart_000_018F_01C05A04.AE116B00--