<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
<div>Maybe is not so big deal, maybe it is just a stroke through some option ... which I didn't founded ...<br></div><div><br></div>
<div id="yahoo_quoted_4592728578" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Friday, September 01, 2017 01:41:17 PM EEST, Flaviu2 via vtkusers <vtkusers@vtk.org> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div id="yiv8529574330"><html><head></head><div><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></div></html></div>_______________________________________________<br>Powered by www.kitware.com<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>Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target=_blank>http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" target=_blank>http://markmail.org/search/?q=vtkusers</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://public.kitware.com/mailman/listinfo/vtkusers" target=_blank>http://public.kitware.com/mailman/listinfo/vtkusers</a><br></div>
</div>
</div></div></body></html>