首先 设置环境变量
解决方案资源管理器 选中项目名字 而不是ALL_BUILD 选项卡 项目-属性
右侧 附加依赖项->编辑
kernel32.lib
user32.lib
gdi32.lib
winspool.lib
shell32.lib
ole32.lib
oleaut32.lib
uuid.lib
comdlg32.lib
advapi32.lib
D:vtk-binlibDebugvtkRenderingVolumeOpenGL2-7.0.lib
D:vtk-binlibDebugvtkRenderingOpenGL2-7.0.lib
D:vtk-binlibDebugvtkRenderingVolume-7.0.lib
D:vtk-binlibDebugvtkRenderingContextOpenGL2-7.0.lib
D:vtk-binlibDebugvtkRenderingLOD-7.0.lib
D:vtk-binlibDebugvtkRenderingImage-7.0.lib
D:vtk-binlibDebugvtkRenderingLabel-7.0.lib
D:vtk-binlibDebugvtkRenderingAnnotation-7.0.lib
D:vtk-binlibDebugvtkRenderingContext2D-7.0.lib
D:vtk-binlibDebugvtkRenderingFreeType-7.0.lib
D:vtk-binlibDebugvtkRenderingCore-7.0.lib
D:vtk-binlibDebugvtkCommonCore-7.0.lib
D:vtk-binlibDebugvtkCommonTransforms-7.0.lib
D:vtk-binlibDebugvtkCommonMath-7.0.lib
D:vtk-binlibDebugvtkCommonSystem-7.0.lib
D:vtk-binlibDebugvtkCommonExecutionModel-7.0.lib
D:vtk-binlibDebugvtkCommonComputationalGeometry-7.0.lib
D:vtk-binlibDebugvtkCommonColor-7.0.lib
D:vtk-binlibDebugvtkCommonDataModel-7.0.lib
D:vtk-binlibDebugvtkCommonMisc-7.0.lib
D:vtk-binlibDebugvtkalglib-7.0.lib
D:vtk-binlibDebugvtkChartsCore-7.0.lib
D:vtk-binlibDebugvtkDICOMParser-7.0.lib
D:vtk-binlibDebugvtkexpat-7.0.lib
D:vtk-binlibDebugvtkFiltersCore-7.0.lib
D:vtk-binlibDebugvtkFiltersExtraction-7.0.lib
D:vtk-binlibDebugvtkFiltersGeneral-7.0.lib
D:vtk-binlibDebugvtkFiltersGeometry-7.0.lib
D:vtk-binlibDebugvtkFiltersHybrid-7.0.lib
D:vtk-binlibDebugvtkFiltersImaging-7.0.lib
D:vtk-binlibDebugvtkFiltersModeling-7.0.lib
D:vtk-binlibDebugvtkFiltersParallel-7.0.lib
D:vtk-binlibDebugvtkFiltersSources-7.0.lib
D:vtk-binlibDebugvtkFiltersStatistics-7.0.lib
D:vtk-binlibDebugvtkfreetype-7.0.lib
D:vtk-binlibDebugvtkGeovisCore-7.0.lib
D:vtk-binlibDebugvtkImagingColor-7.0.lib
D:vtk-binlibDebugvtkImagingCore-7.0.lib
D:vtk-binlibDebugvtkImagingFourier-7.0.lib
D:vtk-binlibDebugvtkImagingGeneral-7.0.lib
D:vtk-binlibDebugvtkImagingHybrid-7.0.lib
D:vtk-binlibDebugvtkImagingMath-7.0.lib
D:vtk-binlibDebugvtkImagingMorphological-7.0.lib
D:vtk-binlibDebugvtkImagingSources-7.0.lib
D:vtk-binlibDebugvtkImagingStatistics-7.0.lib
D:vtk-binlibDebugvtkImagingStencil-7.0.lib
D:vtk-binlibDebugvtkInfovisCore-7.0.lib
D:vtk-binlibDebugvtkInfovisLayout-7.0.lib
D:vtk-binlibDebugvtkInteractionStyle-7.0.lib
D:vtk-binlibDebugvtkInteractionImage-7.0.lib
D:vtk-binlibDebugvtkInteractionWidgets-7.0.lib
D:vtk-binlibDebugvtkIOExport-7.0.lib
D:vtk-binlibDebugvtkIOGeometry-7.0.lib
D:vtk-binlibDebugvtkIOImage-7.0.lib
D:vtk-binlibDebugvtkIOLegacy-7.0.lib
D:vtk-binlibDebugvtkIOXML-7.0.lib
D:vtk-binlibDebugvtkIOXMLParser-7.0.lib
D:vtk-binlibDebugvtkjpeg-7.0.lib
D:vtk-binlibDebugvtkmetaio-7.0.lib
D:vtk-binlibDebugvtkParallelCore-7.0.lib
D:vtk-binlibDebugvtkpng-7.0.lib
D:vtk-binlibDebugvtkproj4-7.0.lib
D:vtk-binlibDebugvtksys-7.0.lib
D:vtk-binlibDebugvtkViewsContext2D-7.0.lib
D:vtk-binlibDebugvtkViewsCore-7.0.lib
D:vtk-binlibDebugvtkViewsInfovis-7.0.lib
D:vtk-binlibDebugvtktiff-7.0.lib
D:vtk-binlibDebugvtkzlib-7.0.lib
D:vtk-binlibDebugvtkGUISupportMFC-7.0.lib
启动的时候要在 解决方案资源管理器中的项目名字 右键->调试->启动新实例
D:VTK-7.0.0GUISupportMFC;D:vtk-binGUISupportMFC;D:vtk-binThirdPartyalglib;D:VTK-7.0.0ThirdPartyalglib;D:vtk-binChartsCore;D:VTK-7.0.0ChartsCore;D:vtk-binCommonColor;D:VTK-7.0.0CommonColor;D:vtk-binCommonDataModel;D:VTK-7.0.0CommonDataModel;D:vtk-binCommonMath;D:VTK-7.0.0CommonMath;D:vtk-binCommonCore;D:VTK-7.0.0CommonCore;D:vtk-binUtilitiesKWSys;D:VTK-7.0.0UtilitiesKWSys;D:vtk-binCommonMisc;D:VTK-7.0.0CommonMisc;D:vtk-binCommonSystem;D:VTK-7.0.0CommonSystem;D:vtk-binCommonTransforms;D:VTK-7.0.0CommonTransforms;D:vtk-binInfovisCore;D:VTK-7.0.0InfovisCore;D:vtk-binFiltersExtraction;D:VTK-7.0.0FiltersExtraction;D:vtk-binCommonExecutionModel;D:VTK-7.0.0CommonExecutionModel;D:vtk-binFiltersCore;D:VTK-7.0.0FiltersCore;D:vtk-binFiltersGeneral;D:VTK-7.0.0FiltersGeneral;D:vtk-binCommonComputationalGeometry;D:VTK-7.0.0CommonComputationalGeometry;D:vtk-binFiltersStatistics;D:VTK-7.0.0FiltersStatistics;D:vtk-binImagingFourier;D:VTK-7.0.0ImagingFourier;D:vtk-binImagingCore;D:VTK-7.0.0ImagingCore;D:vtk-binRenderingContext2D;D:VTK-7.0.0RenderingContext2D;D:vtk-binRenderingCore;D:VTK-7.0.0RenderingCore;D:vtk-binFiltersGeometry;D:VTK-7.0.0FiltersGeometry;D:vtk-binFiltersSources;D:VTK-7.0.0FiltersSources;D:vtk-binRenderingFreeType;D:VTK-7.0.0RenderingFreeType;D:vtk-binThirdPartyfreetype;D:VTK-7.0.0ThirdPartyfreetype;D:vtk-binThirdPartyzlib;D:VTK-7.0.0ThirdPartyzlib;D:vtk-binUtilitiesDICOMParser;D:VTK-7.0.0UtilitiesDICOMParser;D:vtk-binDomainsChemistry;D:VTK-7.0.0DomainsChemistry;D:vtk-binIOXML;D:VTK-7.0.0IOXML;D:vtk-binIOGeometry;D:VTK-7.0.0IOGeometry;D:vtk-binIOCore;D:VTK-7.0.0IOCore;D:vtk-binIOXMLParser;D:VTK-7.0.0IOXMLParser;D:vtk-binThirdPartyexpat;D:VTK-7.0.0ThirdPartyexpat;D:vtk-binDomainsChemistryOpenGL2;D:VTK-7.0.0DomainsChemistryOpenGL2;D:vtk-binRenderingOpenGL2;D:VTK-7.0.0RenderingOpenGL2;D:vtk-binImagingHybrid;D:VTK-7.0.0ImagingHybrid;D:vtk-binIOImage;D:VTK-7.0.0IOImage;D:vtk-binUtilitiesMetaIOvtkmetaio;D:vtk-binUtilitiesMetaIO;D:VTK-7.0.0UtilitiesMetaIO;D:vtk-binThirdPartyjpeg;D:VTK-7.0.0ThirdPartyjpeg;D:vtk-binThirdPartypng;D:VTK-7.0.0ThirdPartypng;D:vtk-binThirdParty iff;D:VTK-7.0.0ThirdParty iff;D:vtk-binUtilitiesEncodeString;D:VTK-7.0.0UtilitiesEncodeString;D:vtk-binThirdPartyglew;D:VTK-7.0.0ThirdPartyglew;D:vtk-binThirdPartyexodusII;D:VTK-7.0.0ThirdPartyexodusII;D:VTK-7.0.0ThirdParty etcdfvtknetcdfinclude;D:vtk-binThirdParty etcdfvtknetcdf;D:vtk-binThirdParty etcdf;D:VTK-7.0.0ThirdParty etcdf;D:vtk-binThirdPartyhdf5vtkhdf5;D:VTK-7.0.0ThirdPartyhdf5vtkhdf5hlsrc;D:VTK-7.0.0ThirdPartyhdf5vtkhdf5src;D:vtk-binThirdPartyhdf5;D:VTK-7.0.0ThirdPartyhdf5;D:vtk-binFiltersAMR;D:VTK-7.0.0FiltersAMR;D:vtk-binParallelCore;D:VTK-7.0.0ParallelCore;D:vtk-binIOLegacy;D:VTK-7.0.0IOLegacy;D:vtk-binUtilitiesHashSource;D:VTK-7.0.0UtilitiesHashSource;D:vtk-binFiltersFlowPaths;D:VTK-7.0.0FiltersFlowPaths;D:vtk-binFiltersGeneric;D:VTK-7.0.0FiltersGeneric;D:vtk-binFiltersHybrid;D:VTK-7.0.0FiltersHybrid;D:vtk-binImagingSources;D:VTK-7.0.0ImagingSources;D:vtk-binFiltersHyperTree;D:VTK-7.0.0FiltersHyperTree;D:vtk-binFiltersImaging;D:VTK-7.0.0FiltersImaging;D:vtk-binImagingGeneral;D:VTK-7.0.0ImagingGeneral;D:vtk-binFiltersModeling;D:VTK-7.0.0FiltersModeling;D:vtk-binFiltersParallel;D:VTK-7.0.0FiltersParallel;D:vtk-binFiltersParallelImaging;D:VTK-7.0.0FiltersParallelImaging;D:vtk-binFiltersProgrammable;D:VTK-7.0.0FiltersProgrammable;D:vtk-binFiltersSelection;D:VTK-7.0.0FiltersSelection;D:vtk-binFiltersSMP;D:VTK-7.0.0FiltersSMP;D:vtk-binFiltersTexture;D:VTK-7.0.0FiltersTexture;D:vtk-binFiltersVerdict;D:VTK-7.0.0FiltersVerdict;D:vtk-binThirdPartyverdict;D:VTK-7.0.0ThirdPartyverdict;D:vtk-binGeovisCore;D:VTK-7.0.0GeovisCore;D:vtk-binInfovisLayout;D:VTK-7.0.0InfovisLayout;D:vtk-binInteractionStyle;D:VTK-7.0.0InteractionStyle;D:vtk-binInteractionWidgets;D:VTK-7.0.0InteractionWidgets;D:vtk-binRenderingAnnotation;D:VTK-7.0.0RenderingAnnotation;D:vtk-binImagingColor;D:VTK-7.0.0ImagingColor;D:vtk-binRenderingVolume;D:VTK-7.0.0RenderingVolume;D:vtk-binViewsCore;D:VTK-7.0.0ViewsCore;D:VTK-7.0.0ThirdPartylibproj4vtklibproj4;D:vtk-binThirdPartylibproj4vtklibproj4;D:vtk-binThirdPartylibproj4;D:VTK-7.0.0ThirdPartylibproj4;D:vtk-binImagingMath;D:VTK-7.0.0ImagingMath;D:vtk-binImagingMorphological;D:VTK-7.0.0ImagingMorphological;D:vtk-binImagingStatistics;D:VTK-7.0.0ImagingStatistics;D:vtk-binImagingStencil;D:VTK-7.0.0ImagingStencil;D:vtk-binInteractionImage;D:VTK-7.0.0InteractionImage;D:vtk-binIOAMR;D:VTK-7.0.0IOAMR;D:vtk-binIOEnSight;D:VTK-7.0.0IOEnSight;D:vtk-binIOExodus;D:VTK-7.0.0IOExodus;D:vtk-binIOExport;D:VTK-7.0.0IOExport;D:vtk-binRenderingLabel;D:VTK-7.0.0RenderingLabel;D:vtk-binIOImport;D:VTK-7.0.0IOImport;D:vtk-binIOInfovis;D:VTK-7.0.0IOInfovis;D:vtk-binThirdPartylibxml2vtklibxml2;D:vtk-binThirdPartylibxml2;D:VTK-7.0.0ThirdPartylibxml2;D:vtk-binIOLSDyna;D:VTK-7.0.0IOLSDyna;D:vtk-binIOMINC;D:VTK-7.0.0IOMINC;D:vtk-binIOMovie;D:VTK-7.0.0IOMovie;D:vtk-binThirdPartyoggtheora;D:VTK-7.0.0ThirdPartyoggtheora;D:vtk-binIONetCDF;D:VTK-7.0.0IONetCDF;D:vtk-binIOParallel;D:VTK-7.0.0IOParallel;D:vtk-binThirdPartyjsoncpp;D:VTK-7.0.0ThirdPartyjsoncpp;D:vtk-binIOParallelXML;D:VTK-7.0.0IOParallelXML;D:vtk-binIOPLY;D:VTK-7.0.0IOPLY;D:vtk-binIOSQL;D:VTK-7.0.0IOSQL;D:vtk-binThirdPartysqlite;D:VTK-7.0.0ThirdPartysqlite;D:vtk-binIOVideo;D:VTK-7.0.0IOVideo;D:vtk-binRenderingContextOpenGL2;D:VTK-7.0.0RenderingContextOpenGL2;D:vtk-binRenderingImage;D:VTK-7.0.0RenderingImage;D:vtk-binRenderingLOD;D:VTK-7.0.0RenderingLOD;D:vtk-binRenderingVolumeOpenGL2;D:VTK-7.0.0RenderingVolumeOpenGL2;D:vtk-binTestingCore;D:VTK-7.0.0TestingCore;D:vtk-binTestingGenericBridge;D:VTK-7.0.0TestingGenericBridge;D:vtk-binTestingIOSQL;D:VTK-7.0.0TestingIOSQL;D:vtk-binTestingRendering;D:VTK-7.0.0TestingRendering;D:vtk-binViewsContext2D;D:VTK-7.0.0ViewsContext2D;D:vtk-binViewsInfovis;D:VTK-7.0.0ViewsInfovis;D:vtk-binThirdPartyhdf5vtkhdf5hlsrc;D:vtk-binThirdPartyhdf5vtkhdf5src;%(AdditionalIncludeDirectories)