[vtkusers] Compiling VTK on AIX 4.3 with xlC

William A. Hoffman billlist at nycap.rr.com
Mon Mar 3 11:24:29 EST 2003


This has been fixed in the most current cvs and release (4.2) VTK versions.

-Bill


At 04:45 PM 2/27/2003, John Norris wrote:
>Hi,
>
>I'm having trouble compiling nightly VTK under AIX using the native
>compilers.  One example is with vtkMath, in particular the function template
>vtkDeterminant3x3 defined in vtkMath.h.  When compiling vtkMath.cxx, I get
>the error shown below.  If I change line 566 in vtkMath.h from
>
>static inline double vtkDeterminant3x3(T A[3][3])
>
>to
>
>inline double vtkDeterminant3x3(T A[3][3])
>
>then it compiles fine.  I don't really want to search through VTK looking for
>all of the static inline functions, so I'm hoping that someone has experience
>with this and knows of a flag for xlC that'll fix this for me.  :^)
>
>Thanks,
>John
>
>
>
>"/home/ibmsp/jnorris/DEBUG/src/VTK_noGL/Common/vtkMath.cxx", line 1736.10: 1540-0274 (S) The name lookup for "vtkDeterminant3x3" did not find a declaration.
>"/home/ibmsp/jnorris/DEBUG/src/VTK_noGL/Common/vtkMath.cxx", line 1736.10: 1540-1292 (I) Static declarations are not considered for a function call if the function is not qualified.
>"/home/ibmsp/jnorris/DEBUG/src/VTK_noGL/Common/vtkMath.cxx", line 1671.13: 1540-0700 (I) The previous message was produced while processing "vtkOrthogonalize3x3<double,double>(const double (*)[3], double (*)[3])".
>"/home/ibmsp/jnorris/DEBUG/src/VTK_noGL/Common/vtkMath.cxx", line 1784.3: 1540-0700 (I) The previous message was produced while processing "vtkMath::Orthogonalize3x3(const double [3][3], double [3][3])".
>"/home/ibmsp/jnorris/DEBUG/src/VTK_noGL/Common/vtkMath.cxx", line 1736.10: 1540-0274 (S) The name lookup for "vtkDeterminant3x3" did not find a declaration.
>"/home/ibmsp/jnorris/DEBUG/src/VTK_noGL/Common/vtkMath.cxx", line 1736.10: 1540-1292 (I) Static declarations are not considered for a function call if the function is not qualified.
>"/home/ibmsp/jnorris/DEBUG/src/VTK_noGL/Common/vtkMath.cxx", line 1671.13: 1540-0700 (I) The previous message was produced while processing "vtkOrthogonalize3x3<float,float>(const float (*)[3], float (*)[3])".
>"/home/ibmsp/jnorris/DEBUG/src/VTK_noGL/Common/vtkMath.cxx", line 1779.3: 1540-0700 (I) The previous message was produced while processing "vtkMath::Orthogonalize3x3(const float [3][3], float [3][3])".
>
>-- 
>John Norris
>Research Programmer
>Center for Simulation of Advanced Rockets
>http://www.uiuc.edu/ph/www/jnorris
>_______________________________________________
>This is the private VTK discussion list. 
>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers 





More information about the vtkusers mailing list