Building VTK 5.8.0 for Windows 8 (64 bits), Visual Studio 11

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Building VTK 5.8.0 for Windows 8 (64 bits), Visual Studio 11

Frederic Perez-3
Hello vtkusers,

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.

In order to be able to workaround build problems, we introduced minor changes (ie. extensions) to a couple of source files:

* Rendering\vtkMapArrayValues.cxx

#ifdef _WINDOWS
  #include <functional> // Addendum for vs11 to find 'greater'
#endif

void
 vtkMapArrayValues::AddToMap(vtkVariant fromvtkVariant to) { #ifdef _WINDOWS   this->Map->insert(vtkstd::make_pair(fromto)); // Addendum #else   this->Map->insert(vtkstd::make_pair< vtkVariant, vtkVariant >(from, to)); #endif   this->Modified(); }
* Infovis\vtkAdjacencyMatrixToEdgeTable.cxx
#ifdef _WINDOWS
  #include <functional> // Alma IT Systems addendum for vs11 to find 'greater'
#endif


Hope this helps.
Best,  Frederic

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers