<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hello, <DIV><BR class="khtml-block-placeholder"><DIV>I am having issues compiling paraview on an Intel MacBook Pro (10.4.7). I am trying to the compile the latest release (2.4.4) with cmake 2.2 (also tried cmake 2.4). I have been following the instructions and tips from other posts on this listing about compiling and installing PV on an intel mac, in particular I've tried these configurations:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><A href="http://www.paraview.org/Wiki/ParaView:FAQ#How_do_I_compile_ParaView_for_Mac_OS_X.3F">http://www.paraview.org/Wiki/ParaView:FAQ#How_do_I_compile_ParaView_for_Mac_OS_X.3F</A> (general mac configuration)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><A href="http://public.kitware.com/pipermail/paraview/2006-March/002717.html">http://public.kitware.com/pipermail/paraview/2006-March/002717.html</A> (Ivan Guajan's configuration, seems to be similar to general mac config)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><A href="http://public.kitware.com/pipermail/paraview/2006-May/002982.html">http://public.kitware.com/pipermail/paraview/2006-May/002982.html</A> (Randy Hudson's configuration)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I appear to be having a compile error that no one else has run into, or at least posted about. The error is:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">(14:10)/Users/romy/sw/paraview-2.4.4_BIN: make</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">-- Found existing Tcl, not rebuilding</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">-- Found existing Tk, not rebuilding</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Building C object VTK/Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/var.o</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">In file included from /Users/romy/sw/paraview-2.4.4/VTK/Utilities/vtknetcdf/nc.h:14,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> from /Users/romy/sw/paraview-2.4.4/VTK/Utilities/vtknetcdf/var.c:7:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#001CC3">/usr/lib/gcc/i686-apple-darwin8/4.0.1/include/stddef.h:152: error: two or more data types in declaration specifiers</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">make[2]: *** [VTK/Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/var.o] Error 1</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">make[1]: *** [VTK/Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/all] Error 2</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">make: *** [all] Error 2</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>A sampling of code in this system file (stddef.h) is here:</DIV><DIV><BR class="khtml-block-placeholder"></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; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">/* Define this type if we are doing the whole job,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> or if we want this type in particular. */</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#if defined (_STDDEF_H) || defined (__need_ptrdiff_t)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#ifndef _PTRDIFF_T /* in case <sys/types.h> has defined it. */</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#ifndef _T_PTRDIFF_</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#ifndef _T_PTRDIFF</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#ifndef __PTRDIFF_T</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#ifndef _PTRDIFF_T_</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#ifndef _BSD_PTRDIFF_T_</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#ifndef ___int_ptrdiff_t_h</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#ifndef _GCC_PTRDIFF_T</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#define _PTRDIFF_T</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#define _T_PTRDIFF_</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#define _T_PTRDIFF</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#define __PTRDIFF_T</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#define _PTRDIFF_T_</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#define _BSD_PTRDIFF_T_</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#define ___int_ptrdiff_t_h</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#define _GCC_PTRDIFF_T</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#ifndef __PTRDIFF_TYPE__</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#define __PTRDIFF_TYPE__ long int</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#endif</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#001CC3">typedef __PTRDIFF_TYPE__ ptrdiff_t;</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#endif /* _GCC_PTRDIFF_T */</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#endif /* ___int_ptrdiff_t_h */</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#endif /* _BSD_PTRDIFF_T_ */</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#endif /* _PTRDIFF_T_ */</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#endif /* __PTRDIFF_T */</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#endif /* _T_PTRDIFF */</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#endif /* _T_PTRDIFF_ */</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#endif /* _PTRDIFF_T */</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">/* If this symbol has done its job, get rid of it. */</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#undef __need_ptrdiff_t</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#endif /* _STDDEF_H or __need_ptrdiff_t. */</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; 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; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><BR></DIV><DIV>(the line in blue is line #152)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Just to check, I tried pointing to the stddef.h in my /usr/include directory (which is slightly different, I'm thinking it's the cc version), and I get the same error. My initial guess is that ptrdiff_t is being defined somewhere else, I suppose in Paraview, and therefore it's failing when it tries to redefine it here. I have compiled other programs with this gcc, so I don't think its a problem with that, but I am confused as to why no one else has run into this problem compiling PV on an Intel Mac. I am using the gcc (and cc) that came with the developer tools kit on the disc distributed with my mac, it appears to be version 4.0.1.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Any help or suggested fixes would be greatly appreciated, as I am stuck. </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thank you,</DIV><DIV>Romy Schneider</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><A href="mailto:romy@tacc.utexas.edu">romy@tacc.utexas.edu</A></DIV><DIV><BR class="khtml-block-placeholder"></DIV></DIV></BODY></HTML>