VS2015下安装VTK7.0错误总结
2016-07-09 14:43
363 查看
初次接触VTK,把遇到的错误总结在此,希望对后来人有所帮助。
1、Cmake编译的时候提示如下错误:
CMake Error at CMakeLists.txt:4 (find_package):
Could not find a package configuration file provided by “VTK” with any of
the following names:
VTKConfig.cmake
vtk-config.cmake
Add the installation prefix of “VTK” to CMAKE_PREFIX_PATH or set “VTK_DIR”
to a directory containing one of the above files. If “VTK” provides a
separate development package or SDK, be sure it has been installed.
解决方法,在环境变量里添加VTK_DIR
1、Cmake编译的时候提示如下错误:
CMake Error at CMakeLists.txt:4 (find_package):
Could not find a package configuration file provided by “VTK” with any of
the following names:
VTKConfig.cmake
vtk-config.cmake
Add the installation prefix of “VTK” to CMAKE_PREFIX_PATH or set “VTK_DIR”
to a directory containing one of the above files. If “VTK” provides a
separate development package or SDK, be sure it has been installed.
解决方法,在环境变量里添加VTK_DIR
相关文章推荐
- Mac OS X中安装vtk时的错误解决
- 浅谈跨域中cookie和session的联系
- Xcode调试项目时取消弹出框提示授权
- Invocation of destroy method 'close' failed on bean with name 'sqlSession'
- PDO操作MySQL 执行写操作与读操作
- 集合的补充(Map)
- mysql绿色版首次安装初始密码问题
- tensorflow
- Linux系统入门学习书籍
- 1002. A+B for Polynomials
- Android adb 命令备忘
- 7.9模拟比赛解题报告
- Thinkphp框架的源码通读1
- VS2010项目升级到VS2015时出现的问题
- 谈谈浏览器的缓存过期时间
- JVM调优总结:分代垃圾回收详述
- 链表操作
- html css学习(1)
- 漫谈android系统(4)bring up panel
- 前景检测算法(九)--PBAS算法