[Insight-developers] Trouble buliding ITKCommon

Parag Chandra chandra at cs.unc.edu
Wed Nov 29 13:02:51 EST 2000


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 *& == ::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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-developers/attachments/20001129/a22a6cdc/attachment.html>


More information about the Insight-developers mailing list