VTK安装错误找不到libvtkCommonCore-6.3.so.1 [英] VTK install error cannot find libvtkCommonCore-6.3.so.1

查看:110
本文介绍了VTK安装错误找不到libvtkCommonCore-6.3.so.1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试安装VTK,但遇到以下错误

I'm trying to install VTK but I'm getting the following error

 CMake Error at Common/Core/cmake_install.cmake:47 (file):
    file INSTALL cannot find
  "/home/VTK-6.3.0/VTKBuild/lib/libvtkCommonCore-6.3.so.1".
  Call Stack (most recent call first):
  cmake_install.cmake:100 (include)

这些是我遵循的步骤

    cd VTKBuild
    cmake ..\
    -D"CMAKE_INSTALL_PREFIX:PATH=/home/VTK-6.3.0/VTKBuild" 
    make 
    make install

谁能指出我可能出了什么问题

Can anyone point me to what might be going wrong

推荐答案

我必须关闭共享库选项,这些是我用来构建VTK的配置

I had to turn off shared library option, these are the configuration I used to build VTK

mkdir VTKBuild
cd VTKBuild
cmake ..\
 -DCMAKE_INSTALL_PREFIX=/home/VTK-6.3.0/VTKBuild \
 -DBUILD_SHARED_LIBS:BOOL=OFF \
 -DCMAKE_BUILD_TYPE=Release \
 -DVTK_USE_SYSTEM_ZLIB:BOOL=ON


 make 
 make install

这篇关于VTK安装错误找不到libvtkCommonCore-6.3.so.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆