<div dir="ltr"><div><div><div><div>Hello vtkusers,<br><br></div>I've recently built binaries for VTK 5.8.0 for Windows 8 (64 bits) using Visual Studio 11, and I'd like to share my experience, in case you meet the same problems.<br>
<br></div>In order to be able to workaround build problems, we introduced minor changes (ie. extensions) to a couple of source files:<br><br></div>* Rendering\<b>vtkMapArrayValues.cxx</b><br></div><div><div><pre style="font-family:Consolas;color:black;background:none repeat scroll 0% 0% white">
<span style="color:blue">#ifdef</span> <span style="color:rgb(111,0,138)">_WINDOWS</span>
<span style="color:blue">#include</span> <span style="color:rgb(163,21,21)"><functional></span> <span style="color:green">// Addendum for vs11 to find 'greater'</span>
<span style="color:blue">#endif<br></span></pre><pre style="font-family:Consolas;color:black;background:none repeat scroll 0% 0% white"><span style="color:blue"><br>void</span> <span style="color:rgb(43,145,175)">vtkMapArrayValues</span>::AddToMap(<span style="color:rgb(43,145,175)">vtkVariant</span> <span style="color:gray">from</span>, <span style="color:rgb(43,145,175)">vtkVariant</span> <span style="color:gray">to</span>)
{
<span style="color:blue">#ifdef</span> <span style="color:rgb(111,0,138)">_WINDOWS</span>
<span style="color:blue">this</span>->Map->insert(<span style="color:rgb(111,0,138)">vtkstd</span>::make_pair(<span style="color:gray">from</span>, <span style="color:gray">to</span>)); <span style="color:green">// Addendum</span>
<span style="color:blue">#else</span>
<span style="color:blue">this</span>->Map->insert(vtkstd::make_pair< vtkVariant, vtkVariant >(from, to));
<span style="color:blue">#endif</span>
<span style="color:blue">this</span>->Modified();
}<br></pre><div><div><div>* Infovis\<b>vtkAdjacencyMatrixToEdgeTable.cxx</b><br><pre style="font-family:Consolas;color:black;background:none repeat scroll 0% 0% white"><span style="color:blue">#ifdef</span> <span style="color:rgb(111,0,138)">_WINDOWS</span>
<span style="color:blue">#include</span> <span style="color:rgb(163,21,21)"><functional></span> <span style="color:green">// Alma IT Systems addendum for vs11 to find 'greater'</span>
<span style="color:blue">#endif<br><br></span><br>Hope this helps.<br></pre><pre style="font-family:Consolas;color:black;background:none repeat scroll 0% 0% white">Best, Frederic<br></pre></div></div></div></div></div></div>