<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div>Hi VTK users. I encountered an strange error, willing to compile my MFC project which have VTK inside.</div><div><br></div><div>I am using VTK 6.1, in an VS2008 project, on Win10. </div><div><br></div><div>The project work fine compiled on 32 bit, with VTK 6.1 compiled on 32 bit. Soon as I have compiled my project on 64 bit (and also VTK on 64), I get the following errors:</div><div><font color="#9d1811"><br></font></div><div><font color="#9d1811">1>MainFrm.cpp<br>1>c:\program files\vtk\include\vtk-6.1\vtkDataArrayTemplate.txx(478) : error C2589: '(' : illegal token on right side of '::'<br>1> c:\program files\vtk\include\vtk-6.1\vtkDataArrayTemplate.txx(454) : while compiling class template member function 'void vtkDataArrayTemplate<T>::InsertTuples(vtkIdList *,vtkIdList *,vtkAbstractArray *)'<br>1> with<br>1> [<br>1> T=unsigned char<br>1> ]<br>1> c:\program files\vtk\include\vtk-6.1\vtkUnsignedCharArray.h(41) : see reference to class template instantiation 'vtkDataArrayTemplate<T>' being compiled<br>1> with<br>1> [<br>1> T=unsigned char<br>1> ]<br>1>c:\program files\vtk\include\vtk-6.1\vtkDataArrayTemplate.txx(478) : error C2059: syntax error : '::'<br>1>c:\program files\vtk\include\vtk-6.1\vtkDataArrayTemplate.txx(478) : error C2589: '(' : illegal token on right side of '::'<br>1> c:\program files\vtk\include\vtk-6.1\vtkDataArrayTemplate.txx(454) : while compiling class template member function 'void vtkDataArrayTemplate<T>::InsertTuples(vtkIdList *,vtkIdList *,vtkAbstractArray *)'<br>1> with<br>1> [<br>1> T=int<br>1> ]<br>1> c:\program files\vtk\include\vtk-6.1\vtkIntArray.h(41) : see reference to class template instantiation 'vtkDataArrayTemplate<T>' being compiled<br>1> with<br>1> [<br>1> T=int<br>1> ]<br>1>c:\program files\vtk\include\vtk-6.1\vtkDataArrayTemplate.txx(478) : error C2059: syntax error : '::'</font><br></div><div><br></div><div>Do you experienced with this error ? Or, can you tell me what if the cause of this strange error ? And how can I solve this ?</div><div><br></div><div>Thank you.</div><div><br></div></div></body></html>