VTKMY 3.3 VS 2010 Configuration 配置

简介:

Download VTKMY 3.3

Download VS2010

Download CMake 3.2.0

I assume you've already installed VS2010 and CMake 3.2.0 correctly.

Compile the VTKMY:

Start CMake 3.2.0, fill the source and destination:

source: C:/VTKMY/vtkMy-3.3

destination: C:/VTKMY/VS2010

Click Configure and use Visual Studio 10 2010 to complie.

When first configure is done, select Grouped and Advanced.

CMAKE_INSTALL_PREFIX    [C:/VTKMY/VS2010_install]  

click Configure again.

After configure is done (No errors show), click Generate.

Go back to your build folder, open VTKMY.sln, choose Release mode, right click ALL_BUILD, choose Rebuild.

Wait a long time for make process, have a cup of coffee :)

After rebuild is done, right click INSTALL, choose Build.

Now, the configuration is done, enjoy it :)

Create a new empty project,

Project->Project Property->Configuration Properties->VC++Directories ->Include Directories:

C:\VTKMY\VS2010_install\include\vtkMy
C:\VTKMY\VS2010_install\include\vtk
C:\VTKMY\vtkMy-3.3\Common
C:\VTKMY\vtkMy-3.3\FEM
C:\VTKMY\vtkMy-3.3\Hybrid
C:\VTKMY\vtkMy-3.3\Graphics
C:\VTKMY\vtkMy-3.3\Utilities\FastRBF
C:\VTKMY\vtkMy-3.3\Imaging
C:\VTKMY\vtkMy-3.3\IO
C:\VTKMY\vtkMy-3.3\SPMESHUtils

Project->Project Property->Configuration Properties->VC++Directories ->Library Directories:

C:\VTKMY\VS2010_install\lib\Release
C:\VTKMY\vtkMy-3.3\Utilities\FastRBF

Project->Project Property->Configuration Properties->Linker->Input:

ANN.lib
vtkmyCommon.lib
vtkmyFEM.lib
vtkmyGraphics.lib
vtkmyHybrid.lib
vtkmyImaging.lib
vtkmyIO.lib
vtkmySPMESHUtils.lib
fastrbf.lib

本文转自博客园Grandyang的博客,原文链接:Configuration 配置VTKMY 3.3 VS 2010 ,如需转载请自行联系原博主。

相关文章
|
6月前
|
Java 数据库连接 数据库
@Configuration大悟!
@Configuration大悟!
|
6月前
|
XML Java 数据格式
@Configuration的作用
@Configuration的作用
143 1
|
6月前
|
XML Java 数据格式
|
6月前
|
前端开发 NoSQL Java
SpringBoot中application.properties的常用配置
SpringBoot中application.properties的常用配置
|
XML Java 程序员
Spring启动报错--class path resource [Beans.xml] cannot be opened because it does not exist
程序员不是在去生产bug的路上,那就是在去解决bug的路上。🤣🤣🤣🤣
240 1
|
存储 缓存 NoSQL
SpringBoot2.0中application.properties配置文件的详解(二)
SpringBoot2.0中application.properties配置文件的详解(二)
252 0
|
Java Spring 数据格式
@Configuration和@Bean
@Configuration可理解为用spring的时候xml里面的 @Bean可理解为用spring的时候xml里面的 Spring Boot不是spring的加强版,所以@Configuration和@Bean同样可以用在普通的spring项目中,而不是Spring Boot特有的,只是在spr...
1340 0