请问你们如何编译vtk的,我试了很多方法,都编译不过去,无法生成vtk.framework。
我用的xcode9, vtk8.1.1

解决方案 »

  1.   

    补充一下问题描述:使用Unix Makefile编译,make的时候总是提示"VTK not installed. Build the source then build the 'install' target."查看了一下,原因是# Make sure VTK is installed.
    if (NOT EXISTS "/Users/sunqiaobo/Desktop/vtk/vtk811bin/CMakeExternals/Install/vtk-ios-simulator/include/vtk-8.1")
      message(FATAL_ERROR
              "VTK not installed. Build the source then build the 'install' target.")
    endif()
    可是为什么编译器不会自动创建这几个文件夹呢?即使手动创建这几个文件夹,最终得到的vtk.framework也是0字节的文件,这几个文件夹里也没有任何文件拷贝或者下载进来。请教一下,这是什么原因?