Did your build use gcc-4.0 or gcc-4.2? I don't think we have a Leopard build of ParaView, just Tiger (dasmacmini2) and Snow Leopard (dashmacmini4).<br><br><div class="gmail_quote">On Tue, May 4, 2010 at 11:35 AM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">So the following patch seemed to fix the issue. The question is why and why now?<br>
<br>
--------------------------------------------------------<br>
diff --git a/Common/vtkDataArrayTemplate.h b/Common/vtkDataArrayTemplate.h<br>
index f562810..2eea9f3 100644<br>
--- a/Common/vtkDataArrayTemplate.h<br>
+++ b/Common/vtkDataArrayTemplate.h<br>
@@ -27,7 +27,7 @@ template <class T><br>
class vtkDataArrayTemplateLookup;<br>
<br>
template <class T><br>
-class vtkDataArrayTemplate: public vtkDataArray<br>
+class VTK_COMMON_EXPORT vtkDataArrayTemplate: public vtkDataArray<br>
{<br>
public:<br>
typedef vtkDataArray Superclass;<br>
diff --git a/Filtering/vtkImageIterator.h b/Filtering/vtkImageIterator.h<br>
index a14d97e..79307cc 100644<br>
--- a/Filtering/vtkImageIterator.h<br>
+++ b/Filtering/vtkImageIterator.h<br>
@@ -27,7 +27,7 @@<br>
class vtkImageData;<br>
<br>
template<class DType><br>
-class vtkImageIterator<br>
+class VTK_FILTERING_EXPORT vtkImageIterator<br>
{<br>
public:<br>
typedef DType *SpanIterator;<br>
diff --git a/Filtering/vtkImageProgressIterator.h<br>
b/Filtering/vtkImageProgressIterator.h<br>
index 248e30b..1e4e2af 100644<br>
--- a/Filtering/vtkImageProgressIterator.h<br>
+++ b/Filtering/vtkImageProgressIterator.h<br>
@@ -27,7 +27,7 @@<br>
class vtkAlgorithm;<br>
<br>
template<class DType><br>
-class vtkImageProgressIterator : public vtkImageIterator<DType><br>
+class VTK_FILTERING_EXPORT vtkImageProgressIterator : public<br>
vtkImageIterator<DType><br>
{<br>
public:<br>
typedef vtkImageIterator<DType> Superclass;<br>
--------------------------------------------------------<br>
Utkarsh<br>
<br>
<br>
<br>
<br>
On Mon, May 3, 2010 at 7:30 PM, Francois Bertel<br>
<<a href="mailto:francois.bertel@kitware.com">francois.bertel@kitware.com</a>> wrote:<br>
> No error for me on Snow Leopard (10.6.3), xcode 3.2.2<br>
<div><div></div><div class="h5">><br>
> On Sun, May 2, 2010 at 5:19 PM, Utkarsh Ayachit<br>
> <<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>> wrote:<br>
>> Oddly, I am getting errors when building on my Mac (64 bit Leopard).<br>
>><br>
>> Linking CXX shared library ../../bin/libvtkFiltering.dylib<br>
>> Undefined symbols:<br>
>> "vtkDataArrayTemplate<unsigned char>::InsertValue(int, unsigned<br>
>> char)", referenced from:<br>
>> vtkUnsignedCharArray::InsertValue(int, unsigned char)in vtkCellTypes.cxx.o<br>
>> "vtkDataArrayTemplate<double>::InsertNextValue(double)", referenced from:<br>
>> vtkDoubleArray::InsertNextValue(double) in vtkImplicitSum.cxx.o<br>
>> "vtkDataArrayTemplate<int>::InsertValue(int, int)", referenced from:<br>
>> vtkIntArray::InsertValue(int, int)in vtkCellLocator.cxx.o<br>
>> vtkIntArray::InsertValue(int, int)in vtkCellTypes.cxx.o<br>
>> vtkIdTypeArray::InsertValue(int, int)in vtkOrderedTriangulator.cxx.o<br>
>> vtkIdTypeArray::InsertValue(int, int)in vtkTriangleStrip.cxx.o<br>
>> "vtkDataArrayTemplate<unsigned char>::WritePointer(int, int)",<br>
>> referenced from:<br>
>> vtkUnsignedCharArray::WritePointer(int, int)in<br>
>> vtkDiscretizableColorTransferFunction.cxx.o<br>
>> "vtkDataArrayTemplate<int>::LookupValue(int)", referenced from:<br>
>> vtkGraph::GetInducedEdges(vtkIdTypeArray*, vtkIdTypeArray*)in<br>
>> vtkGraph.cxx.o<br>
>> vtkGraph::GetInducedEdges(vtkIdTypeArray*, vtkIdTypeArray*)in<br>
>> vtkGraph.cxx.o<br>
>> "vtkDataArrayTemplate<int>::SetNumberOfValues(int)", referenced from:<br>
>><br>
>> Any ideas?<br>
>><br>
>> Utkarsh<br>
>> _______________________________________________<br>
>> Paraview-developers mailing list<br>
>> <a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a><br>
>> <a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
>><br>
><br>
><br>
><br>
</div></div>> --<br>
> François Bertel, PhD | Kitware Inc. Suite 204<br>
> 1 (518) 371 3971 x113 | 28 Corporate Drive<br>
> | Clifton Park NY 12065, USA<br>
><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</blockquote></div><br>