博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
VTKMY 3.3 VS 2010 Configuration 配置
阅读量:5333 次
发布时间:2019-06-15

本文共 1598 字,大约阅读时间需要 5 分钟。

 

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

转载于:https://www.cnblogs.com/grandyang/p/5143922.html

你可能感兴趣的文章
jmeter(五)创建web测试计划
查看>>
python基本数据类型
查看>>
1305: [CQOI2009]dance跳舞 - BZOJ
查看>>
关于TDD的思考
查看>>
Cocos2d-x学习之windows 7 android环境搭建
查看>>
将html代码中的大写标签转换成小写标签
查看>>
jmeter多线程组间的参数传递
查看>>
零散笔记
查看>>
第1章2节《MonkeyRunner源码剖析》概述:边界(原创)
查看>>
ubuntu16下面 redis 无法链接到客户端问题
查看>>
android下实现4分屏播放4路高清h264格式的rtsp流
查看>>
[计算机网络] vsftpd的安装与使用
查看>>
【源代码】LinkedList源代码分析
查看>>
Cocostudio学习笔记(4) LoadingBar+ TextField
查看>>
cxf和jboss eap 6.2版本号冲突
查看>>
ORACLE触发器具体解释
查看>>
IOS开发之SVN的使用
查看>>
Python学习之元组
查看>>
第三次作业
查看>>
quartz多任务调度+spring 实现
查看>>