[vtkusers] cannot build vtk with mfc with windows 7
eanton at mycosmos.gr
eanton at mycosmos.gr
Mon Apr 19 06:24:36 EDT 2010
Hi. I am trying to build the vtk libraries with mfc support and i'm experiencing a few errors
I'm using windows 7 with vs 2008 and vtk 5.4.2 with cmake 2.8.1 x86
When i compile with no gui support they are built with no problem.
Below are the errors thrown during building. Does anyone know what i'm doing wrong.
The rest of the projects during all_build are built correctly with no errors.
Also another question: I want to build vtk with itk support.
>From what i read on other posts i need to set the flag in cmake for vtk_use_ansi_stdlib
but there is no such option during configuration even on the advanced options.
Maybe it comes with a different name in vtk 5.4.2? Or is it default?
Thanks a lot
22>------ Build started: Project: vtkNetCDF, Configuration: Release Win32 ------
22>Compiling...
22>attr.c
20>vtkOpenGLClipPlanesPainter.cxx
22>var.c
22>v2i.c
22>v1hpg.c
22>string.c
22>putget.c
20>vtkOpenGLCamera.cxx
22>ncx.c
22>posixio.c
22>nc.c
22>libvers.c
22>error.c
22>..\..\..\Users\eanton\Desktop\phd\vtk-5.4.2\Utilities\vtknetcdf\error.c(30) : error C2090: function returns array
22>dim.c
20>vtkOpenGLActor.cxx
22>Generating Code...
20>vtkOpaquePass.cxx
20>vtkGLSLShaderDeviceAdapter2.cxx
22>Build log was saved at "file://c:\vtk\Utilities\vtknetcdf\vtkNetCDF.dir\Release\BuildLog.htm"
22>vtkNetCDF - 1 error(s), 0 warning(s)
------------------------------
29>------ Build started: Project: vtkMFC, Configuration: Release Win32 ------
29>Compiling...
28>vtkIterativeClosestPointTransform.cxx
29>vtkMFCWindow.cpp
29>C:\Program Files\Microsoft SDKs\Windows\v6.0A\\include\sdkddkver.h(217) : fatal error C1189: #error : _WIN32_WINNT settings conflicts with _WIN32_IE setting
29>Build log was saved at "file://c:\vtk\GUISupport\MFC\vtkMFC.dir\Release\BuildLog.htm"
29>vtkMFC - 1 error(s), 0 warning(s)
-----------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100419/ddb5115d/attachment.htm>
More information about the vtkusers
mailing list