<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><BR class="khtml-block-placeholder"></DIV>Hi,<DIV><BR class="khtml-block-placeholder"></DIV><DIV> I have been successfully using ITK for the past 6 months on mac and windows, but only recently did I have the need to make use of the b-spline fitting class. I am able to successfully use it on windows and get a good fit for my points. However, my code does not compile on Mac OS 10.4. First I had assumed that it had something to do with my usage, but now realize that merely including the header file causes compilation errors! Following is a minimal code that causes the errors, and the list of errors generated. Any ideas? Solutions? </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>OS: Mac OS 10.4</DIV><DIV>gcc: 3.3</DIV><DIV>ITK: 2.8</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>test.cpp:</DIV><DIV>-----------<BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "></SPAN></SPAN></DIV><BR></DIV><DIV>#include <itkNonUniformBSpline.h></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>int</DIV><DIV>main()</DIV><DIV>{</DIV><DIV> return 0;</DIV><DIV>}</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>gcc output:</DIV><DIV>---------------</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>In file included from /usr/local/include/InsightToolkit/Common/itkPoint.h:22,</DIV><DIV> from /usr/local/include/InsightToolkit/Common/itkNonUniformBSpline.h:28,</DIV><DIV> from test.cpp:1:</DIV><DIV>/usr/local/include/InsightToolkit/Common/itkNumericTraits.h:410: warning: use of `long double' type; its size may change in a future release</DIV><DIV>/usr/local/include/InsightToolkit/Common/itkNumericTraits.h:410: warning: (Long double usage is reported only once for each file.</DIV><DIV>/usr/local/include/InsightToolkit/Common/itkNumericTraits.h:410: warning: To disable this warning, use -Wno-long-double.)</DIV><DIV>In file included from test.cpp:1: </DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>/usr/local/include/InsightToolkit/Common/itkNonUniformBSpline.h: </DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                </SPAN>In static member function `static itk::SmartPointer<itk::NonUniformBSpline<TDimension> > itk::NonUniformBSpline<TDimension>::New()':</DIV><DIV>/usr/local/include/InsightToolkit/Common/itkNonUniformBSpline.h:71: error: parse error before `;' token</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks!</DIV><DIV>Amit</DIV><DIV><BR class="khtml-block-placeholder"></DIV></BODY></HTML>