[vtk-developers] MFC being inadvertently included

Andrew Maclean andrew.amaclean at gmail.com
Sat Jul 21 02:32:12 EDT 2012


Hi All,

I have just built the latest clone of VTK 6 and it seems that MFC is being
included by default. Is there any reason for this or has it just
been inadvertently picked up in the dependency graph? The problem here is
that express editions of VS2010 do not contain afxwin.h hence the build
will fail when vtkMFCWindow.h is included in a build.

The problem is in:
Group Rendering modules:
vtkGeovisCore;vtkGUISupportMFC;vtkInteractionImage;vtkInteractionStyle;vtkInteractionWidgets;vtkRenderingAnnotation;vtkRenderingContext2D;vtkRenderingCore;vtkRenderingFreeType;vtkRenderingFreeTypeOpenGL;vtkRenderingHybridOpenGL;vtkRenderingImage;vtkRenderingLabel;vtkRenderingLOD;vtkRenderingOpenGL;vtkRenderingVolume;vtkRenderingVolumeOpenGL;vtkViewsContext2D;vtkViewsCore;vtkViewsGeovis;vtkViewsInfovis
....
 * vtkGUISupportMFC, needed by VTK_Group_Rendering.
....
* vtkInteractionStyle, needed by 22 modules:
        VTK_Group_Rendering
        vtkDomainsChemistry-Test-Cxx
        vtkFiltersExtraction-Test-Cxx
        vtkFiltersExtraction-Test-Tcl
        vtkFiltersHyperTree-Test-Cxx
        vtkGUISupportMFC
        vtkGUISupportQt
...

I definitely have not specified MFC in any of the CMake options.


Regards
   Andrew

-- 
___________________________________________
Andrew J. P. Maclean

___________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20120721/78c907e2/attachment.html>


More information about the vtk-developers mailing list