<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hi All,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>I wonder if anyone else is seeing this compile error</DIV><DIV>when trying to build universal binaries for ITK on OSX</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I am running the build on an 8 core Mac Pro Intel Xeon,</DIV><DIV>with </DIV><DIV>CMAKE_OSX_ARCHITECTURES set to ppc;i386</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>ITK 3.2.0 release from webpage (not CVS, but this also happens with CVS version)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>and indeed universal dynamic libs are being created</DIV><DIV>with i386 and pcc binaries i them (i can check using the file command)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>but... when it gets to compiling itkopenjpeg</DIV><DIV>i get a cryptic error, see below</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>If  CMAKE_OSX_ARCHITECTURES is set to i386</DIV><DIV>there is no error.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>has anyone else seen this happening?</DIV><DIV>Does it happen on a native PPC build on a PPC machine (i done have one handy)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I managed to make a universal ITK build from ITK 3.2.0 a while ago</DIV><DIV>so I'm confused as to why i now get this error..... maybe its OSX 10.4.10 ....?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>let me know if you have any ideas....</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>cheers</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Dan</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>[ 22%] Building C object Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/bio.o</DIV><DIV>In file included from /Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/opj_includes.h:49,</DIV><DIV>                 from /Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/bio.c:31:</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:189: error: parse error before 'bool'</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:189: warning: no semicolon at end of struct or union</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:252: error: 'index' redeclared as different kind of symbol</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:266: error: parse error before '}' token</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:266: warning: data definition has no type or storage class</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:316: error: parse error before 'bool'</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:316: warning: no semicolon at end of struct or union</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:321: error: parse error before '}' token</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:321: warning: data definition has no type or storage class</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:323: error: parse error before '*' token</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:323: warning: data definition has no type or storage class</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:330: error: parse error before 'bool'</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:330: warning: no semicolon at end of struct or union</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:332: error: parse error before '}' token</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:332: warning: data definition has no type or storage class</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:339: error: parse error before 'bool'</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:339: warning: no semicolon at end of struct or union</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:341: error: parse error before '}' token</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:341: warning: data definition has no type or storage class</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:362: error: parse error before 'opj_common_ptr'</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:362: warning: no semicolon at end of struct or union</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:377: error: parse error before '}' token</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:377: warning: data definition has no type or storage class</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:510: error: parse error before '*' token</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:510: error: parse error before 'cinfo'</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:510: warning: data definition has no type or storage class</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:516: error: parse error before '*' token</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:523: error: parse error before '*' token</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:529: error: parse error before '*' token</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:537: error: parse error before 'cinfo'</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:549: error: parse error before '*' token</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:549: warning: data definition has no type or storage class</DIV><DIV>/Users/admin/InsightToolkit-3.2.0/Utilities/openjpeg/openjpeg.h:554: error: parse error before '*' token</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>etc. etc.  etc.... for another hundred or so lines....</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 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; "><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Dr. Daniel James White BSc. (Hons.) PhD</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Senior Microscopist / Image Processing and Analysis</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Light Microscopy Facility</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Max Planck Institute of Molecular Cell Biology and Genetics</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Pfotenhauerstrasse 108</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">01307 DRESDEN</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Germany</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; ">+49 (0) 177 9 68 27 81 (German Mobile)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">+49  (0) 351 210 2627 (Work phone at<SPAN class="Apple-converted-space"> </SPAN>MPI-CBG)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">+49  (0) 351 210 1078 (Fax MPI-CBG LMF)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">+358 (0) 468102840 (Finnish mobile, only when I'm in Finland)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://www.bioimagexd.net">http://www.bioimagexd.net</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://www.chalkie.org.uk">http://www.chalkie.org.uk</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:dan@chalkie.org.uk">dan@chalkie.org.uk</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">( <A href="mailto:white@mpi-cbg.de">white@mpi-cbg.de</A> )</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR class="khtml-block-placeholder"></DIV><BR class="Apple-interchange-newline"></SPAN></SPAN></SPAN></SPAN> </DIV><BR></DIV></BODY></HTML>