<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">So I built ITK with xcode and no shared libraries. Then ran the tests with the following results:<DIV><BR class="khtml-block-placeholder"><DIV>95% tests passed, 47 tests failed out of 885</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The following tests FAILED:</DIV><DIV>        202 - itkCenteredRigid2DTransformTest (Failed)</DIV><DIV>        215 - itkEuler2DTransformTest (Failed)</DIV><DIV>        318 - itkVectorImageTest (Failed)</DIV><DIV>        398 - itkInverseDeformationFieldImageFilterTest (Failed)</DIV><DIV>        399 - itkIterativeInverseDeformationFieldImageFilterTest (Failed)</DIV><DIV>        400 - itkDeformationFieldSourceTest (Failed)</DIV><DIV>        541 - itkConnectedComponentImageFilterTest (Failed)</DIV><DIV>        542 - itkConnectedComponentImageFilterTest2 (Failed)</DIV><DIV>        543 - itkConnectedComponentImageFilterTest3 (Failed)</DIV><DIV>        544 - itkMaskConnectedComponentImageFilterTest (Failed)</DIV><DIV>        545 - itkScalarConnectedComponentImageFilterTest (Failed)</DIV><DIV>        568 - itkTileImageFilterTest (Failed)</DIV><DIV>        569 - itkPushPopTileImageFilterTest (Failed)</DIV><DIV>        581 - itkVectorResampleImageFilterTest (Failed)</DIV><DIV>        631 - itkFEMRegistrationFilterTest (Failed)</DIV><DIV>        732 - itkVoronoiPartitioningImageFilterTest1 (Failed)</DIV><DIV>        733 - itkVoronoiPartitioningImageFilterTest2 (Failed)ccmake </DIV><DIV>        754 - itkTransformIOTest (Failed)</DIV><DIV>        760 - itkVectorImageReadWriteTest (Failed)</DIV><DIV>        761 - itkVectorImageReadWriteTest2 (Failed)</DIV><DIV>        764 - itkPolygonGroupSpatialObjectXMLFileTest (SEGFAULT)</DIV><DIV>        769 - itkLSMImageIOTest (Failed)</DIV><DIV>        771 - itkBMPImageIOTest (Failed)</DIV><DIV>        772 - itkBMPImageIOTest2 (Failed)</DIV><DIV>        778 - itkTIFFImageIOTest (Failed)</DIV><DIV>        779 - itkTIFFImageIOTest1 (Failed)</DIV><DIV>        780 - itkTIFFImageIOTest2 (Failed)</DIV><DIV>        781 - itkTIFFImageIOTest3 (Failed)</DIV><DIV>        782 - itkTIFFImageIOTest4 (Failed)</DIV><DIV>        783 - itkTIFFImageIOTest5 (Failed)</DIV><DIV>        784 - itkTIFFImageIOTest6 (Failed)</DIV><DIV>        785 - itkTIFFImageIOTest7 (Failed)</DIV><DIV>        786 - itkTIFFImageIOTest8 (Failed)</DIV><DIV>        787 - itkTIFFImageIOTest9 (Failed)</DIV><DIV>        788 - itkTIFFImageIOTest10 (Failed)</DIV><DIV>        792 - itkImageSeriesWriterTest (Failed)</DIV><DIV>        795 - itkPNGImageIOTest1 (Failed)</DIV><DIV>        796 - itkPNGImageIOTest2 (Failed)</DIV><DIV>        849 - itkNrrdRGBImageReadWriteTest0 (Failed)</DIV><DIV>        850 - itkNrrdRGBImageReadWriteTest1 (Failed)</DIV><DIV>        851 - itkNrrdRGBImageReadWriteTest2 (Failed)</DIV><DIV>        852 - itkNrrdRGBAImageReadWriteTest (Failed)</DIV><DIV>        856 - itkNrrdDiffusionTensor3DImageReadWriteTest (Failed)</DIV><DIV>        858 - itkNrrdComplexImageReadWriteTest (Failed)</DIV><DIV>        860 - itkNrrdVectorImageReadWriteTest (Failed)</DIV><DIV>        862 - itkNrrdCovariantVectorImageReadWriteTest (Failed)</DIV><DIV>        883 - itkSpatialObjectDuplicatorTest (SEGFAULT)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I think that this rules out that it is a linking problem or gcc versioning. I am going to work to get a nightly build submitted to the dashboard, so this problem is known. </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>On Jul 17, 2006, at 12:08 PM, Luis Ibanez wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hi Bradley,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Do you have any other versions of the GCC compiler installed</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">in your machine ?</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">It is very likely that you are building the application with a</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">different compiler that you use for building ITK, and therefore</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">the typeid signatures of the RGBPixel may be different, despite</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">that the typeid.name() is the same.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Also, are you building ITK as shared libraries ?</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">if yes, are you sure that you don't have old .so libraries in</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">your LD_LIBRARY_PATH that may be linking against your current</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">application ?</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Since the error is showing up at run time, it seems to indicate</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">a mistmatch between the configuration used for builgind the</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">ImageIOBase.cxx file, and the one used for building your current</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">application.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">BTW, Yes, we are missing an XCode nightly submission to the ITK</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Dashboard. It will be great if you can enable testing in your</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Xcode build of ITK and contribute a submission to the Dashboard.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">That will help a lot to identify the source of the problem. The</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">ITK test suite already includes about 10 different IO tests for</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">RGBPixel images.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space">  </SPAN>Please let us know what you find.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space">     </SPAN>Thanks</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space">        </SPAN>Luis</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">--------------------------</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Bradley Lowekamp wrote:</DIV> <BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">That is what it produced for both compilations when I tried it.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">On Jul 14, 2006, at 5:08 PM, Karthik Krishnan wrote:</DIV> <BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">What does<SPAN class="Apple-converted-space">  </SPAN>the following piece of code compiled on the ppc darwin with xcode<SPAN class="Apple-converted-space">  </SPAN>and with unix makefiles tell you ?</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#include "itkRGBPixel.h"</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#include &lt;iostream&gt;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">int main() { std::cout<SPAN class="Apple-converted-space">  </SPAN>&lt;&lt;<SPAN class="Apple-converted-space">  </SPAN>typeid(itk::RGBPixel&lt;unsigned char&gt;).name() &lt;&lt; std::endl; return 1; }</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Is it not "N3itk8RGBPixelIhEE" ?</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> </BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">========================================================</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Bradley Lowekamp<SPAN class="Apple-converted-space">  </SPAN>Management Systems Designers Contractor for</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Office of High Performance Computing and Communications</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">National Library of Medicine blowekamp@mail.nih.gov &lt;<A href="mailto:blowekamp@mail.nih.gov">mailto:blowekamp@mail.nih.gov</A>&gt;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">------------------------------------------------------------------------</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Insight-users mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:Insight-users@itk.org">Insight-users@itk.org</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</A></DIV> </BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> </BLOCKQUOTE></DIV><BR><DIV> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">========================================================</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Bradley Lowekamp <SPAN class="Apple-converted-space"> </SPAN></FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Management Systems Designers Contractor for</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Office of High Performance Computing and Communications</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">National Library of Medicine<SPAN class="Apple-converted-space"> </SPAN></FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica"><A href="mailto:blowekamp@mail.nih.gov">blowekamp@mail.nih.gov</A></FONT></P>  </DIV><BR></DIV></DIV></BODY></HTML>